Class sunsoft.jws.visual.rt.awt.VJScrollbar
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.awt.VJScrollbar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----sunsoft.jws.visual.rt.awt.VJScrollbar

public class VJScrollbar
extends Panel

Variable Index

 o HORIZONTAL
The horizontal Scrollbar variable.
 o VERTICAL
The vertical Scrollbar variable.

Constructor Index

 o VJScrollbar()
Constructs a new vertical Scrollbar.
 o VJScrollbar(int)
Constructs a new Scrollbar with the specified orientation.
 o VJScrollbar(int, int, int, int, int)
Constructs a new Scrollbar with the specified orientation, value, page size, and minumum and maximum values.

Method Index

 o add(Component, int)
Don't allow any components to be added
 o getLineIncrement()
Gets the line increment for this scrollbar.
 o getMaximum()
Returns the maximum value of this Scrollbar.
 o getMinimum()
Returns the minimum value of this Scrollbar.
 o getOrientation()
Returns the orientation for this Scrollbar.
 o getPageIncrement()
Gets the page increment for this scrollbar.
 o getValue()
Returns the current value of this Scrollbar.
 o getVisible()
Returns the visible amount of the Scrollbar.
 o handleEvent(Event)
Need to set the target of any scrollbar events to ourselves.
 o paramString()
Returns the String parameters for this Scrollbar.
 o remove(Component)
Don't allow any components to be removed
 o setLineIncrement(int)
Sets the line increment for this scrollbar.
 o setPageIncrement(int)
Sets the page increment for this scrollbar.
 o setValue(int)
Returns the current value of this Scrollbar.
 o setValues(int, int, int, int)
Sets the values for this Scrollbar.

Variables

 o HORIZONTAL
  public final static int HORIZONTAL
The horizontal Scrollbar variable.
 o VERTICAL
  public final static int VERTICAL
The vertical Scrollbar variable.

Constructors

 o VJScrollbar
  public VJScrollbar()
Constructs a new vertical Scrollbar.
 o VJScrollbar
  public VJScrollbar(int orientation)
Constructs a new Scrollbar with the specified orientation.
 o VJScrollbar
  public VJScrollbar(int orientation,
                     int value,
                     int visible,
                     int minimum,
                     int maximum)
Constructs a new Scrollbar with the specified orientation, value, page size, and minumum and maximum values.

Methods

 o add
  public Component add(Component comp,
                       int pos)
Don't allow any components to be added
Overrides:
add in class Container
 o remove
  public void remove(Component comp)
Don't allow any components to be removed
Overrides:
remove in class Container
 o getOrientation
  public int getOrientation()
Returns the orientation for this Scrollbar.
 o getValue
  public int getValue()
Returns the current value of this Scrollbar.
 o setValue
  public void setValue(int value)
Returns the current value of this Scrollbar.
 o getMinimum
  public int getMinimum()
Returns the minimum value of this Scrollbar.
 o getMaximum
  public int getMaximum()
Returns the maximum value of this Scrollbar.
 o getVisible
  public int getVisible()
Returns the visible amount of the Scrollbar.
 o setLineIncrement
  public void setLineIncrement(int l)
Sets the line increment for this scrollbar. This is the value that will be added (subtracted) when the user hits the line down (up) gadgets.
 o getLineIncrement
  public int getLineIncrement()
Gets the line increment for this scrollbar.
 o setPageIncrement
  public void setPageIncrement(int l)
Sets the page increment for this scrollbar. This is the value that will be added (subtracted) when the user hits the page down (up) gadgets.
 o getPageIncrement
  public int getPageIncrement()
Gets the page increment for this scrollbar.
 o setValues
  public void setValues(int value,
                        int visible,
                        int minimum,
                        int maximum)
Sets the values for this Scrollbar.
 o paramString
  protected String paramString()
Returns the String parameters for this Scrollbar.
Overrides:
paramString in class Container
 o handleEvent
  public boolean handleEvent(Event evt)
Need to set the target of any scrollbar events to ourselves.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index