ise.java.awt
Class KappaLayout.Constraints

java.lang.Object
  extended by ise.java.awt.KappaLayout.Constraints
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
KappaLayout

public static class KappaLayout.Constraints
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

This class is cloneable so that users may create and reuse a Constraints object similar to how one would use a GridBagConstraints rather than the string parameters.

See Also:
Serialized Form

Field Summary
 int a
          alignment within cell, see comments in KappaLayout
 int h
          # rows high
 int p
          padding, same amount of blank space on all four sides of component
 java.lang.String s
          stretch: default is 0 (character zero, no stretch), w = width of cell, h = height of cell, wh = both width and height
 int w
          # columns wide
 int x
          start column
 int y
          start row
 
Constructor Summary
KappaLayout.Constraints()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String toString()
          Plain String representation of this Constraints, suitable for using as a constraints string if needed.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x
start column


y

public int y
start row


w

public int w
# columns wide


h

public int h
# rows high


a

public int a
alignment within cell, see comments in KappaLayout


s

public java.lang.String s
stretch: default is 0 (character zero, no stretch), w = width of cell, h = height of cell, wh = both width and height


p

public int p
padding, same amount of blank space on all four sides of component

Constructor Detail

KappaLayout.Constraints

public KappaLayout.Constraints()
Method Detail

toString

public java.lang.String toString()
Plain String representation of this Constraints, suitable for using as a constraints string if needed.

Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object
Returns:
a clone of this object.


Copyright © 2000 Dale Anson, All Rights Reserved.
KappaLayout Home Page