Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--javax.swing.Box.Filler
An implementation of a lightweight component that participates in layout but has no view.
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. A future release of Swing will provide support for long term persistence.
Inner Class Summary | |
protected class |
Box.Filler.AccessibleBoxFiller
|
Field Summary | |
protected AccessibleContext |
accessibleContext
The currently set AccessibleContext object. |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
Box.Filler(Dimension min,
Dimension pref,
Dimension max)
Constructor to create shape with the given size ranges. |
Method Summary | |
void |
changeShape(Dimension min,
Dimension pref,
Dimension max)
Change the size requests for this shape. |
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this Component. |
Dimension |
getMaximumSize()
Returns the maximum size of the component. |
Dimension |
getMinimumSize()
Returns the minimum size of the component. |
Dimension |
getPreferredSize()
Returns the preferred size of the component. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected AccessibleContext accessibleContext
Constructor Detail |
public Box.Filler(Dimension min, Dimension pref, Dimension max)
min
- Minimum sizepref
- Preferred sizemax
- Maximum sizeMethod Detail |
public void changeShape(Dimension min, Dimension pref, Dimension max)
min
- Value to return for getMinimumSizepref
- Value to return for getPreferredSizemax
- Value to return for getMaximumSizepublic Dimension getMinimumSize()
public Dimension getPreferredSize()
public Dimension getMaximumSize()
public AccessibleContext getAccessibleContext()
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |