at.ac.tuwien.cs.ztimeview.ui
Class PPlanningLine

java.lang.Object
  extended byPLayer
      extended byat.ac.tuwien.cs.ztimeview.ui.PTimeLayer
          extended byat.ac.tuwien.cs.ztimeview.ui.PLifeLinePlus
              extended byat.ac.tuwien.cs.ztimeview.ui.PPlanningLine
All Implemented Interfaces:
java.util.EventListener, Interval, java.beans.PropertyChangeListener, Timed

public class PPlanningLine
extends PLifeLinePlus

Piccolo class for a PlanningLine (LifeLine with hierarchical decompostion and temporal uncertainties) includes cached loading on demand of children

Version:
0.1 created: 2004-06-06 last change: 2004-06-06
Author:
Wolfgang Aigner
See Also:
Serialized Form

Constructor Summary
PPlanningLine(java.lang.String title, ActivePlanningInterval interval, javax.swing.tree.MutableTreeNode userObject)
          Constructor
 
Method Summary
 void collapse()
          Collapse PlanningLine (hide children)
 void expand()
          Expand the PlanningLine and show its children
 void layoutChildren()
          Layout children of current layer
 void paint(PPaintContext aPaintContext)
          Paint the PlanningLine
 void propertyChange(java.beans.PropertyChangeEvent pce)
          Property change listener
 void setChildBounds()
          Set bounds of child elements according to line height
 
Methods inherited from class at.ac.tuwien.cs.ztimeview.ui.PLifeLinePlus
getParentLine, getTitle, getUserObject, isExpanded, setExtent, setParentLine
 
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

PPlanningLine

public PPlanningLine(java.lang.String title,
                     ActivePlanningInterval interval,
                     javax.swing.tree.MutableTreeNode userObject)
Constructor

Parameters:
userObject - user object for this view
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent pce)
Property change listener

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class PLifeLinePlus
Parameters:
pce - property change event

setChildBounds

public void setChildBounds()
Set bounds of child elements according to line height


expand

public void expand()
Expand the PlanningLine and show its children

Overrides:
expand in class PLifeLinePlus

collapse

public void collapse()
Collapse PlanningLine (hide children)

Overrides:
collapse in class PLifeLinePlus

layoutChildren

public void layoutChildren()
Layout children of current layer

Overrides:
layoutChildren in class PLifeLinePlus

paint

public void paint(PPaintContext aPaintContext)
Paint the PlanningLine

Overrides:
paint in class PLifeLinePlus
Parameters:
aPaintContext - paint context for drawing


Copyright © 2004 by Vienna University of Technology.