|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSEdit.Graphics.GObject
SEdit.Graphics.GNode
SEdit.Graphics.GRectangle
public class GRectangle
CLASSE GRectangle
Field Summary | |
---|---|
protected static int |
rDefaultHeight
|
protected static int |
rDefaultWidth
|
Fields inherited from class SEdit.Graphics.GNode |
---|
HANDLE_SIZE, resizable, selectedHandle |
Fields inherited from class SEdit.Graphics.GObject |
---|
BOTTOM, bounds, CENTER, displayLabel, element, height, labelLocation, LEFT, RIGHT, selected, TOP, TOP_RIGHT, width, x, y |
Constructor Summary | |
---|---|
GRectangle()
|
Method Summary | |
---|---|
boolean |
contains(java.awt.Point p)
|
java.awt.Point |
intersection(java.awt.Point p)
|
boolean |
isContainedIn(java.awt.Rectangle r)
|
void |
paint(java.awt.Graphics g)
|
Methods inherited from class SEdit.Graphics.GNode |
---|
displayHandles, doDrag, doReSelect, getResizable, getSelectedHandle, select, setResizable |
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 |
Field Detail |
---|
protected static int rDefaultWidth
protected static int rDefaultHeight
Constructor Detail |
---|
public GRectangle()
Method Detail |
---|
public void paint(java.awt.Graphics g)
paint
in class GObject
public boolean isContainedIn(java.awt.Rectangle r)
isContainedIn
in class GNode
public boolean contains(java.awt.Point p)
contains
in class GNode
public java.awt.Point intersection(java.awt.Point p)
intersection
in class GNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |