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.
KanbanModelis the board.DefaultKanbanModelkeeps one in memory and accepts edits;AbstractKanbanModelrefuses them all, for a board that is only shown.- A
KanbanColumnis a stage, with an optional limit on the cards in it. - A
KanbanCardis in one column and, on a board withKanbanLanes, in one lane. KanbanJsonsaves 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 AbstractKanbanModel | A model that looks things up by walking its lists and refuses every edit: what a board that is only shown needs. |
class DefaultKanbanModel | A board kept in memory that accepts every edit. |
class KanbanCard | A card of a board: a task, a ticket, a lead. |
interface KanbanChangeListener | Told when a board’s model changed. |
class KanbanColumn | A column of a board: a stage the cards pass through. |
class KanbanJson | Saves a board as JSON and reads it back. |
class KanbanLane | A swimlane: a row across every column of a board, such as a team, an epic or a priority. |
interface KanbanModel | The columns, lanes and cards of a board, and the edits a user may make. |