|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GadgetState | |
|---|---|
| com.atlassian.gadgets | This package contains the main APIs for interacting with gadgets. |
| com.atlassian.gadgets.dashboard | This package contains the main APIs for interacting with dashboards and gadgets. |
| com.atlassian.gadgets.dashboard.internal | |
| com.atlassian.gadgets.dashboard.internal.impl | |
| com.atlassian.gadgets.embedded.internal | Handles construction of gadget <iframes>, rendering, and URLs to Shindig's gadget rendering servlet. |
| com.atlassian.gadgets.refimpl | Provides an implementation of the SPI for the refapp. |
| com.atlassian.gadgets.renderer.internal | |
| com.atlassian.gadgets.spec | Contains classes related to Gadgets' Specification XML. |
| com.atlassian.gadgets.spi | Contains the service provider interfaces (SPIs) that host applications must implement in order to use the dashboard plugin(s). |
| com.atlassian.gadgets.spi.changes | |
| com.atlassian.gadgets.view | Contains classes related to the rendering and display of gadgets. |
| Uses of GadgetState in com.atlassian.gadgets |
|---|
| Methods in com.atlassian.gadgets that return GadgetState | |
|---|---|
GadgetState |
GadgetState.Builder.build()
Returns the final constructed GadgetState |
| Methods in com.atlassian.gadgets with parameters of type GadgetState | |
|---|---|
static GadgetState.Builder |
GadgetState.gadget(GadgetState state)
Factory method which allows you to create a new GadgetState object based on an existing
GadgetState. |
| Constructors in com.atlassian.gadgets with parameters of type GadgetState | |
|---|---|
GadgetState.Builder(GadgetState state)
|
|
| Uses of GadgetState in com.atlassian.gadgets.dashboard |
|---|
| Methods in com.atlassian.gadgets.dashboard that return types with arguments of type GadgetState | |
|---|---|
Iterable<? extends Iterable<GadgetState>> |
DashboardState.getColumns()
Returns an immutable Iterable of the columns in this DashboardState (which contain the
GadgetStates). |
Iterable<GadgetState> |
DashboardState.getGadgetsInColumn(DashboardState.ColumnIndex column)
Returns an immutable Iterable of the GadgetStates in the given column. |
| Methods in com.atlassian.gadgets.dashboard with parameters of type GadgetState | |
|---|---|
DashboardState |
DashboardState.appendGadgetToColumn(GadgetState gadgetState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as this, except that the column with index
index has had a new gadget added to its bottom |
DashboardState |
DashboardState.prependGadgetToColumn(GadgetState gadgetState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as this, except that the column with index
index has had a new gadget added to its top |
| Method parameters in com.atlassian.gadgets.dashboard with type arguments of type GadgetState | |
|---|---|
DashboardState.Builder |
DashboardState.Builder.columns(Iterable<? extends Iterable<GadgetState>> columns)
Set the columns of the DashboardState under construction and return this Builder
to allow further construction to be done. |
| Uses of GadgetState in com.atlassian.gadgets.dashboard.internal |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal that return GadgetState | |
|---|---|
GadgetState |
Gadget.getState()
|
| Methods in com.atlassian.gadgets.dashboard.internal with parameters of type GadgetState | |
|---|---|
Gadget |
StateConverter.convertStateToGadget(GadgetState state,
GadgetRequestContext gadgetRequestContext)
Creates a Gadget from a GadgetState |
Gadget |
GadgetFactory.createGadget(GadgetState state,
GadgetRequestContext gadgetRequestContext)
|
| Uses of GadgetState in com.atlassian.gadgets.dashboard.internal.impl |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal.impl that return GadgetState | |
|---|---|
GadgetState |
GadgetImpl.getState()
|
| Methods in com.atlassian.gadgets.dashboard.internal.impl with parameters of type GadgetState | |
|---|---|
Gadget |
StateConverterImpl.convertStateToGadget(GadgetState state,
GadgetRequestContext gadgetRequestContext)
|
Gadget |
GadgetFactoryImpl.createGadget(GadgetState state,
GadgetRequestContext gadgetRequestContext)
Constructs a Gadget instance from the specified GadgetState. |
| Constructors in com.atlassian.gadgets.dashboard.internal.impl with parameters of type GadgetState | |
|---|---|
GadgetImpl(GadgetState state,
GadgetSpec gadgetSpec)
Constructor. |
|
GadgetImpl(GadgetState stateOnLoadAttempt,
String errorMessage)
Constructor used by the dashboard when there is an error loading the gadget. |
|
| Uses of GadgetState in com.atlassian.gadgets.embedded.internal |
|---|
| Methods in com.atlassian.gadgets.embedded.internal with parameters of type GadgetState | |
|---|---|
URI |
GadgetUrlBuilder.build(GadgetState gadget,
View view,
GadgetRequestContext gadgetRequestContext)
Returns the URL to the rendered gadget. |
boolean |
GadgetViewFactoryImpl.canRenderInViewType(GadgetState state,
ViewType viewType,
GadgetRequestContext gadgetRequestContext)
|
ViewComponent |
GadgetViewFactoryImpl.createGadgetView(GadgetState state,
View view,
GadgetRequestContext gadgetRequestContext)
|
| Uses of GadgetState in com.atlassian.gadgets.refimpl |
|---|
| Methods in com.atlassian.gadgets.refimpl that return GadgetState | |
|---|---|
GadgetState |
GadgetStateFactoryImpl.createGadgetState(URI gadgetSpecUri)
Creates a new GadgetState instance from the specified spec URI, using the next available unique ID. |
| Uses of GadgetState in com.atlassian.gadgets.renderer.internal |
|---|
| Methods in com.atlassian.gadgets.renderer.internal with parameters of type GadgetState | |
|---|---|
GadgetSpec |
GadgetSpecFactoryImpl.getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
|
String |
SecurityTokenFactoryImpl.newSecurityToken(GadgetState state,
String viewer)
|
| Uses of GadgetState in com.atlassian.gadgets.spec |
|---|
| Methods in com.atlassian.gadgets.spec with parameters of type GadgetState | |
|---|---|
GadgetSpec |
GadgetSpecFactory.getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
Create a GadgetSpec from a GadgetState |
| Uses of GadgetState in com.atlassian.gadgets.spi |
|---|
| Methods in com.atlassian.gadgets.spi that return GadgetState | |
|---|---|
GadgetState |
GadgetStateFactory.createGadgetState(URI gadgetSpecUri)
Constructs a new GadgetState instance for the specified gadget spec URI. |
| Uses of GadgetState in com.atlassian.gadgets.spi.changes |
|---|
| Methods in com.atlassian.gadgets.spi.changes that return GadgetState | |
|---|---|
GadgetState |
AddGadgetChange.getState()
Get the state of the gadget being added |
| Constructors in com.atlassian.gadgets.spi.changes with parameters of type GadgetState | |
|---|---|
AddGadgetChange(GadgetState state,
DashboardState.ColumnIndex columnIndex,
int rowIndex)
|
|
| Uses of GadgetState in com.atlassian.gadgets.view |
|---|
| Methods in com.atlassian.gadgets.view that return GadgetState | |
|---|---|
GadgetState |
GadgetRenderingException.getGadgetState()
|
| Methods in com.atlassian.gadgets.view with parameters of type GadgetState | |
|---|---|
URI |
RenderedGadgetUriBuilder.build(GadgetState gadgetState,
View view,
GadgetRequestContext gadgetRequestContext)
Returns the URL to the rendered gadget. |
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,
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. |
String |
SecurityTokenFactory.newSecurityToken(GadgetState state,
String viewer)
Create a new security token for the gadget. |
| Constructors in com.atlassian.gadgets.view with parameters of type GadgetState | |
|---|---|
GadgetRenderingException(GadgetState gadget,
Throwable cause)
|
|
GadgetRenderingException(String message,
GadgetState gadget)
|
|
GadgetRenderingException(String message,
GadgetState gadget,
Throwable cause)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||