Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans has been added to the java.beans package.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Component a, Component b)
Implements java. Compares its two arguments for order. |
| pack-priv void |
| horizontal | back to summary |
|---|---|
| private boolean horizontal | |
| leftToRight | back to summary |
|---|---|
| private boolean leftToRight | |
| ROW_TOLERANCE | back to summary |
|---|---|
| private static final int ROW_TOLERANCE | |
| LayoutComparator | back to summary |
|---|---|
| pack-priv LayoutComparator() | |
| compare | back to summary |
|---|---|
| public int compare(Component a, Component b) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| setComponentOrientation | back to summary |
|---|---|
| pack-priv void setComponentOrientation(ComponentOrientation orientation) | |