Interface KanbanListener

All Known Implementing Classes:
KanbanAdapter

public interface KanbanListener

What a KanbanBoard tells an application about. Extend KanbanAdapter to implement only what is needed.

Every edit is offered first to the listeners, any of which may refuse it, and then to the model, which may refuse it too.

  • Method Details

    • selectionChanged

      void selectionChanged(KanbanBoard board)
      The selected card changed.
    • cardOpened

      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

      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

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

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

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

      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

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

      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.
    • cardRenamed

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

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

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

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

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