Package com.atlassian.gadgets.dashboard
Class DashboardColumns
java.lang.Object
com.atlassian.gadgets.dashboard.DashboardColumns
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DashboardColumnsfrom(Iterable<? extends Iterable<DashboardItemState>> columns, int numberOfColumns) Returns an immutable List of all columns represented as a list of items.Returns an immutableListof theDashboardStateItems in the givencolumn.inthashCode()inttoString()
-
Method Details
-
getItemsInColumn
Returns an immutableListof theDashboardStateItems in the givencolumn.
They are returned in the order that they appear on the dashboard from top to bottom.- Parameters:
column- the index of the column to retrieve theDashboardItemStates for- Returns:
- an immutable
Listof theDashboardItemStates in thecolumn
-
getColumns
Returns an immutable List of all columns represented as a list of items.
Note that all those lists are immutable. -
numberOfColumns
public int numberOfColumns() -
from
public static DashboardColumns from(Iterable<? extends Iterable<DashboardItemState>> columns, int numberOfColumns) -
equals
-
hashCode
public int hashCode() -
toString
-