|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.view.ViewMode | +--y.view.EditMode | +--y.view.hierarchy.HierarchyEditMode
A specialized EditMode
suitable for editing hierarchically organized graphs.
This mode uses specialized child modes to provide adequate editing capabilities for
grouped graphs.
Field Summary |
Fields inherited from class y.view.EditMode |
createEdgeMode, hotSpotMode, moveLabelMode, movePortMode, moveSelectionMode, popupMode, pressedNode, selectionBoxMode |
Fields inherited from class y.view.ViewMode |
lastClickEvent, lastDragEvent, lastPressEvent, lastReleaseEvent, originalX, originalY, view |
Constructor Summary | |
HierarchyEditMode()
Creates a new instance of HierarchyEditMode |
Method Summary | |
protected ViewMode |
createCreateEdgeMode()
Returns an instance of HierarchyCreateEdgeMode . |
protected ViewMode |
createHotSpotMode()
Returns an instance of HierarchyHotSpotMode . |
protected ViewMode |
createMoveSelectionMode()
Returns an instance of HierarchyMoveSelectionMode . |
protected ViewMode |
createSelectionBoxMode()
Returns an instance of HierarchySelectionBoxMode . |
int |
getGroupBorderWidth()
returns the width the active group node border. |
protected boolean |
isCreateEdgeGesture(MouseEvent lastPress,
MouseEvent lastDrag)
Special handling for group nodes. |
void |
setGroupBorderWidth(int groupBorderWidth)
Sets the width of the active group node border. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HierarchyEditMode()
Method Detail |
protected ViewMode createHotSpotMode()
HierarchyHotSpotMode
.
createHotSpotMode
in class EditMode
protected ViewMode createCreateEdgeMode()
HierarchyCreateEdgeMode
.
createCreateEdgeMode
in class EditMode
protected ViewMode createSelectionBoxMode()
HierarchySelectionBoxMode
.
createSelectionBoxMode
in class EditMode
protected ViewMode createMoveSelectionMode()
HierarchyMoveSelectionMode
.
createMoveSelectionMode
in class EditMode
protected boolean isCreateEdgeGesture(MouseEvent lastPress, MouseEvent lastDrag)
HierarchyEditMode.getGroupBorderWidth()
.
isCreateEdgeGesture
in class EditMode
public void setGroupBorderWidth(int groupBorderWidth)
10
.
HierarchyEditMode.isCreateEdgeGesture(MouseEvent, MouseEvent)
public int getGroupBorderWidth()
HierarchyEditMode.setGroupBorderWidth(int)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |