|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttablelayout.TableOpts
public class TableOpts
This class parses the options string which specifies the layout options for an component. The layout options allow a component to be justified within the table cell, and allow the initial size and dynamic resizing of components to be constrained. Combinations of options can be used: tr means top and right, or north-east justification. Note that the justification does not do anything special with the labels of a Label components: it simply sets the positioning of the entire component within the cell of the TableLayout. If no options are specified for a component, all options will be false.
TableLayout
Field Summary | |
---|---|
boolean |
b
bottom justify component in table cell. |
boolean |
h
do not stretch height of row in which component is positioned during resizing. |
boolean |
H
do not stretch height of component during resizing. |
boolean |
l
left justify component in table cell. |
boolean |
r
right justify component in table cell. |
boolean |
t
top justify component in table cell. |
boolean |
w
do not stretch width of column in which component is positioned during resizing. |
boolean |
W
do not stretch width of component during resizing. |
Constructor Summary | |
---|---|
TableOpts()
|
|
TableOpts(String layout)
|
Method Summary | |
---|---|
Object |
clone()
Creates a clone of the object. |
String |
toString()
Returns the String representation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean l
public boolean r
public boolean t
public boolean b
public boolean w
public boolean h
public boolean W
public boolean H
Constructor Detail |
---|
public TableOpts()
public TableOpts(String layout)
layout
- the string that specifies the optionsMethod Detail |
---|
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |