Java Platform 1.2
Beta 4

Class com.sun.java.swing.Box.Filler

java.lang.Object
  |
  +--java.awt.Component
        |
        +--com.sun.java.swing.Box.Filler

public static class Box.Filler
extends Component
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 Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.

See Also:
Serialized Form

Inner Class Summary
protected   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.awt.Component
action , add , addComponentListener , addFocusListener , addInputMethodListener , addKeyListener , addMouseListener , addMouseMotionListener , addNotify , addPropertyChangeListener , addPropertyChangeListener , bounds , checkImage , checkImage , coalesceEvents , contains , contains , createImage , createImage , deliverEvent , disable , disableEvents , dispatchEvent , doLayout , enable , enable , enableEvents , enableInputMethods , firePropertyChange , getAlignmentX , getAlignmentY , getBackground , getBounds , getBounds , getColorModel , getComponentAt , getComponentAt , getComponentOrientation , getCursor , getDropTarget , getFont , getFontMetrics , getForeground , getGraphics , getHeight , getInputContext , getInputMethodRequests , getLocale , getLocation , getLocation , getLocationOnScreen , getName , getParent , getPeer , getSize , getSize , getToolkit , getTreeLock , getWidth , getX , getY , gotFocus , handleEvent , hasFocus , hide , imageUpdate , inside , invalidate , isDisplayable , isDoubleBuffered , isEnabled , isFocusTraversable , isLightweight , isOpaque , isShowing , isValid , isVisible , keyDown , keyUp , layout , list , list , list , list , list , locate , location , lostFocus , minimumSize , mouseDown , mouseDrag , mouseEnter , mouseExit , mouseMove , mouseUp , move , nextFocus , paint , paintAll , paramString , postEvent , preferredSize , prepareImage , prepareImage , print , printAll , processComponentEvent , processEvent , processFocusEvent , processInputMethodEvent , processKeyEvent , processMouseEvent , processMouseMotionEvent , remove , removeComponentListener , removeFocusListener , removeInputMethodListener , removeKeyListener , removeMouseListener , removeMouseMotionListener , removeNotify , removePropertyChangeListener , removePropertyChangeListener , repaint , repaint , repaint , repaint , requestFocus , reshape , resize , resize , setBackground , setBounds , setBounds , setComponentOrientation , setCursor , setDropTarget , setEnabled , setFont , setForeground , setLocale , setLocation , setLocation , setName , setSize , setSize , setVisible , show , show , size , toString , transferFocus , update , validate
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

Field Detail

accessibleContext

protected AccessibleContext accessibleContext
The currently set AccessibleContext object.
Constructor Detail

Box.Filler

public Box.Filler(Dimension min,
                  Dimension pref,
                  Dimension max)
Constructor to create shape with the given size ranges.
Parameters:
min - Minimum size
pref - Preferred size
max - Maximum size
Method Detail

changeShape

public void changeShape(Dimension min,
                        Dimension pref,
                        Dimension max)
Change the size requests for this shape. An invalidate() is propagated upward as a result so that layout will eventually happen with using the new sizes.
Parameters:
min - Value to return for getMinimumSize
pref - Value to return for getPreferredSize
max - Value to return for getMaximumSize

getMinimumSize

public Dimension getMinimumSize()
Returns the minimum size of the component.
Returns:
the size
Overrides:
getMinimumSize in class Component

getPreferredSize

public Dimension getPreferredSize()
Returns the preferred size of the component.
Returns:
the size
Overrides:
getPreferredSize in class Component

getMaximumSize

public Dimension getMaximumSize()
Returns the maximum size of the component.
Returns:
the size
Overrides:
getMaximumSize in class Component

getAccessibleContext

public AccessibleContext getAccessibleContext()
Gets the AccessibleContext associated with this Component. Creates a new context if necessary.
Returns:
the AccessibleContext of this Component

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.