|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Behavior
public final class Behavior
The members of this enumeration specify how the component should
respond to users actions. These constants can be used as arguments of
the DiagramView.setBehavior(int)
method of the Diagram
class.
Field Summary | |
---|---|
static int |
Custom
Specifies that user input will be handled by the BehaviorBase -derived
object assigned to CustomBehavior . |
static int |
DoNothing
The control ignores users actions with the mouse, but raises the appropriate mouse events. |
static int |
DrawContainers
Drawing with the mouse creates ContainerNode instances. |
static int |
DrawControls
Drawing with the mouse creates ControlNode instances. |
static int |
DrawLinks
Drawing started over a node creates a DiagramLink . |
static int |
DrawShapes
Drawing with the mouse creates ShapeNode instances. |
static int |
DrawTables
Drawing with the mouse creates TableNode instances. |
static int |
DrawTreeViews
Drawing with the mouse creates TreeViewNode instances. |
static int |
LinkContainers
Drawing over empty document area creates a ContainerNode instance. |
static int |
LinkControls
Drawing over an empty document region creates a ControlNode
instance. |
static int |
LinkShapes
A mode that is suitable for creating flowcharts and process diagrams. |
static int |
LinkTables
A mode that is suitable for creating entity-relationship diagrams. |
static int |
LinkTreeViews
Drawing over empty document area creates a TreeViewNode instance. |
static int |
Magnify
Dragging the mouse magnifies the view. |
static int |
Modify
Objects can be selected and modified. |
static int |
Pan
Dragging the mouse pans the view. |
Constructor Summary | |
---|---|
Behavior()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int Modify
public static final int DrawShapes
ShapeNode
instances.
public static final int DrawLinks
DiagramLink
. Otherwise
a lasso rectangle is displayed allowing the selection of items.
public static final int LinkShapes
ShapeNode
instance. Drawing started over a node creates a DiagramLink
.
public static final int LinkTables
TableNode
instance. Drawing started over a node creates a DiagramLink
.
public static final int DrawTables
TableNode
instances.
public static final int DrawControls
ControlNode
instances.
public static final int LinkControls
ControlNode
instance. Drawing started over a node creates a DiagramLink
.
public static final int DoNothing
public static final int Custom
BehaviorBase
-derived
object assigned to CustomBehavior
.
public static final int DrawContainers
public static final int LinkContainers
public static final int Pan
public static final int DrawTreeViews
public static final int LinkTreeViews
public static final int Magnify
Constructor Detail |
---|
public Behavior()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |