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
-
HORIZONTAL
- The horizontal Scrollbar variable.
-
VERTICAL
- The vertical Scrollbar variable.
-
VJScrollbar()
- Constructs a new vertical Scrollbar.
-
VJScrollbar(int)
- Constructs a new Scrollbar with the specified orientation.
-
VJScrollbar(int, int, int, int, int)
- Constructs a new Scrollbar with the specified orientation,
value, page size, and minumum and maximum values.
-
add(Component, int)
- Don't allow any components to be added
-
getLineIncrement()
- Gets the line increment for this scrollbar.
-
getMaximum()
- Returns the maximum value of this Scrollbar.
-
getMinimum()
- Returns the minimum value of this Scrollbar.
-
getOrientation()
- Returns the orientation for this Scrollbar.
-
getPageIncrement()
- Gets the page increment for this scrollbar.
-
getValue()
- Returns the current value of this Scrollbar.
-
getVisible()
- Returns the visible amount of the Scrollbar.
-
handleEvent(Event)
- Need to set the target of any scrollbar events to ourselves.
-
paramString()
- Returns the String parameters for this Scrollbar.
-
remove(Component)
- Don't allow any components to be removed
-
setLineIncrement(int)
- Sets the line increment for this scrollbar.
-
setPageIncrement(int)
- Sets the page increment for this scrollbar.
-
setValue(int)
- Returns the current value of this Scrollbar.
-
setValues(int, int, int, int)
- Sets the values for this Scrollbar.
HORIZONTAL
public final static int HORIZONTAL
- The horizontal Scrollbar variable.
VERTICAL
public final static int VERTICAL
- The vertical Scrollbar variable.
VJScrollbar
public VJScrollbar()
- Constructs a new vertical Scrollbar.
VJScrollbar
public VJScrollbar(int orientation)
- Constructs a new Scrollbar with the specified orientation.
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.
add
public Component add(Component comp,
int pos)
- Don't allow any components to be added
- Overrides:
- add in class Container
remove
public void remove(Component comp)
- Don't allow any components to be removed
- Overrides:
- remove in class Container
getOrientation
public int getOrientation()
- Returns the orientation for this Scrollbar.
getValue
public int getValue()
- Returns the current value of this Scrollbar.
setValue
public void setValue(int value)
- Returns the current value of this Scrollbar.
getMinimum
public int getMinimum()
- Returns the minimum value of this Scrollbar.
getMaximum
public int getMaximum()
- Returns the maximum value of this Scrollbar.
getVisible
public int getVisible()
- Returns the visible amount of the Scrollbar.
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.
getLineIncrement
public int getLineIncrement()
- Gets the line increment for this scrollbar.
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.
getPageIncrement
public int getPageIncrement()
- Gets the page increment for this scrollbar.
setValues
public void setValues(int value,
int visible,
int minimum,
int maximum)
- Sets the values for this Scrollbar.
paramString
protected String paramString()
- Returns the String parameters for this Scrollbar.
- Overrides:
- paramString in class Container
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