All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.HorizontalSpinButtonPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----symantec.itools.awt.SpinButtonPanel
|
+----symantec.itools.awt.HorizontalSpinButtonPanel
- public class HorizontalSpinButtonPanel
- extends SpinButtonPanel
This component groups two spin buttons horizontally. It is used for
spinners with the ORIENTATION_HORIZONTAL attribute set.
- See Also:
- Spinner, Orientation, ORIENTATION_HORIZONTAL
-
HorizontalSpinButtonPanel()
- Constructs the default HorizontalSpinButtonPanel.
-
reshape(int, int, int, int)
- Moves and/or resizes this component.
HorizontalSpinButtonPanel
public HorizontalSpinButtonPanel()
- Constructs the default HorizontalSpinButtonPanel.
The default size is 32 pixels across by 16 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