fi.helsinki.dacopan.model
Class ENCTreeModel.DrawableTransferUnit

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

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

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


Constructor Summary
ENCTreeModel.DrawableTransferUnit(TransferUnit unit)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 TransferUnit getTransferUnit()
           
 java.util.List getVisibleChildIds()
           
 boolean hasMoreToTheLeft()
           
 boolean hasMoreToTheRight()
           
 void setMoreToTheLeft(boolean moreToTheLeft)
           
 void setMoreToTheRight(boolean moreToTheRight)
           
 void setVisibleChildIds(java.util.List visibleChildIds)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENCTreeModel.DrawableTransferUnit

public ENCTreeModel.DrawableTransferUnit(TransferUnit unit)
Method Detail

hasMoreToTheLeft

public boolean hasMoreToTheLeft()
Returns:
Returns whether there are more sibling units to the left of this unit.

setMoreToTheLeft

public void setMoreToTheLeft(boolean moreToTheLeft)
Parameters:
moreToTheLeft - Whether there are more units to the left.

hasMoreToTheRight

public boolean hasMoreToTheRight()
Returns:
Returns whether there are more sibling units to the right of this unit.

setMoreToTheRight

public void setMoreToTheRight(boolean moreToTheRight)
Parameters:
moreToTheRight - Whether there are more units to the right.

getTransferUnit

public TransferUnit getTransferUnit()
Returns:
Returns the transferUnit.

getVisibleChildIds

public java.util.List getVisibleChildIds()
Returns:
Returns the visibleChildIds.

setVisibleChildIds

public void setVisibleChildIds(java.util.List visibleChildIds)
Parameters:
visibleChildIds - The visibleChildIds to set.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


© Dacopan2 team, 2005-