Class symantec.itools.awt.util.spinner.HorizontalSpinButtonPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class symantec.itools.awt.util.spinner.HorizontalSpinButtonPanel
Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Panel
                           |
                           +----SpinButtonPanel
                                   |
                                   +----symantec.itools.awt.util.spinner.HorizontalSpinButtonPanel
  -  public class HorizontalSpinButtonPanel
  
-  extends SpinButtonPanel
  
This component groups two spin buttons horizontally. It is used for
 spinners with the ORIENTATION_HORIZONTAL attribute set.
  -  Version:
  
 -  1.1, August 27, 1997
  
 -  Author:
  
 -  Symantec
    
 -  See Also:
    
 -  Spinner, Orientation, ORIENTATION_HORIZONTAL
 
  
  -  
	heightWidthRatio
   -   The ratio of height to width of the spinner buttons.
 
  
  -  
	symantec.itools.awt.util.spinner.HorizontalSpinButtonPanel()
   -   Constructs the default HorizontalSpinButtonPanel.
 
  
  -  
	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.
 
  
heightWidthRatio
protected double heightWidthRatio
  -  The ratio of height to width of the spinner buttons.  i.e. height is  * width.
 
  
HorizontalSpinButtonPanel
public HorizontalSpinButtonPanel()
  -  Constructs the default HorizontalSpinButtonPanel.
  
 
 
  
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