org.apache.myfaces.tobago.layout
Class Box

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

public class Box
extends Object

Date: 28.05.2008 15:10:29


Constructor Summary
Box(Position position, Dimension dimension)
           
Box(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)
           
 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(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 String toString()
Overrides:
toString in class Object


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