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

package com.codename1.kanban

Boards as data: columns, the cards in them, and the swimlanes across them. What a com.codename1.ui.kanban.KanbanBoard shows.

Nothing here draws, and everything runs without a component, on a server too.

  • KanbanModel is the board. DefaultKanbanModel keeps one in memory and accepts edits; AbstractKanbanModel refuses them all, for a board that is only shown.
  • A KanbanColumn is a stage, with an optional limit on the cards in it.
  • A KanbanCard is in one column and, on a board with KanbanLanes, in one lane.
  • KanbanJson saves a board and reads it back.

The classes are not thread safe: use a model from one thread, which for a model shown by a component is the EDT.

Types

class AbstractKanbanModelA model that looks things up by walking its lists and refuses every edit: what a board that is only shown needs.
class DefaultKanbanModelA board kept in memory that accepts every edit.
class KanbanCardA card of a board: a task, a ticket, a lead.
interface KanbanChangeListenerTold when a board’s model changed.
class KanbanColumnA column of a board: a stage the cards pass through.
class KanbanJsonSaves a board as JSON and reads it back.
class KanbanLaneA swimlane: a row across every column of a board, such as a team, an epic or a priority.
interface KanbanModelThe columns, lanes and cards of a board, and the edits a user may make.