|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractList fr.emn.lite.Lite fr.emn.inputeditor.LiteShortcut
Field Summary |
Fields inherited from class fr.emn.lite.Lite |
model, oldParent, parent, PICK_ACTIVEBOUNDS, PICK_ALL, PICK_DEEPEST, PICK_FIRST, PICK_GRAPHBOUNDS, PICK_INSIDE, PICK_INTER, PICK_MANIPULABLE, visible |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
LiteShortcut(LiteNode n1,
LiteNode n2)
|
Method Summary | |
void |
concatenate(java.awt.geom.AffineTransform t)
no transform |
void |
doPaint(java.awt.Graphics2D g)
Include painting code here. |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds of the Lite object in its own coordinate system. |
java.awt.geom.GeneralPath |
getGhostPath(int maxDepth)
This method returns the ghost shape of this object. |
void |
invalidate()
|
static void |
invalidate(java.util.Vector v)
|
static void |
invalidateShortcuts(LiteNode n)
|
boolean |
pick(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D rect,
int strategy,
PickedList picked)
A shortcut is not interactive to its children. |
void |
preConcatenate(java.awt.geom.AffineTransform t)
no transform |
void |
setTransform(java.awt.geom.AffineTransform t)
no transform |
Methods inherited from class fr.emn.lite.Lite |
changeTransform, context, dist, equals, get, getActiveBounds, getActiveBoundsFrom, getAncestor, getAncestor, getBoundsFrom, getBoundsFromNoCorrect, getChildrenGhostPath, getCommonAncestor, getGhost_old, getGhost, getParent, getShadow, getTransform, getTransformFrom, getTransformNoCopy, isVisible, migrateBack, migrateTo, paint_old, paint, paintChildren, paintShadows, pickChildren, setContext, setParent, setVisible, size, toString, transformBounds |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public LiteShortcut(LiteNode n1, LiteNode n2)
Method Detail |
public void doPaint(java.awt.Graphics2D g)
Lite
Call PaintChildren if Lite object is a container.
doPaint
in class Lite
public java.awt.geom.Rectangle2D getBounds()
Lite
getBounds
in class Lite
public java.awt.geom.GeneralPath getGhostPath(int maxDepth)
Lite
By default, this method returns the path iterator of this object's bounds and appends its children's ghost path.
getGhostPath
in class Lite
#getChildrenGhostPath()
public void invalidate()
public static void invalidate(java.util.Vector v)
public static void invalidateShortcuts(LiteNode n)
public boolean pick(java.awt.Graphics2D g, java.awt.geom.Rectangle2D rect, int strategy, PickedList picked)
pick
in class Lite
rect
- The picking rectanglestrategy
- The picking strategy to be used, i.e. a combination
of a depth strategy and a geometrical strategy. Default value (0) is
PICK_DEEPEST | PICK_INTER.picked
- if this argument is not null, picked objects are added
to the pick list.public void concatenate(java.awt.geom.AffineTransform t)
concatenate
in class Lite
public void preConcatenate(java.awt.geom.AffineTransform t)
preConcatenate
in class Lite
public void setTransform(java.awt.geom.AffineTransform t)
setTransform
in class Lite
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |