Package com.atlassian.gadgets.view
Class View
java.lang.Object
com.atlassian.gadgets.view.View
- All Implemented Interfaces:
Serializable
Models information the renderer needs to know about a gadget to render it properly.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns theViewTypeof this gadget which will be rendered.booleanReturns true if the viewer is allowed to make changes to the gadget state.Returns an unmodifiableMapof all view parameters.
-
Field Details
-
DEFAULT
DefaultView, which uses the defaultViewTypeand is writable. -
DIRECTORY
-
-
Method Details
-
getViewType
Returns theViewTypeof this gadget which will be rendered.- Returns:
- the
ViewTypeto render
-
isWritable
public boolean isWritable()Returns true if the viewer is allowed to make changes to the gadget state.- Returns:
- true if the viewer is allowed to make changes
-
paramsAsMap
Returns an unmodifiableMapof all view parameters.- Returns:
- an unmodifiable
Mapof all view parameters
-