All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.ScrollerA

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----tea.set.BaseA
                                           |
                                           +----tea.set.ScrollerA

public class ScrollerA
extends BaseA
ScrollerA is an applet wrapper for Scroller widget. It can be used inside HTML pages to add scrolling to any applet. No customized scrolling is possible unless the applet implements Scrollable interface directly. If not, the applet will be sized to its preferred size, and ScrollerA handles the scrolling of the applet inside scroller area. Parameters supported by ScrollerA are:
Scroller.APPLET
applet name to add scroller to.
Scroller.OPTION
scrolling options to control the scrolling of horizontal or vertical scrolling. It's a string containing V_SCROLL or V_FILL, and H_SCROLL or H_FILL, separated by '|'.
Scroller.H_LINE
horizontal line increment in pixels. Defaults to 1 pixel.
Scroller.H_PAGE
horizontal page increment in pixels. Defaults to full screen.
Scroller.V_LINE
vertical line increment in pixels. Defaults to 1 pixel.
Scroller.V_PAGE
vertical page increment in pixels. Defaults to full screen.

See Also:
Scroller

Constructor Index

 o ScrollerA()

Method Index

 o getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper.
 o init()
Applet initialization method.

Constructors

 o ScrollerA
 public ScrollerA()

Methods

 o init
 public void init()
Applet initialization method.

Overrides:
init in class Applet
 o getWidget
 public Component getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper. User can use this method to access the underlying widget directly.

Returns:
Scroller widget.
Overrides:
getWidget in class BaseA

All Packages  Class Hierarchy  This Package  Previous  Next  Index