public static class AWTreeGraphView.GElementNode extends GElementRect
| Modifier and Type | Field and Description |
|---|---|
boolean |
highlighted |
double |
spanWidth |
DEFAULT_HEIGHT, DEFAULT_WIDTH, height, widthANCHOR_BOTTOM, ANCHOR_CENTER, ANCHOR_LEFT, ANCHOR_RIGHT, ANCHOR_TOP, anchors, color, draggable, elements, focused, label, labelColor, labelVisible, lock, oldPosition, penSize, position, selected, strokeBold, strokeNormal, strokeSize, view| Constructor and Description |
|---|
AWTreeGraphView.GElementNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g) |
double |
getBottom() |
double |
getFirstChildLeftSpan()
Return the first children left coordinate of this node.
|
double |
getLastChildRightSpan()
Return the last children right coordinate of this node.
|
double |
getLeft()
Methods used to retrieve the coordinate of the frame.
|
double |
getLeftSpan() |
double |
getRight() |
double |
getRightSpan() |
double |
getTop() |
void |
setHighlighted(boolean flag) |
void |
setSpanWidth(double width)
Methods to retrieve the span width of the node.
|
void |
setTop(double top) |
drawLabel, drawShape, getFrame, getHeight, getWidth, isInside, setHeight, setPositionOfUpperLeftCorner, setSize, setWidth, updateAnchorsacceptIncomingLink, acceptOutgoingLink, addElement, beginDrag, bounds, drag, dragElementPosition, drawRecursive, elementDidLoad, elementDimensionDidChange, elementPositionDidChange, findElementWithLabel, getAnchor, getAnchorClosestToPoint, getAnchorKeyClosestToPoint, getDefaultAnchorOffset, getElements, getFirstElement, getLabel, getLabelColor, getLastElement, getPosition, getPositionX, getPositionY, isDraggable, isFocused, isLabelEqualsTo, isLabelVisible, isSelected, isVisibleInClip, match, move, moveToPosition, removeElement, setAnchor, setColor, setDraggable, setElements, setFocused, setLabel, setLabelColor, setLabelVisible, setPanel, setPenSize, setPosition, setPosition, setSelected, toStringpublic void setHighlighted(boolean flag)
public void draw(Graphics2D g)
draw in class GElementRectpublic void setSpanWidth(double width)
public double getLeftSpan()
public double getRightSpan()
public double getLastChildRightSpan()
public double getFirstChildLeftSpan()
public double getLeft()
public double getTop()
public double getRight()
public double getBottom()
public void setTop(double top)
Copyright © 2013. All rights reserved.