|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPLayer
at.ac.tuwien.cs.ztimeview.ui.PTimeLayer
at.ac.tuwien.cs.ztimeview.ui.PLifeLinePlus
Piccolo class for a LifeLine+ (LifeLine with hierarchical decompostion) includes cached loading on demand of children
Constructor Summary | |
PLifeLinePlus()
Default constructor |
|
PLifeLinePlus(java.lang.String title,
Interval interval,
javax.swing.tree.MutableTreeNode userObject)
Constructor |
Method Summary | |
void |
collapse()
Collapse LifeLine+ (hide children) |
void |
expand()
Expand the LifeLine+ and show its children |
PLifeLinePlus |
getParentLine()
Get parent LifeLine+ |
java.lang.String |
getTitle()
Get title |
javax.swing.tree.MutableTreeNode |
getUserObject()
Get the user object |
boolean |
isExpanded()
Determines wheter the children are visible |
void |
layoutChildren()
Layout children of current layer |
void |
paint(PPaintContext aPaintContext)
Paint LifeLine+ Paints background if line is collapsed. |
void |
propertyChange(java.beans.PropertyChangeEvent pce)
Property change listener |
void |
setExtent()
Set height of line according to ratio or children |
void |
setParentLine(PLifeLinePlus parent)
Set parent LifeLine+ |
Methods inherited from class at.ac.tuwien.cs.ztimeview.ui.PTimeLayer |
addChild, getCollisionFreeLayout, getDefaultHeight, getEnd, getStart, removeAllChildren, setAlwaysUseDefaultHeight, setCollisionFreeLayout, setDefaultHeight, setEnd, setStart |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PLifeLinePlus()
public PLifeLinePlus(java.lang.String title, Interval interval, javax.swing.tree.MutableTreeNode userObject)
userObject
- user object for this viewMethod Detail |
public void setExtent()
setExtent
in class PTimeLayer
public void propertyChange(java.beans.PropertyChangeEvent pce)
propertyChange
in interface java.beans.PropertyChangeListener
pce
- property change eventpublic void layoutChildren()
layoutChildren
in class PTimeLayer
public void paint(PPaintContext aPaintContext)
aPaintContext
- paint context for drawingpublic void expand()
public void collapse()
public boolean isExpanded()
public PLifeLinePlus getParentLine()
public void setParentLine(PLifeLinePlus parent)
public java.lang.String getTitle()
public javax.swing.tree.MutableTreeNode getUserObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |