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

public final class GraphShapes

  1. Object
  2. GraphShapes

The names of the outlines a view knows how to draw, for GraphNode.setShape. They are the symbols of a flow chart.

A name is only a key: the model stays free of drawing code, and com.codename1.ui.graph.GraphShapeRegistry maps each to its outline and takes outlines of your own under new names.

Fields

public static final String RECT = "rect"A rectangle with square corners: a process step.
public static final String ROUNDED = "rounded"A rectangle with rounded corners.
public static final String TERMINATOR = "terminator"A pill, rounded by half its height: where a flow starts or ends.
public static final String DECISION = "decision"A diamond: a decision.
public static final String DATA = "data"A parallelogram: input or output.
public static final String DOCUMENT = "document"A rectangle with a wavy bottom edge: a document.
public static final String PREPARATION = "preparation"A hexagon: preparation.
public static final String DATABASE = "database"A cylinder: a database or stored data.
public static final String SUBPROCESS = "subprocess"A rectangle with a bar inside each end: a predefined process.
public static final String ELLIPSE = "ellipse"An ellipse.
public static final String NOTE = "note"A sheet with a folded corner: a comment.

Inherited methods

Field details

RECT

public static final String RECT = "rect"
A rectangle with square corners: a process step.

ROUNDED

public static final String ROUNDED = "rounded"
A rectangle with rounded corners.

TERMINATOR

public static final String TERMINATOR = "terminator"
A pill, rounded by half its height: where a flow starts or ends.

DECISION

public static final String DECISION = "decision"
A diamond: a decision.

DATA

public static final String DATA = "data"
A parallelogram: input or output.

DOCUMENT

public static final String DOCUMENT = "document"
A rectangle with a wavy bottom edge: a document.

PREPARATION

public static final String PREPARATION = "preparation"
A hexagon: preparation.

DATABASE

public static final String DATABASE = "database"
A cylinder: a database or stored data.

SUBPROCESS

public static final String SUBPROCESS = "subprocess"
A rectangle with a bar inside each end: a predefined process.

ELLIPSE

public static final String ELLIPSE = "ellipse"
An ellipse.

NOTE

public static final String NOTE = "note"
A sheet with a folded corner: a comment.