|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.view.View
@Immutable public final class View
Models information the renderer needs to know about a gadget to render it properly.
| Nested Class Summary | |
|---|---|
static class |
View.Builder
Builder for View. |
| Field Summary | |
|---|---|
static View |
DEFAULT
Default View, which uses the default ViewType and
is writable. |
| Method Summary | |
|---|---|
ViewType |
getViewType()
Returns the ViewType of this gadget which will be rendered. |
boolean |
isWritable()
Returns true if the viewer is allowed to make changes to the gadget state. |
Map<String,String> |
paramsAsMap()
Returns an unmodifiable Map of all view parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final View DEFAULT
View, which uses the default ViewType and
is writable.
| Method Detail |
|---|
public ViewType getViewType()
ViewType of this gadget which will be rendered.
ViewType to renderpublic boolean isWritable()
public Map<String,String> paramsAsMap()
Map of all view parameters.
Map of all view parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||