| org.enhydra.jawe.components.graph.JaWEGraphUI
JaWEGraphUI | public class JaWEGraphUI extends BasicGraphUI (Code) | | 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).
|
Inner Class :public class PEMouseHandler extends MouseHandler | |
Inner Class :public class PERootHandle extends RootHandle | |
Inner Class :public class PEGraphLayoutCacheHandler extends GraphLayoutCacheHandler | |
Inner Class :public class PEGraphModelHandler implements GraphModelListener,Serializable | |
INSERT_ELEMENT | final public static int INSERT_ELEMENT(Code) | | |
INSERT_PARTICIPANT | final public static int INSERT_PARTICIPANT(Code) | | |
INSERT_SPEC_ELEMENT | final public static int INSERT_SPEC_ELEMENT(Code) | | |
INSERT_TRANSITION_POINTS | final public static int INSERT_TRANSITION_POINTS(Code) | | |
INSERT_TRANSITION_START | final public static int INSERT_TRANSITION_START(Code) | | |
MULTIPLE_SELECTION | final public static int MULTIPLE_SELECTION(Code) | | |
SELECTION | final public static int SELECTION(Code) | | |
aborted | protected boolean aborted(Code) | | |
selectOnRelease | protected boolean selectOnRelease(Code) | | |
status | protected int status(Code) | | |
createGraphLayoutCacheListener | protected GraphLayoutCacheListener createGraphLayoutCacheListener()(Code) | | Returns a listener that can update the graph when the view changes.
|
createHandle | public CellHandle createHandle(GraphContext context)(Code) | | Constructs the "root handle" for context .
Parameters: context - reference to the context of the current selection. |
createKeyListener | protected KeyListener createKeyListener()(Code) | | Creates the listener reponsible for getting key events from the graph.
|
createMouseListener | protected MouseListener createMouseListener()(Code) | | Creates the listener responsible for updating the selection based on
mouse events.
|
paintBackground | protected void paintBackground(Graphics g)(Code) | | Paint the background of this graph. Calls paintGrid.
|
reset | public void reset()(Code) | | |
startEditing | protected boolean startEditing(Object cell, MouseEvent event)(Code) | | This method is called by EditAction class, as well as by
pressing F2 or clicking a mouse on a cell.
|
startEditingAtCell | public void startEditingAtCell(JGraph pGraph, Object cell)(Code) | | |
|
|