|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent y.view.Graph2DView com.yworks.yfiles.bpmn.view.BpmnView
A component that visualizes BPMN diagrams.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class y.view.Graph2DView |
BG_LAYER, CONTENT_POLICY_BACKGROUND_DRAWABLES, CONTENT_POLICY_FOREGROUND_DRAWABLES, CONTENT_POLICY_GRAPH, CONTENT_POLICY_GRAPH_DRAWABLES, FG_LAYER, LAYER_MODE, MOVE_SELECTION_MODE, NORMAL_MODE, SELECTION_BOX_MODE, UNBUFFERED_MODE |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface y.view.View2DConstants |
GRID_CROSS, GRID_LINES, GRID_NONE, GRID_POINTS |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
BpmnView()
Initializes a new BpmnView . |
Method Summary | |
protected String |
getLocalized(String key)
Returns the localized text for the specified key. |
boolean |
isGridEnabled()
Returns whether or not this view uses grid mode. |
boolean |
isOrthogonalEdgeCreationEnabled()
Returns whether or not new edges created in this view's graph will have orthogonal edge paths. |
boolean |
isSnappingEnabled()
Returns whether or not snapping is enabled. |
protected void |
registerViewActions()
Registers BPMN specific view actions. |
protected void |
registerViewListeners()
Registers and configures BPMN specific listeners. |
protected void |
registerViewModes()
Registers and configures BPMN specific view modes. |
void |
setGridEnabled(boolean enabled)
Specifies whether or not this view has to use grid mode. |
void |
setOrthogonalEdgeCreationEnabled(boolean enabled)
Specifies whether or not new edges created in this view's graph will have orthogonal edge paths. |
void |
setSnappingEnabled(boolean enabled)
Specifies whether or not snapping is enabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BpmnView()
BpmnView
. Calls
Method Detail |
public boolean isOrthogonalEdgeCreationEnabled()
By default, this feature is enabled.
true
if new edge have to be orthogonal; false
otherwise.setOrthogonalEdgeCreationEnabled(boolean)
public void setOrthogonalEdgeCreationEnabled(boolean enabled)
By default, this feature is enabled.
enabled
- if true
new edge have to be orthogonal.isOrthogonalEdgeCreationEnabled()
public boolean isGridEnabled()
By default, this feature is disabled.
true
if this view uses grid mode; false
otherwise.setGridEnabled(boolean)
public void setGridEnabled(boolean enabled)
By default, this feature is disabled.
enabled
- if true
this view uses grid mode.isGridEnabled()
public boolean isSnappingEnabled()
By default, this feature is enabled.
true
if snapping is enabled; false
otherwise.setSnappingEnabled(boolean)
public void setSnappingEnabled(boolean enabled)
By default, this feature is enabled.
enabled
- if true
snapping is enabled.isSnappingEnabled()
protected void registerViewActions()
BpmnView()
.
protected void registerViewModes()
BpmnView()
.
protected void registerViewListeners()
BpmnView()
.
protected String getLocalized(String key)
key
- a unique identifier for localized text.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |