|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jgraph.plaf.GraphUI
org.jgraph.plaf.basic.BasicGraphUI
org.enhydra.jawe.components.graph.JaWEGraphUI
org.enhydra.jawe.components.graph.overviewpanel.GraphOverviewGraphUI
public class GraphOverviewGraphUI
This class and it's inner classes controls mouse actions and clipboard. It is addapted to get wanted editing cell behaviour, selection behaviour , to implement cell overlaping, to implement right participant adjustment after cell (or group of cells) is moved, and to implement proper copying and pasting/cloning of cells, as well as pasting at wanted location (along with right participant adjustment).
Nested Class Summary | |
---|---|
class |
GraphOverviewGraphUI.PEMouseHandler
Handles selection in a way that we expect. |
Nested classes/interfaces inherited from class org.enhydra.jawe.components.graph.JaWEGraphUI |
---|
JaWEGraphUI.PEGraphLayoutCacheHandler, JaWEGraphUI.PEGraphModelHandler, JaWEGraphUI.PEKeyHandler, JaWEGraphUI.PERootHandle |
Nested classes/interfaces inherited from class org.jgraph.plaf.basic.BasicGraphUI |
---|
org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler, org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener, org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction, org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler, org.jgraph.plaf.basic.BasicGraphUI.KeyHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler, org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler, org.jgraph.plaf.basic.BasicGraphUI.RootHandle |
Field Summary |
---|
Fields inherited from class org.enhydra.jawe.components.graph.JaWEGraphUI |
---|
aborted, INSERT_ELEMENT, INSERT_PARTICIPANT, INSERT_SPEC_ELEMENT, INSERT_TRANSITION_POINTS, INSERT_TRANSITION_START, MULTIPLE_SELECTION, SELECTION, selectOnRelease, status |
Fields inherited from class org.jgraph.plaf.basic.BasicGraphUI |
---|
cellEditor, cellEditorListener, componentListener, defaultDropTargetListener, defaultTransferHandler, DNDPREVIEW, dropAction, dropTarget, editingCell, editingComponent, editorHasDifferentSize, focus, graph, graphLayoutCache, graphLayoutCacheListener, graphModel, graphModelListener, graphSelectionListener, graphSelectionModel, handle, insertionLocation, keyListener, marquee, MAXCELLS, MAXCLIPCELLS, MAXHANDLES, mouseListener, preferredMinSize, preferredSize, propertyChangeListener, rendererPane, SCROLLBORDER, SCROLLSTEP, snapSelectedView, stopEditingInCompleteEditing, validCachedPreferredSize |
Constructor Summary | |
---|---|
GraphOverviewGraphUI()
|
Method Summary | |
---|---|
protected java.awt.event.MouseListener |
createMouseListener()
Creates the listener responsible for updating the selection based on mouse events. |
Graph |
getGraph()
Returns graph. |
Methods inherited from class org.enhydra.jawe.components.graph.JaWEGraphUI |
---|
createGraphLayoutCacheListener, createHandle, createKeyListener, getGraphController, paintBackground, reset, startEditing, startEditingAtCell |
Methods inherited from class org.jgraph.plaf.basic.BasicGraphUI |
---|
autoscroll, cancelEditing, completeEditing, completeEditing, completeUIInstall, completeUIUninstall, createCellEditorListener, createCellRendererPane, createComponentListener, createContext, createGraphModelListener, createGraphSelectionListener, createPropertyChangeListener, createTransferHandler, createUI, getDropAction, getEditingCell, getEditorLocation, getFocusedCell, getHandle, getInsertionLocation, getMaximumSize, getMinimumSize, getPreferredMinSize, getPreferredSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isAddToSelectionEvent, isConstrainedMoveEvent, isEditing, isForceMarqueeEvent, isSnapSelectedView, isToggleSelectionEvent, paint, paintCell, paintForeground, paintGrid, paintPorts, prepareForUIInstall, selectCellForEvent, selectCellsForEvent, selectCellsForEvent, setGraphLayoutCache, setInsertionLocation, setMarquee, setModel, setPreferredMinSize, setSelectionModel, setSnapSelectedView, stopEditing, toggleSelectionCellForEvent, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateCachedPreferredSize, updateHandle, updateSize |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphOverviewGraphUI()
Method Detail |
---|
public Graph getGraph()
getGraph
in class JaWEGraphUI
protected java.awt.event.MouseListener createMouseListener()
createMouseListener
in class JaWEGraphUI
|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |