Class symantec.itools.awt.VerticalSlider
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class symantec.itools.awt.VerticalSlider
Object
   |
   +----Component
           |
           +----Canvas
                   |
                   +----Slider
                           |
                           +----symantec.itools.awt.VerticalSlider
  -  public class VerticalSlider
  
-  extends Slider
  
This component is used to select one value
 from a continuous range of values. It has a movable thumb in front of a
 gauge with ticks marks on it.
 
  -  Version:
  
 -  1.1, July 17, 1997
  
 -  Author:
  
 -  Symantec
    
 -  See Also:
    
 -  HorizontalSlider
 
  
  -  
	TICK_WIDTH
   -   Length of the gauge ticks in pixels.
  
 -  
	actionCommand
   -   The command name of the action event fired by this component.
 
  
  -  
	symantec.itools.awt.VerticalSlider()
   -   Constructs a default VerticalSlider.
 
  
  -  
	addNotify()
   -   Tells this component that it has been added to a container.
  
 -  
	do_reshape(int, int)
   -   This abstract function is called by reshape.
  
 -  
	paint(Graphics)
   -   Paints this component using the given graphics context.
  
 -  
	removeNotify()
   -   Tells this component that it is being removed from a container.
  
 -  
	setTickStyle(int)
   -   Sets the current slider tick mark style.
 
  
TICK_WIDTH
protected static final int TICK_WIDTH
  -  Length of the gauge ticks in pixels.
 
actionCommand
protected java.lang.String actionCommand
  -  The command name of the action event fired by this component.
 
  
VerticalSlider
public VerticalSlider()
  -  Constructs a default VerticalSlider. The ticks
 are drawn on both sides of the gauge with a frequency of 1.
 The minimum value is 1. The maximum value is 10. The
 border is shown.
  
 
 
  
addNotify
public synchronized void addNotify()
  -  Tells this component that it has been added to a container.
 This is a standard Java AWT method which gets called by the AWT when
 this component is added to a container. Typically, it is used to
 create this component's peer.
 It has been overridden here to handle registering event listeners.
  
 
 
    -  Overrides:
    
 -  addNotify in class Slider
    
 -  See Also:
    
 -  removeNotify
  
 
 
 
do_reshape
protected void do_reshape(int w,
                          int h)
  -  This abstract function is called by reshape.
  
 
 
    -  Overrides:
    
 -  do_reshape in class Slider
  
 
 
 
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.
  
 
 
    -  Parameters:
    
 -  g - the graphics context used for painting
    
 -  Overrides:
    
 -  paint in class Slider
    
 -  See Also:
    
 -  repaint, update
  
 
 
 
removeNotify
public synchronized void removeNotify()
  -  Tells this component that it is being removed from a container.
 This is a standard Java AWT method which gets called by the AWT when
 this component is removed from a container. Typically, it is used to
 destroy the peers of this component and all its subcomponents.
 It has been overridden here to handle registering event listeners.
  
 
 
    -  Overrides:
    
 -  removeNotify in class Slider
    
 -  See Also:
    
 -  addNotify
  
 
 
 
setTickStyle
public void setTickStyle(int style) throws PropertyVetoException
  -  Sets the current slider tick mark style.
  
 
 
    -  Parameters:
    
 -  style - the new tick mark style, one of TICK_LEFT, TICK_RIGHT, or TICK_BOTH
    
 -  Throws: PropertyVetoException
    
 -   if the specified property value is unacceptable
    
 -  Overrides:
    
 -  setTickStyle in class Slider
    
 -  See Also:
    
 -  getTickStyle, TICK_LEFT, TICK_RIGHT, TICK_BOTH
  
 
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index