fr.emn.inputeditor
Class LitePin

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byfr.emn.lite.Lite
              extended byfr.emn.lite.LiteContainer
                  extended byfr.emn.inputeditor.LiteNode
                      extended byfr.emn.inputeditor.LitePin
All Implemented Interfaces:
java.util.Collection, java.util.List, Manipulable, Uniteable

public class LitePin
extends LiteNode

Une classe vite fait pour representer les pins


Field Summary
 
Fields inherited from class fr.emn.inputeditor.LiteNode
activeBounds, bounds, label, titleFont
 
Fields inherited from class fr.emn.lite.LiteContainer
children
 
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
LitePin(java.lang.String lbl)
           
 
Method Summary
 void doPaint(java.awt.Graphics2D g)
          Include painting code here.
 void invalidate()
           
 boolean isExpanded()
           
 void setExpanded(boolean expand)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class fr.emn.inputeditor.LiteNode
canClone, canDelete, canScale, canSelect, canShortcut, canTranslate, canUniteWith, getActiveBounds, getAssociatedLinks, getAssociatedShortcuts, getBounds, getIns, getLabel, getLiteInSlots, getLiteOutSlots, getOuts, getShadow, getSlot, getUnionInstance, hasExternalInput, hasExternalOutput, isMissing, migrateBack, migrateTo, setExternal
 
Methods inherited from class fr.emn.lite.LiteContainer
add, add, get, getChildrenBounds, remove, remove, set, set, size
 
Methods inherited from class fr.emn.lite.Lite
changeTransform, concatenate, context, dist, equals, getActiveBoundsFrom, getAncestor, getAncestor, getBoundsFrom, getBoundsFromNoCorrect, getChildrenGhostPath, getCommonAncestor, getGhost_old, getGhost, getGhostPath, getParent, getTransform, getTransformFrom, getTransformNoCopy, isVisible, paint_old, paint, paintChildren, paintShadows, pick, pickChildren, preConcatenate, setContext, setParent, setTransform, setVisible, toString, transformBounds
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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

LitePin

public LitePin(java.lang.String lbl)
Method Detail

doPaint

public void doPaint(java.awt.Graphics2D g)
Description copied from class: Lite
Include painting code here.

Call PaintChildren if Lite object is a container.

Overrides:
doPaint in class LiteNode

setLabel

public void setLabel(java.lang.String label)
Overrides:
setLabel in class LiteNode

invalidate

public void invalidate()
Overrides:
invalidate in class LiteNode

setExpanded

public void setExpanded(boolean expand)
Overrides:
setExpanded in class LiteNode

isExpanded

public boolean isExpanded()
Overrides:
isExpanded in class LiteNode