Class JGrid.ScrollBar
Make your own free website on Tripod.com
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JGrid.ScrollBar

Object
   |
   +----Component
           |
           +----Canvas
                   |
                   +----JGrid.ScrollBar

public class ScrollBar
extends Canvas
implements Runnable

Variable Index

 o HORIZONTAL
 o VERTICAL

Constructor Index

 o JGrid.ScrollBar(int)

Method Index

 o getMaximum()
 o getValue()
 o minimumSize()
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o preferredSize()
 o reshape(int, int, int, int)
 o run()
 o setMaximum(int)
 o setMinimum(int)
 o setPageIncrement(int)
 o setValue(int)
 o setValues(int, int, int, int)
 o update(Graphics)

Variables

 o HORIZONTAL
public static final int HORIZONTAL
 o VERTICAL
public static final int VERTICAL

Constructors

 o ScrollBar
public ScrollBar(int aOrientation)

Methods

 o getMaximum
public int getMaximum()
 o getValue
public int getValue()
 o minimumSize
public java.awt.Dimension minimumSize()
Overrides:
minimumSize in class Component
 o mouseDown
public boolean mouseDown(Event e,
                         int x,
                         int y)
Overrides:
mouseDown in class Component
 o mouseDrag
public boolean mouseDrag(Event e,
                         int x,
                         int y)
Overrides:
mouseDrag in class Component
 o mouseUp
public boolean mouseUp(Event e,
                       int x,
                       int y)
Overrides:
mouseUp in class Component
 o paint
public void paint(Graphics g)
Overrides:
paint in class Canvas
 o preferredSize
public java.awt.Dimension preferredSize()
Overrides:
preferredSize in class Component
 o reshape
public void reshape(int x,
                    int y,
                    int width,
                    int height)
Overrides:
reshape in class Component
 o run
public void run()
 o setMaximum
public void setMaximum(int num)
 o setMinimum
public void setMinimum(int num)
 o setPageIncrement
public void setPageIncrement(int num)
 o setValue
public void setValue(int num)
 o setValues
public void setValues(int value,
                      int visible,
                      int minimum,
                      int maximum)
 o update
public void update(Graphics g)
Overrides:
update in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index