| 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 |
|---|---|
GadgetSpec |
GadgetSpecFactory.getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
Create a
GadgetSpec from a GadgetState |
GadgetSpec |
GadgetSpecFactory.getGadgetSpec(URI uri,
GadgetRequestContext gadgetRequestContext)
Create a
GadgetSpec from a spec URI |
| 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. |
ViewComponent |
GadgetViewFactory.createGadgetView(GadgetState state,
ModuleId moduleId,
View view,
GadgetRequestContext gadgetRequestContext)
Returns a
ViewComponent that will render the GadgetState, customizing the view based on the
Locale specified in the GadgetRequestContext and the desired ViewType. |
ViewComponent |
GadgetViewFactory.createGadgetView(GadgetState state,
View view,
GadgetRequestContext gadgetRequestContext)
|
Copyright © 2024 Atlassian. All rights reserved.