de.lessvoid.nifty.layout
Class LayoutPart

java.lang.Object
  extended by de.lessvoid.nifty.layout.LayoutPart

public class LayoutPart
extends Object

LayoutPart is a composition of Box and BoxConstraints.

Author:
void

Constructor Summary
LayoutPart()
          Create a new instance.
LayoutPart(Box newBox, BoxConstraints newBoxConstraints)
          Create a new LayoutPart instance.
LayoutPart(LayoutPart src)
          copy constructor.
 
Method Summary
 Box getBox()
          Get the box of this LayoutPart.
 BoxConstraints getBoxConstraints()
          Get the box constraints for this LayoutPart.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutPart

public LayoutPart()
Create a new instance.


LayoutPart

public LayoutPart(Box newBox,
                  BoxConstraints newBoxConstraints)
Create a new LayoutPart instance.

Parameters:
newBox - the new box
newBoxConstraints - the new box constraints

LayoutPart

public LayoutPart(LayoutPart src)
copy constructor.

Parameters:
src - source
Method Detail

getBox

public final Box getBox()
Get the box of this LayoutPart.

Returns:
the box

getBoxConstraints

public final BoxConstraints getBoxConstraints()
Get the box constraints for this LayoutPart.

Returns:
the box Constraints

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.