Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public class KanbanAdapter

  1. Object
  2. KanbanAdapter

ImplementsKanbanListener

A KanbanListener that does nothing and allows every edit.

Constructors

public KanbanAdapter()

Methods

public void selectionChanged(KanbanBoard board)The selected card changed.
public void cardOpened(KanbanBoard board, KanbanCard card)A card was double tapped on a board whose cards are not renamed in place, or Enter was pressed on the selected card.
public boolean cardMoving(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane, int index)A card was dropped at an index of a cell; lane is null on a board without lanes.
public void cardMoved(KanbanBoard board, KanbanCard card)A card was moved.
public boolean columnMoving(KanbanBoard board, KanbanColumn column, int index)A column was dropped at an index.
public void columnMoved(KanbanBoard board, KanbanColumn column)A column was moved.
public boolean cardAdding(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane)A card the user typed, pasted or duplicated is about to be added to a cell.
public void cardAdded(KanbanBoard board, KanbanCard card)A card was added.
public boolean cardRenaming(KanbanBoard board, KanbanCard card, String title)A card is about to be given the title the user typed.
public boolean cardRemoving(KanbanBoard board, KanbanCard card)A card is about to be removed.
public void cardRenamed(KanbanBoard board, KanbanCard card)A card has the title the user typed.
public void cardRemoved(KanbanBoard board, KanbanCard card)A card was removed.
public void columnToggled(KanbanBoard board, KanbanColumn column)A column was folded or unfolded.
public void laneToggled(KanbanBoard board, KanbanLane lane)A lane was folded or unfolded.

Inherited methods

Constructor details

KanbanAdapter

public KanbanAdapter()

Method details

selectionChanged

public void selectionChanged(KanbanBoard board)
The selected card changed.

cardOpened

public void cardOpened(KanbanBoard board, KanbanCard card)
A card was double tapped on a board whose cards are not renamed in place, or Enter was pressed on the selected card.

cardMoving

public boolean cardMoving(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane, int index)
A card was dropped at an index of a cell; lane is null on a board without lanes. Return false to put it back.

cardMoved

public void cardMoved(KanbanBoard board, KanbanCard card)
A card was moved.

columnMoving

public boolean columnMoving(KanbanBoard board, KanbanColumn column, int index)
A column was dropped at an index. Return false to put it back.

columnMoved

public void columnMoved(KanbanBoard board, KanbanColumn column)
A column was moved.

cardAdding

public boolean cardAdding(KanbanBoard board, KanbanCard card, KanbanColumn column, KanbanLane lane)
A 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.

cardAdded

public void cardAdded(KanbanBoard board, KanbanCard card)
A card was added.

cardRenaming

public boolean cardRenaming(KanbanBoard board, KanbanCard card, String title)
A card is about to be given the title the user typed. Return false to keep the old one.

cardRemoving

public boolean cardRemoving(KanbanBoard board, KanbanCard card)
A card is about to be removed. Return false to keep it.

cardRenamed

public void cardRenamed(KanbanBoard board, KanbanCard card)
A card has the title the user typed.

cardRemoved

public void cardRemoved(KanbanBoard board, KanbanCard card)
A card was removed.

columnToggled

public void columnToggled(KanbanBoard board, KanbanColumn column)
A column was folded or unfolded.

laneToggled

public void laneToggled(KanbanBoard board, KanbanLane lane)
A lane was folded or unfolded.