org.kalmeo.kuix.layout
Class StaticLayoutData

java.lang.Object
  extended by org.kalmeo.kuix.layout.StaticLayoutData
All Implemented Interfaces:
LayoutData

public class StaticLayoutData
extends java.lang.Object
implements LayoutData

Author:
bbeaulant

Field Summary
 Alignment alignment
           
 int height
           
static StaticLayoutData instanceFull
           
 int width
           
 int x
           
 int y
           
 
Constructor Summary
StaticLayoutData(Alignment alignment)
          Construct a StaticLayoutData
StaticLayoutData(Alignment alignment, int width, int height)
          Construct a StaticLayoutData If width or height is < 1 it is considered as percentage else pixels size.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceFull

public static final StaticLayoutData instanceFull

x

public int x

y

public int y

alignment

public Alignment alignment

width

public int width

height

public int height
Constructor Detail

StaticLayoutData

public StaticLayoutData(Alignment alignment)
Construct a StaticLayoutData

Parameters:
alignment -

StaticLayoutData

public StaticLayoutData(Alignment alignment,
                        int width,
                        int height)
Construct a StaticLayoutData If width or height is < 1 it is considered as percentage else pixels size. Both width and height are representing by fixed-point integer. org.kalmeo.util.FPUtil for more informations

Parameters:
alignment -
width - a fixed-point integer representing the width
height - a fixed-point integer representing the height


Copyright © 2007-2008 Kalmeo. All Rights Reserved.