Class KanbanColumn
java.lang.Object
com.codename1.kanban.KanbanColumn
A column of a board: a stage the cards pass through.
-
Constructor Summary
ConstructorsConstructorDescriptionKanbanColumn(String id, String title) A column with an id, unique in its model, and a title. -
Method Summary
Modifier and TypeMethodDescriptiongetId()The id, unique in the model.A key the renderer maps to a colour, or null.getTitle()The title.intHow many cards the column should hold at most, in all its lanes together; 0, the default, for no limit.booleanTrue when the column is folded to a strip showing only its count.setCollapsed(boolean collapsed) Folds or unfolds the column.setStyleKey(String styleKey) Sets the style key.Sets the title.setWipLimit(int wipLimit) Sets the most cards the column should hold; 0 for no limit.toString()Returns a string representation of the object.
-
Constructor Details
-
KanbanColumn
-
-
Method Details
-
getId
The id, unique in the model. -
getTitle
The title. -
setTitle
Sets the title. -
getWipLimit
public int getWipLimit()How many cards the column should hold at most, in all its lanes together; 0, the default, for no limit. A column over its limit is drawn as such, andDefaultKanbanModel.setEnforceWipLimitsmakes the model refuse the card that would pass it. -
setWipLimit
Sets the most cards the column should hold; 0 for no limit. -
isCollapsed
public boolean isCollapsed()True when the column is folded to a strip showing only its count. -
setCollapsed
Folds or unfolds the column. A model shown by a board is told throughKanbanModel.setCollapsed. -
getStyleKey
A key the renderer maps to a colour, or null. -
setStyleKey
Sets the style key. -
toString
Description copied from class:ObjectReturns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
-