org.apache.myfaces.tobago.layout
Class Box

java.lang.Object
  extended by org.apache.myfaces.tobago.layout.Box

public class Box
extends java.lang.Object

User: lofwyr Date: 28.05.2008 15:10:29


Constructor Summary
Box(Position position, Dimension dimension)
           
Box(java.lang.String string)
           
 
Method Summary
 Measure getBottom()
          Convenience method to get top + height.
 Measure getHeight()
           
 Measure getLeft()
           
 Measure getRight()
          Convenience method to get left + width.
 Measure getTop()
           
 Measure getWidth()
           
 void setHeight(Measure height)
           
 void setLeft(Measure left)
           
 void setTop(Measure top)
           
 void setWidth(Measure width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Box

public Box(Position position,
           Dimension dimension)

Box

public Box(java.lang.String string)
Method Detail

getRight

public Measure getRight()
Convenience method to get left + width.


getBottom

public Measure getBottom()
Convenience method to get top + height.


getLeft

public Measure getLeft()

setLeft

public void setLeft(Measure left)

getTop

public Measure getTop()

setTop

public void setTop(Measure top)

getWidth

public Measure getWidth()

setWidth

public void setWidth(Measure width)

getHeight

public Measure getHeight()

setHeight

public void setHeight(Measure height)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.