Class symantec.itools.awt.util.spinner.VerticalSpinButtonPanel
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.util.spinner.VerticalSpinButtonPanel
Object
|
+----Component
|
+----Container
|
+----Panel
|
+----SpinButtonPanel
|
+----symantec.itools.awt.util.spinner.VerticalSpinButtonPanel
- public class VerticalSpinButtonPanel
- extends SpinButtonPanel
This component groups two spin buttons vertically. It is used for
spinners with the ORIENTATION_VERTICAL attribute set.
- Version:
- 1.1, August 27, 1997
- Author:
- Symantec
- See Also:
- Spinner, Orientation, ORIENTATION_VERTICAL
-
widthHeightRatio
- The ratio of width to height of the spinner buttons.
-
symantec.itools.awt.util.spinner.VerticalSpinButtonPanel()
- Constructs the default VerticalSpinButtonPanel.
-
getMinimumSize()
- Returns the minimum dimensions to properly display this component.
-
getPreferredSize()
- Returns the recommended dimensions to properly display this component.
-
minimumSize()
-
-
preferredSize()
-
-
reshape(int, int, int, int)
- Moves and/or resizes this component.
widthHeightRatio
protected double widthHeightRatio
- The ratio of width to height of the spinner buttons. i.e. width is * height.
VerticalSpinButtonPanel
public VerticalSpinButtonPanel()
- Constructs the default VerticalSpinButtonPanel.
getMinimumSize
public java.awt.Dimension getMinimumSize()
- 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.
It simply returns the results of a call to preferedSize().
- Overrides:
- getMinimumSize in class Container
getPreferredSize
public java.awt.Dimension getPreferredSize()
- 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.
- Overrides:
- getPreferredSize in class SpinButtonPanel
minimumSize
public java.awt.Dimension minimumSize()
- Note: minimumSize() is deprecated.
-
- Overrides:
- minimumSize in class Container
- See Also:
- getMinimumSize().
preferredSize
public java.awt.Dimension preferredSize()
- Note: preferredSize() is deprecated.
-
- Overrides:
- preferredSize in class Container
- See Also:
- getPreferredSize().
reshape
public void reshape(int x,
int y,
int width,
int height)
- Moves and/or resizes this component.
This is a standard Java AWT method which gets called to move and/or
resize this component. Components that are in containers with layout
managers should not call this method, but rely on the layout manager
instead.
This method is overridden to reshape the two direction buttons.
- Parameters:
- x - horizontal position in the parent's coordinate space
- y - vertical position in the parent's coordinate space
- width - the new width
- height - the new height
- Overrides:
- reshape in class Component
All Packages Class Hierarchy This Package Previous Next Index