uic.layout
Class Entry
java.lang.Object
|
+--uic.layout.Constraints
|
+--uic.layout.Entry
- public class Entry
- extends Constraints
|
Field Summary |
protected Component |
component
Component bound by the constraints |
protected boolean |
singleCell
Does the component occupy a single cell |
protected uic.layout.Entry.ComponentSizes |
sizes
|
| Fields inherited from class uic.layout.Constraints |
ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_FILLED, ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_RIGHT, ALIGN_VERTICAL_BOTTOM, ALIGN_VERTICAL_CENTER, ALIGN_VERTICAL_FILLED, ALIGN_VERTICAL_TOP, col1, col2, hAlign, horizontalPolicy, row1, row2, SIZE_POLICY_EXPANDING, SIZE_POLICY_FIXED, SIZE_POLICY_IGNORED, SIZE_POLICY_MAXIMUM, SIZE_POLICY_MINIMUM, SIZE_POLICY_MINIMUM_EXPANDING, SIZE_POLICY_PREFERRED, vAlign, verticalPolicy |
|
Constructor Summary |
Entry(Component component,
uic.layout.Constraints constraint)
Constructs an Entry that binds a component to a set of constraints. |
component
protected Component component
- Component bound by the constraints
singleCell
protected boolean singleCell
- Does the component occupy a single cell
sizes
protected uic.layout.Entry.ComponentSizes sizes
Entry
public Entry(Component component,
uic.layout.Constraints constraint)
- Constructs an Entry that binds a component to a set of constraints.
- Parameters:
component - component being boundconstraint - constraints being applied
getMinimumWidth
public int getMinimumWidth()
getMinimumHeight
public int getMinimumHeight()
getMaximumWidth
public int getMaximumWidth()
getMaximumHeight
public int getMaximumHeight()
getPreferredWidth
public int getPreferredWidth()
getPreferredHeight
public int getPreferredHeight()
Copyright © 2002,2003 Thomas Zander