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

java.lang.Object
  extended byPLayer
      extended byat.ac.tuwien.cs.ztimeview.ui.PRulerLayer

public class PRulerLayer
extends PLayer

implementing the ruler

Version:
0.1 created: 2004-06-07 last change: 2004-06-07
Author:
Martin Tomitsch
See Also:
Serialized Form

Constructor Summary
PRulerLayer(int canvasWidth, int canvasHeight, java.util.Date start, java.util.Date end)
          constructor
 
Method Summary
 void addChild(int index, PNode child)
          Add a node to be a new child of this node at the specified index.
 void fullPaint(PPaintContext aPaintContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PRulerLayer

public PRulerLayer(int canvasWidth,
                   int canvasHeight,
                   java.util.Date start,
                   java.util.Date end)
constructor

Method Detail

addChild

public void addChild(int index,
                     PNode child)
Add a node to be a new child of this node at the specified index. If child was previously a child of another node, it is removed from that node first.

Parameters:
child - the new child to add to this node

fullPaint

public void fullPaint(PPaintContext aPaintContext)


Copyright © 2004 by Vienna University of Technology.