All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.ScrollPanel

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.Container
                   |
                   +----com.bulletproof.gui.ScrollPanel

public class ScrollPanel
extends Container
implements AdjustmentListener
Class ScrollPanel represents a class for laying out labels and fields while maintaining aligment of the Fields on the right hand of the panel. Scrollbars also appear if the components on this panel do not fit in the allocated space.


Constructor Index

 o ScrollPanel()
Constructs a new Scroll Panel.

Method Index

 o adjustmentValueChanged(AdjustmentEvent)
 o paint(Graphics)
Paints the components in this container.
 o removeAll()
Paints the components in this container.
 o setMasterDrawRegion(Rectangle)
Set the master drawing region for this coomponent.

Constructors

 o ScrollPanel
 public ScrollPanel()
Constructs a new Scroll Panel.

Methods

 o setMasterDrawRegion
 public void setMasterDrawRegion(Rectangle region)
Set the master drawing region for this coomponent.

Parameters:
region - the specified master drawing region
Overrides:
setMasterDrawRegion in class Container
 o removeAll
 public void removeAll()
Paints the components in this container.

Overrides:
removeAll in class Container
 o paint
 public void paint(Graphics g)
Paints the components in this container.

Parameters:
g - the specified Graphics window
Overrides:
paint in class Container
 o adjustmentValueChanged
 public void adjustmentValueChanged(AdjustmentEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index