All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.VerticalSpinButtonPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----symantec.itools.awt.SpinButtonPanel
|
+----symantec.itools.awt.VerticalSpinButtonPanel
- public class VerticalSpinButtonPanel
- extends SpinButtonPanel
This component groups two spin buttons vertically. It is used for
spinners with the ORIENTATION_VERTICAL attribute set.
- See Also:
- Spinner, Orientation, ORIENTATION_VERTICAL
-
VerticalSpinButtonPanel()
- Constructs the default VerticalSpinButtonPanel.
-
reshape(int, int, int, int)
- Moves and/or resizes this component.
VerticalSpinButtonPanel
public VerticalSpinButtonPanel()
- Constructs the default VerticalSpinButtonPanel.
The default size is 16 pixels across by 22 down.
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 so they
both fit within the panel's new shape.
- 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