All Packages Class Hierarchy This Package Previous Next Index
Class tea.set.ImageButtonA
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----tea.set.BaseA
|
+----tea.set.ImageButtonA
- public class ImageButtonA
- extends BaseA
ImageButtonA is an applet wrapper for ImageButton widget. It can be
used inside a HTML page to provide an active button. An URL can be
attached to the ImageButton. When the button is activated, the
attached URL will be shown in the specified frame. It supports
the following parameters:
- ImageButton.IMAGE
- an URL string pointing to the image file.
- ImageButton.IMAGE2
- an URL string pointing to the image file
for use as the pressed button image.
- ImageButton.URL
- URL to display when this button is pressed.
- ImageButton.TARGET
- the target frame to display the URL page. If this parameter is
missing, _self is assumed.
- ImageButton.TOGGLE
- TRUE if the button should behave like a toggle button.
- ImageButton.STATE
- initial toggle state, TRUE or FALSE.
- ImageButton.LABEL
- string as button label.
- ImageButton.DISPLAY
- the ImageButton display style, IMAGE_ONLY,
LABEL_ONLY, or LABEL_IMAGE.
- ImageButton.POSITION
- of the ImageButton label position options: LEFT, RIGHT, TOP, BOTTOM.
-
ImageButtonA()
-
-
getWidget()
- This method is overriden by actual applet to return the
widget corresponding to this applet wrapper.
-
init()
- Applet initialization method.
ImageButtonA
public ImageButtonA()
init
public void init()
- Applet initialization method.
- Overrides:
- init in class Applet
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:
- ImageButton widget.
- Overrides:
- getWidget in class BaseA
All Packages Class Hierarchy This Package Previous Next Index