| Package | Description |
|---|---|
| com.atlassian.gadgets |
This package contains the main APIs for interacting with gadgets.
|
| com.atlassian.gadgets.view |
Contains classes related to the rendering and display of gadgets.
|
| Modifier and Type | Method and Description |
|---|---|
View |
GadgetRequestContext.getView()
Returns the dashboard view.
|
| Modifier and Type | Method and Description |
|---|---|
GadgetRequestContext.Builder |
GadgetRequestContext.Builder.view(View view)
Set the current view of the
GadgetRequestContext under construction and return this Builder
to allow further construction to be done. |
| Modifier and Type | Field and Description |
|---|---|
static View |
View.DEFAULT
Default
View, which uses the default ViewType and
is writable. |
static View |
View.DIRECTORY |
| Modifier and Type | Method and Description |
|---|---|
View |
View.Builder.build()
Returns a new
ViewSettings object using the values in this
Builder. |
| Modifier and Type | Method and Description |
|---|---|
URI |
RenderedGadgetUriBuilder.build(GadgetState gadgetState,
ModuleId moduleId,
View view,
GadgetRequestContext gadgetRequestContext)
Returns the URL to the rendered gadget.
|
URI |
RenderedGadgetUriBuilder.build(GadgetState gadgetState,
View view,
GadgetRequestContext gadgetRequestContext)
Deprecated.
|
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.