All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.util.ToolBarSpacer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----symantec.itools.awt.util.ToolBarSpacer
- public class ToolBarSpacer
- extends Canvas
ToolBarPanelSpacer component.
This component is used to space items in a ToolBarPanel.
- See Also:
- ToolBarPanel
-
ToolBarSpacer()
- Create a ToolBarSpacer.
-
minimumSize()
- Returns the minimum dimensions to properly display this component.
-
paint(Graphics)
- Paints this component using the given graphics context.
-
preferredSize()
- Returns the recommended dimensions to properly display this component.
ToolBarSpacer
public ToolBarSpacer()
- Create a ToolBarSpacer.
paint
public void paint(Graphics g)
- Paints this component using the given graphics context.
This is a standard Java AWT method which typically gets called
by the AWT to handle painting this component. It paints this component
using the given graphics context. The graphics context clipping region
is set to the bounding rectangle of this component and its <0,0>
coordinate is this component's top-left corner.
Fills the spacer's area with the background color.
- Parameters:
- g - the graphics context used for painting
- Overrides:
- paint in class Canvas
- See Also:
- repaint, update
preferredSize
public synchronized Dimension preferredSize()
- Returns the recommended dimensions to properly display this component.
This is a standard Java AWT method which gets called to determine
the recommended size of this component.
- Returns:
- the width of this component and a height of tallest component the
ToolBarPanel.
- Overrides:
- preferredSize in class Component
- See Also:
- minimumSize
minimumSize
public synchronized Dimension minimumSize()
- Returns the minimum dimensions to properly display this component.
This is a standard Java AWT method which gets called to determine
the minimum size of this component.
In this case the minimum size is the same as the preferred size.
- Overrides:
- minimumSize in class Component
- See Also:
- preferredSize
All Packages Class Hierarchy This Package Previous Next Index