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

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

public class PLifeLine
extends PTimeLayer
implements java.beans.PropertyChangeListener

Piccolo class for a LifeLine

Version:
0.3 created: 2004-05-20 last change: 2004-06-07
Author:
Wolfgang Aigner
See Also:
Serialized Form

Constructor Summary
PLifeLine()
          Default constructor
PLifeLine(java.lang.String aLabel, Interval aInterval)
          Constructor
 
Method Summary
 void paint(PPaintContext aPaintContext)
          Paint me (incl.
 boolean paintChildren(double scale)
          Check, if a child is painted
 boolean paintMe(double scale)
          Determines if this node should be painted
 void propertyChange(java.beans.PropertyChangeEvent pce)
          Set font size according to height of line
 
Methods inherited from class at.ac.tuwien.cs.ztimeview.ui.PTimeLayer
addChild, getCollisionFreeLayout, getDefaultHeight, getEnd, getStart, layoutChildren, removeAllChildren, setAlwaysUseDefaultHeight, setCollisionFreeLayout, setDefaultHeight, setEnd, setExtent, setStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PLifeLine

public PLifeLine()
Default constructor


PLifeLine

public PLifeLine(java.lang.String aLabel,
                 Interval aInterval)
Constructor

Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent pce)
Set font size according to height of line

Specified by:
propertyChange in interface java.beans.PropertyChangeListener

paint

public void paint(PPaintContext aPaintContext)
Paint me (incl. semantic zoom)


paintMe

public boolean paintMe(double scale)
Determines if this node should be painted

Parameters:
scale - current scale factor
Returns:
node to be painted

paintChildren

public boolean paintChildren(double scale)
Check, if a child is painted

Parameters:
scale - current scale factor
Returns:
if a child is going to be painted


Copyright © 2004 by Vienna University of Technology.