Uses of Enum Class
com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Packages that use DashboardState.ColumnIndex
Package
Description
This package contains the main APIs for interacting with dashboards and gadgets.
-
Uses of DashboardState.ColumnIndex in com.atlassian.gadgets.dashboard
Methods in com.atlassian.gadgets.dashboard that return DashboardState.ColumnIndexModifier and TypeMethodDescriptionstatic DashboardState.ColumnIndexDashboardState.ColumnIndex.from(int index) Returns the columnindexas an instance ofColumnIndex.DashboardItemRepresentationService.RenderingContext.getColumnIndex()DashboardState.ColumnIndex.next()Returns the next column index after this one if there is one, equivalent to doing i+1 when the index is anint.static DashboardState.ColumnIndexReturns the enum constant of this class with the specified name.static DashboardState.ColumnIndex[]DashboardState.ColumnIndex.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.atlassian.gadgets.dashboard that return types with arguments of type DashboardState.ColumnIndexModifier and TypeMethodDescriptionLayout.getColumnRange()Return an immutableIterableover theColumnIndexes that exist in this layout.static Iterable<DashboardState.ColumnIndex>DashboardState.ColumnIndex.range(DashboardState.ColumnIndex start, DashboardState.ColumnIndex end) Returns an immutableIterableoverColumnIndexes starting fromstartand ending withend, inclusive.Methods in com.atlassian.gadgets.dashboard with parameters of type DashboardState.ColumnIndexModifier and TypeMethodDescriptionDashboardState.appendGadgetToColumn(GadgetState gadgetState, DashboardState.ColumnIndex index) Deprecated.DashboardState.appendItemToColumn(DashboardItemState itemState, DashboardState.ColumnIndex index) Returns a new DashboardState built with the same data asthis, except that the column with indexindexhas had a new gadget added to its bottombooleanLayout.contains(DashboardState.ColumnIndex column) Checks if thecolumnexists in this layout.DashboardItemRepresentationService.RenderingContext.editable(GadgetRequestContext requestContext, DashboardId dashboardId, DashboardState.ColumnIndex columnIndex) DashboardState.getGadgetsInColumn(DashboardState.ColumnIndex column) Deprecated.DashboardColumns.getItemsInColumn(DashboardState.ColumnIndex column) Returns an immutableListof theDashboardStateItems in the givencolumn.booleanLayout.isColumnSizingFair(DashboardState.ColumnIndex column) Checks if thecolumnshares the space with the other columns on the screen equally or if it is greedy and should take up more space.DashboardState.prependGadgetToColumn(GadgetState dashboardItemState, DashboardState.ColumnIndex index) Deprecated.DashboardState.prependItemToColumn(DashboardItemState itemState, DashboardState.ColumnIndex index) Returns a new DashboardState built with the same data asthis, except that the column with indexindexhas had a new gadget added to its topstatic Iterable<DashboardState.ColumnIndex>DashboardState.ColumnIndex.range(DashboardState.ColumnIndex start, DashboardState.ColumnIndex end) Returns an immutableIterableoverColumnIndexes starting fromstartand ending withend, inclusive.DashboardItemRepresentationService.RenderingContext.readOnly(GadgetRequestContext requestContext, DashboardId dashboardId, DashboardState.ColumnIndex columnIndex)
DashboardState.prependItemToColumn(com.atlassian.gadgets.DashboardItemState, com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex)instead.