| Package | Description |
|---|---|
| com.atlassian.gadgets.spec |
Contains classes related to Gadgets' Specification XML.
|
| com.atlassian.gadgets.view |
Contains classes related to the rendering and display of gadgets.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GadgetSpec.supportsViewType(ViewType viewType)
Check if a particular view is supported in this spec
|
| Modifier and Type | Field and Description |
|---|---|
static ViewType |
ViewType.CANVAS |
static ViewType |
ViewType.DEFAULT |
static ViewType |
ViewType.DIRECTORY |
| Modifier and Type | Method and Description |
|---|---|
static ViewType |
ViewType.createViewType(String name,
String... aliases)
Creates a
ViewType with the given canonical name and optional aliases. |
ViewType |
View.getViewType()
Returns the
ViewType of this gadget which will be rendered. |
static ViewType |
ViewType.valueOf(String value)
Returns the
ViewType associated with the value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GadgetViewFactory.canRenderInViewType(GadgetState state,
ViewType viewType,
GadgetRequestContext gadgetRequestContext)
Returns
true if the gadget represented by state can be rendered with the given ViewType for
the locale specified in the GadgetRequestContext. |
static boolean |
ViewType.removeViewType(ViewType viewType)
Removes a
ViewType. |
View.Builder |
View.Builder.viewType(ViewType viewType)
Sets the
ViewType to use |
Copyright © 2024 Atlassian. All rights reserved.