fi.helsinki.dacopan.model
Class ENCTreeModel.DrawableEncLayer

java.lang.Object
  extended by fi.helsinki.dacopan.model.ENCTreeModel.DrawableEncLayer
Enclosing class:
ENCTreeModel

public static class ENCTreeModel.DrawableEncLayer
extends java.lang.Object

This inner class encloses the concept of a single layer that's going to be drawn in the ENC animation. It consists of


Constructor Summary
ENCTreeModel.DrawableEncLayer()
           
ENCTreeModel.DrawableEncLayer(java.util.List list)
          This constructor takes a List of TransferUnits, and sets up the internal list to be a List of DrawableTransferUnits.
 
Method Summary
 java.util.List getDrawableUnits()
           
 ENCTreeModel.DrawableTransferUnit getFirstUnit()
          Gets the first unit of the layer.
 ENCTreeModel.DrawableTransferUnit getLastUnit()
          Gets the last unit of the layer.
 boolean hasSiblingsToTheLeft()
           
 boolean hasSiblingsToTheRight()
           
 void setSiblingsToTheLeft(boolean siblingsToTheLeft)
           
 void setSiblingsToTheRight(boolean siblingsToTheRight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENCTreeModel.DrawableEncLayer

public ENCTreeModel.DrawableEncLayer()

ENCTreeModel.DrawableEncLayer

public ENCTreeModel.DrawableEncLayer(java.util.List list)
This constructor takes a List of TransferUnits, and sets up the internal list to be a List of DrawableTransferUnits.

Parameters:
list -
Method Detail

hasSiblingsToTheLeft

public boolean hasSiblingsToTheLeft()
Returns:
Returns the siblingsToTheLeft.

setSiblingsToTheLeft

public void setSiblingsToTheLeft(boolean siblingsToTheLeft)
Parameters:
siblingsToTheLeft - The siblingsToTheLeft to set.

hasSiblingsToTheRight

public boolean hasSiblingsToTheRight()
Returns:
Returns the siblingsToTheRight.

setSiblingsToTheRight

public void setSiblingsToTheRight(boolean siblingsToTheRight)
Parameters:
siblingsToTheRight - The siblingsToTheRight to set.

getDrawableUnits

public java.util.List getDrawableUnits()
Returns:
Returns the List of DrawableTransferUnit objects.

getFirstUnit

public ENCTreeModel.DrawableTransferUnit getFirstUnit()
Gets the first unit of the layer.


getLastUnit

public ENCTreeModel.DrawableTransferUnit getLastUnit()
Gets the last unit of the layer.



© Dacopan2 team, 2005-