Class KanbanAdapter
java.lang.Object
com.codename1.ui.kanban.KanbanAdapter
- All Implemented Interfaces:
KanbanListener
A
KanbanListener that does nothing and allows every edit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcardAdded(KanbanBoard board, KanbanCard card) A card was added.booleancardAdding(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane) A card the user typed, pasted or duplicated is about to be added to a cell.voidcardMoved(KanbanBoard board, KanbanCard card) A card was moved.booleancardMoving(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane, int index) A card was dropped at an index of a cell;laneis null on a board without lanes.voidcardOpened(KanbanBoard board, KanbanCard card) A card was double tapped on a board whose cards are not renamed in place, orEnterwas pressed on the selected card.voidcardRemoved(KanbanBoard board, KanbanCard card) A card was removed.booleancardRemoving(KanbanBoard board, KanbanCard card) A card is about to be removed.voidcardRenamed(KanbanBoard board, KanbanCard card) A card has the title the user typed.booleancardRenaming(KanbanBoard board, KanbanCard card, String title) A card is about to be given the title the user typed.voidcolumnMoved(KanbanBoard board, KanbanColumn column) A column was moved.booleancolumnMoving(KanbanBoard board, KanbanColumn column, int index) A column was dropped at an index.voidcolumnToggled(KanbanBoard board, KanbanColumn column) A column was folded or unfolded.voidlaneToggled(KanbanBoard board, KanbanLane lane) A lane was folded or unfolded.voidselectionChanged(KanbanBoard board) The selected card changed.
-
Constructor Details
-
KanbanAdapter
public KanbanAdapter()
-
-
Method Details
-
selectionChanged
Description copied from interface:KanbanListenerThe selected card changed.- Specified by:
selectionChangedin interfaceKanbanListener
-
cardOpened
Description copied from interface:KanbanListenerA card was double tapped on a board whose cards are not renamed in place, orEnterwas pressed on the selected card.- Specified by:
cardOpenedin interfaceKanbanListener
-
cardMoving
public boolean cardMoving(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane, int index) Description copied from interface:KanbanListenerA card was dropped at an index of a cell;laneis null on a board without lanes. Return false to put it back.- Specified by:
cardMovingin interfaceKanbanListener
-
cardMoved
Description copied from interface:KanbanListenerA card was moved.- Specified by:
cardMovedin interfaceKanbanListener
-
columnMoving
Description copied from interface:KanbanListenerA column was dropped at an index. Return false to put it back.- Specified by:
columnMovingin interfaceKanbanListener
-
columnMoved
Description copied from interface:KanbanListenerA column was moved.- Specified by:
columnMovedin interfaceKanbanListener
-
cardAdding
Description copied from interface:KanbanListenerA card the user typed, pasted or duplicated is about to be added to a cell. The card may be changed here. Return false to drop it.- Specified by:
cardAddingin interfaceKanbanListener
-
cardAdded
Description copied from interface:KanbanListenerA card was added.- Specified by:
cardAddedin interfaceKanbanListener
-
cardRenaming
Description copied from interface:KanbanListenerA card is about to be given the title the user typed. Return false to keep the old one.- Specified by:
cardRenamingin interfaceKanbanListener
-
cardRemoving
Description copied from interface:KanbanListenerA card is about to be removed. Return false to keep it.- Specified by:
cardRemovingin interfaceKanbanListener
-
cardRenamed
Description copied from interface:KanbanListenerA card has the title the user typed.- Specified by:
cardRenamedin interfaceKanbanListener
-
cardRemoved
Description copied from interface:KanbanListenerA card was removed.- Specified by:
cardRemovedin interfaceKanbanListener
-
columnToggled
Description copied from interface:KanbanListenerA column was folded or unfolded.- Specified by:
columnToggledin interfaceKanbanListener
-
laneToggled
Description copied from interface:KanbanListenerA lane was folded or unfolded.- Specified by:
laneToggledin interfaceKanbanListener
-