|
|||||||||||
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.LiteSlot
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 | |
LiteSlot(java.lang.String name,
java.lang.String fullName,
java.lang.String type,
java.lang.String supertype)
|
|
LiteSlot(java.lang.String name,
java.lang.String fullName,
java.lang.String type,
java.lang.String supertype,
boolean isMissing)
|
Method Summary | |
boolean |
canClone()
canClone method comment. |
boolean |
canDelete()
canDelete method comment. |
boolean |
canScale()
canScale method comment. |
boolean |
canSelect()
canSelect method comment. |
boolean |
canShortcut()
canShortcut method comment. |
boolean |
canTranslate()
canTranslate method comment. |
void |
doPaintInBlack(java.awt.Graphics2D g)
|
void |
doPaintInWhite(java.awt.Graphics2D g)
|
void |
expand(boolean exp)
|
java.awt.geom.Rectangle2D |
getActiveBounds()
|
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds of the Lite object in its own coordinate system. |
java.awt.geom.Point2D |
getCenterFrom(LiteContainer l)
|
LiteSlot[] |
getChildren()
Returns the children of this slot, or null if it is not hierarchical. |
java.lang.String |
getFullName()
|
java.util.LinkedList |
getLinks()
|
java.lang.String |
getName()
|
java.awt.Shape |
getShadow()
Returns this lite's own shadow, WITHOUT its children's shadows. |
static java.awt.Shape |
getShape(float slotSize,
java.lang.String type)
|
java.lang.String |
getType()
|
java.util.Vector |
h_children()
|
boolean |
hasSuperType()
|
void |
invertColor(boolean invert)
|
boolean |
isChild(LiteSlot par)
|
boolean |
isConnected()
|
boolean |
isExpanded()
|
boolean |
isHierarchical()
|
boolean |
isMissing()
|
void |
setFullName(java.lang.String fullName)
|
void |
setName(java.lang.String name)
|
void |
setType(java.lang.String type)
|
void |
toggleExpand()
|
Methods inherited from class fr.emn.lite.Lite |
changeTransform, concatenate, context, dist, doPaint, equals, get, getActiveBoundsFrom, getAncestor, getAncestor, getBoundsFrom, getBoundsFromNoCorrect, getChildrenGhostPath, getCommonAncestor, getGhost_old, getGhost, getGhostPath, getParent, getTransform, getTransformFrom, getTransformNoCopy, isVisible, migrateBack, migrateTo, paint_old, paint, paintChildren, paintShadows, pick, pickChildren, preConcatenate, setContext, setParent, setTransform, 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 LiteSlot(java.lang.String name, java.lang.String fullName, java.lang.String type, java.lang.String supertype)
public LiteSlot(java.lang.String name, java.lang.String fullName, java.lang.String type, java.lang.String supertype, boolean isMissing)
Method Detail |
public void invertColor(boolean invert)
public boolean canClone()
canClone
in interface Manipulable
public boolean canDelete()
canDelete
in interface Manipulable
public boolean canScale()
canScale
in interface Manipulable
public boolean canSelect()
canSelect
in interface Manipulable
public boolean canShortcut()
canShortcut
in interface Manipulable
public boolean canTranslate()
canTranslate
in interface Manipulable
public boolean hasSuperType()
public static java.awt.Shape getShape(float slotSize, java.lang.String type)
public void expand(boolean exp)
public java.awt.geom.Rectangle2D getActiveBounds()
getActiveBounds
in class Lite
public java.awt.geom.Rectangle2D getBounds()
Lite
getBounds
in class Lite
public java.awt.geom.Point2D getCenterFrom(LiteContainer l)
public java.lang.String getFullName()
public java.util.LinkedList getLinks()
public java.lang.String getName()
public java.awt.Shape getShadow()
Lite
By default, this method returns null. If you want your object to cast shadows, subclass it and return your shadow's shape (the most simple is getBounds()). Be careful : your shadow must stay inside lite's bounds.
getShadow
in class Lite
public java.lang.String getType()
public java.util.Vector h_children()
public boolean isConnected()
public boolean isExpanded()
public boolean isHierarchical()
public boolean isChild(LiteSlot par)
public boolean isMissing()
public void setFullName(java.lang.String fullName)
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public void toggleExpand()
public LiteSlot[] getChildren()
public void doPaintInBlack(java.awt.Graphics2D g)
public void doPaintInWhite(java.awt.Graphics2D g)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |