|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DashboardState.ColumnIndex | |
|---|---|
| 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.dashboard.internal.rest | Interfaces and classes used to implement dashboards and their gadgets as REST resources. |
| com.atlassian.gadgets.dashboard.internal.rest.representations | |
| com.atlassian.gadgets.spi.changes | |
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard |
|---|
| Methods in com.atlassian.gadgets.dashboard that return DashboardState.ColumnIndex | |
|---|---|
static DashboardState.ColumnIndex |
DashboardState.ColumnIndex.from(int index)
Returns the column index as an instance of ColumnIndex. |
DashboardState.ColumnIndex |
DashboardState.ColumnIndex.next()
Returns the next column index after this one if there is one, equivalent to doing i+1 when the index is an int. |
static DashboardState.ColumnIndex |
DashboardState.ColumnIndex.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DashboardState.ColumnIndex[] |
DashboardState.ColumnIndex.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods in com.atlassian.gadgets.dashboard that return types with arguments of type DashboardState.ColumnIndex | |
|---|---|
Iterable<DashboardState.ColumnIndex> |
Layout.getColumnRange()
Return an immutable Iterable over the ColumnIndexes that exist in this layout. |
static Iterable<DashboardState.ColumnIndex> |
DashboardState.ColumnIndex.range(DashboardState.ColumnIndex start,
DashboardState.ColumnIndex end)
Returns an immutable Iterable over ColumnIndexes starting from start and
ending with end, inclusive. |
| Methods in com.atlassian.gadgets.dashboard with parameters of type DashboardState.ColumnIndex | |
|---|---|
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 |
boolean |
Layout.contains(DashboardState.ColumnIndex column)
Checks if the column exists in this layout. |
Iterable<GadgetState> |
DashboardState.getGadgetsInColumn(DashboardState.ColumnIndex column)
Returns an immutable Iterable of the GadgetStates in the given column. |
boolean |
Layout.isColumnSizingFair(DashboardState.ColumnIndex column)
Checks if the column shares the space with the other columns on the screen equally or if it is greedy
and should take up more space. |
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 |
static Iterable<DashboardState.ColumnIndex> |
DashboardState.ColumnIndex.range(DashboardState.ColumnIndex start,
DashboardState.ColumnIndex end)
Returns an immutable Iterable over ColumnIndexes starting from start and
ending with end, inclusive. |
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard.internal |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal with parameters of type DashboardState.ColumnIndex | |
|---|---|
void |
Dashboard.addGadget(DashboardState.ColumnIndex column,
Gadget gadget)
Add a gadget to the first position of the specified column |
void |
Dashboard.appendGadget(DashboardState.ColumnIndex column,
Gadget gadget)
Add a gadget to the end of the specified column |
Iterable<Gadget> |
Dashboard.getGadgetsInColumn(DashboardState.ColumnIndex column)
|
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard.internal.impl |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal.impl with parameters of type DashboardState.ColumnIndex | |
|---|---|
void |
DashboardImpl.addGadget(DashboardState.ColumnIndex column,
Gadget gadget)
|
void |
DashboardImpl.appendGadget(DashboardState.ColumnIndex columnIndex,
Gadget gadget)
|
Iterable<Gadget> |
DashboardImpl.getGadgetsInColumn(DashboardState.ColumnIndex column)
|
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard.internal.rest |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal.rest with parameters of type DashboardState.ColumnIndex | |
|---|---|
javax.ws.rs.core.Response |
AddGadgetHandler.addGadget(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
String gadgetUrl,
DashboardState.ColumnIndex columnIndex)
Adds the specified gadget to the specified dashboard in the specified column. |
javax.ws.rs.core.Response |
AddGadgetHandlerImpl.addGadget(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
String gadgetUrl,
DashboardState.ColumnIndex columnIndex)
|
javax.ws.rs.core.Response |
AddGadgetHandler.moveGadget(DashboardId targetDashboardId,
GadgetId gadgetId,
DashboardId sourceDashboardId,
DashboardState.ColumnIndex columnIndex,
int rowIndexAsInt,
GadgetRequestContext gadgetRequestContext)
Moves the gadget specified by id from the source dashboard to the target dashboard. |
javax.ws.rs.core.Response |
AddGadgetHandlerImpl.moveGadget(DashboardId targetDashboardId,
GadgetId gadgetId,
DashboardId sourceDashboardId,
DashboardState.ColumnIndex columnIndex,
int rowIndex,
GadgetRequestContext gadgetRequestContext)
|
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard.internal.rest.representations |
|---|
| Methods in com.atlassian.gadgets.dashboard.internal.rest.representations with parameters of type DashboardState.ColumnIndex | |
|---|---|
GadgetRepresentation |
RepresentationFactory.createGadgetRepresentation(DashboardId dashboardId,
Gadget gadget,
GadgetRequestContext gadgetRequestContext,
boolean writable,
DashboardState.ColumnIndex column)
Given a Gadget, this creates a new JAXB gadget representation |
GadgetRepresentation |
RepresentationFactoryImpl.createGadgetRepresentation(DashboardId dashboardId,
Gadget gadget,
GadgetRequestContext gadgetRequestContext,
boolean writable,
DashboardState.ColumnIndex column)
|
| Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.spi.changes |
|---|
| Methods in com.atlassian.gadgets.spi.changes that return DashboardState.ColumnIndex | |
|---|---|
DashboardState.ColumnIndex |
AddGadgetChange.getColumnIndex()
Get the index of the column where the gadget is being added |
| Constructors in com.atlassian.gadgets.spi.changes with parameters of type DashboardState.ColumnIndex | |
|---|---|
AddGadgetChange(GadgetState state,
DashboardState.ColumnIndex columnIndex,
int rowIndex)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||