SEdit.Graphics
Class GRectangle
java.lang.Object
SEdit.Graphics.GObject
SEdit.Graphics.GNode
SEdit.Graphics.GRectangle
- Direct Known Subclasses:
- GLogicalDisplay, GPetriTransition, GPort, GRoundedRectangle
- public class GRectangle
- extends GNode
CLASSE GRectangle
Fields inherited from class SEdit.Graphics.GObject |
BOTTOM, bounds, CENTER, displayLabel, element, height, labelLocation, LEFT, RIGHT, selected, TOP, TOP_RIGHT, width, x, y |
Methods inherited from class SEdit.Graphics.GObject |
alignHorizontalTo, alignVerticalTo, delete, displayName, drag, getBounds, getCenter, getDimension, getDisplayLabel, getEditor, getForeground, getHeight, getLabelLocation, getLocation, getRectangle, getSElement, getWidth, init, intersection, isContainedIn, isSelectable, isSelected, reInstall, setCenter, setCenter, setDimension, setDisplayLabel, setEditor, setForeground, setHeight, setLabelLocation, setLocation, setLocation, setSElement, setSize, setWidth, snapToGrid, translate, translateBound, translateWrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rDefaultWidth
protected static int rDefaultWidth
rDefaultHeight
protected static int rDefaultHeight
GRectangle
public GRectangle()
paint
public void paint(Graphics g)
- Overrides:
paint
in class GObject
isContainedIn
public boolean isContainedIn(Rectangle r)
- Overrides:
isContainedIn
in class GNode
contains
public boolean contains(Point p)
- Overrides:
contains
in class GNode
intersection
public Point intersection(Point p)
- Overrides:
intersection
in class GNode
Copyright © J. Ferber, O. Gutknecht All Rights Reserved.