Kanban - Code Docs

Kanban - Agile Workflow

Author:Carlo E. T. Oliveira
Contact:carlo@nce.ufrj.br
Date:2013/03/29
Status:This is a “work in progress”
Revision:0.1.9
Home:Labase
Copyright:2013, GPL.
class kanban.Color_pallete(gui, container)[source]

A collecion of color markers for new tasks. Color_pallete

class kanban.Color_tab(gui, color, left, top, width, height, container)[source]

Bases: kanban.Draggable

A color markers for new tasks. Color_tab

attach(container, dims)[source]

Deploy a new task in a stepboard

delete_object(ev)[source]
do_drop(item)[source]
get_color()[source]

Get the color of the tab

new_proj(container, dims)[source]

Deploy a new project in a projectboard

class kanban.Composite[source]

Bases: kanban.Draggable

Interface of containement, contained by and contains peers. Composite

append(component)[source]

Append a new component.

arrange(left=0, top=0, width=0, height=0, margin=4, offy=40, overflowY='hidden', overflowX='hidden', opacity=0.7)[source]

Deploy this component in a container

attach(container, dims)[source]

attach to a new container.

get_dimensions()[source]

get dimensions for component.

remove(component)[source]

Remove a component.

class kanban.Draggable[source]

Interface for something that can be dragged. Draggable

do_drop(item)[source]

Template action when element receives a dropped item

class kanban.Dust_bin[source]

A Kanban workflow plugin for the Activ platform. Dust_bin

class kanban.GUI(doc, gui)[source]

A factory for html elements. GUI

cling(level, element)[source]

Cling a element to a DOM node

confirmation(query_text)[source]

Open a confimation dialog and return the choice

div(text, node, draggable=False, id='nono', Class='rounded-corners', nodename=None)[source]

Create a HTML DIV element

remove(node, element)[source]

Remove a element from a DOM node

set_attrs(target, **kwargs)[source]

Set the attributes defined as key arguments of a target DOM element

set_style(target, **kwargs)[source]

Set the style attribute of a DOM element

class kanban.Kanban(gui)[source]

A Kanban workflow plugin for the Activ platform. Kanban

get_item(ob_id)[source]

Get a tab with the given object id key

get_tab(color)[source]

Get a tab with the given key color

register(item)[source]

Register an item with the given object id key

remove(item)[source]

Remove an item with the given object id key

class kanban.Project(gui, color, left, top, width, height, container)[source]

Bases: kanban.Color_tab

A Project selector for new tasks. Color_tab

class kanban.Project_board(gui, i, color, left, width, panel)[source]

Bases: kanban.Step_board

A board to hold tasks within a step in the task workflow. Step_board

get_dimensions()[source]

get dimensions for component.

class kanban.Step_board(gui, i, color, left, width, panel)[source]

Bases: kanban.Composite

A board to hold tasks within a step in the task workflow. Step_board

do_drop(item)[source]
get_dimensions()[source]

get dimensions for component.

get_item(item)[source]

Get a tab with the given object id key

register(item)[source]

Register an item with the given object id key

remove(task)[source]

Remove a task from a stepboard

class kanban.Task(gui, container, color, left, top, width)[source]

Bases: kanban.Composite

A Task represented by a colored note. Task

delete_object()[source]

Delete this item from Board and Dom

get_dimensions()[source]

get dimensions for component.

class kanban.Task_panel(gui, container)[source]

A panel representing several steps of the task flow. Task_panel

class kanban.Timer(gui, container, color, left, top, width)[source]

Bases: kanban.Composite

A Clock to set and account task time. Task

delete_object()[source]

Delete this item from Board and Dom

get_dimensions()[source]

get dimensions for component.

kanban.logger(*a)
kanban.main(dc, gui, div_ids, repo)[source]

Starting point