Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.co.ist.mwt.PanedWindowConstraints
Field Summary | |
static int | kAnySize
Constant to specify that a child's current size is undefined, or that its minimum/maximum size is undefined. |
static int | kLastPosition
Constant to allow users to specify 'last in the child list' when specifying a position in this list for a child |
int | paneMaximum
The maximum size to which this child may be sized; if less than the paneMaximum, results are undefined. |
int | paneMinimum
The minimum size to which this child may be sized; if greater than the paneMaximum, results are undefined. |
int | positionIndex
The position of the child within the PanedWindowLayout - a child is moved to this position when its constraints are set, so if another child already occupies this position, it is 'shifted up' a position, as are all children in 'higher' positions. |
Constructor Summary | |
PanedWindowConstraints(int minSize,
int maxSize,
int pos)
Constructs a constraints object with a particular minimum and maximum size and a particular position in the list of the paned window's children |
|
PanedWindowConstraints(int minSize,
int maxSize)
Constructs a constraints object with a particular minimum and maximum size |
|
PanedWindowConstraints(int pos)
Constructs a constraints object with a particular position in the list of the paned window's children |
|
PanedWindowConstraints()
Constructs a constraints object with sensible default values |
Method Summary | |
java.lang.Object | clone()
Clones these constraints |
int | getPaneMaximum()
Gets the maximum size of the component whose constraints this object is. |
int | getPaneMinimum()
Gets the minimum size of the component whose constraints this object is. |
int | getPositionIndex()
Gets the index of the component whose constraints this object is in the paned window's list of children. |
void | setPaneMaximum(int maxSize)
Sets the maximum size of the component whose constraints this object is. |
void | setPaneMinimum(int minSize)
Sets the minimum size of the component whose constraints this object is. |
void | setPositionIndex(int pos)
Sets the index of the component whose constraints this object is in the paned window's list of children. |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Field Detail |
public static final int kLastPosition
public static final int kAnySize
public int paneMinimum
public int paneMaximum
public int positionIndex
Constructor Detail |
public PanedWindowConstraints(int minSize, int maxSize, int pos)
public PanedWindowConstraints(int minSize, int maxSize)
public PanedWindowConstraints(int pos)
public PanedWindowConstraints()
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public void setPaneMaximum(int maxSize)
public int getPaneMaximum()
public void setPaneMinimum(int minSize)
public int getPaneMinimum()
public void setPositionIndex(int pos)
public int getPositionIndex()
Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |