Class tea.set.FolderA
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.FolderA

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

public class FolderA
extends BaseA
FolderA is an applet wrapper of Folder. It provides a tab like container to put any applet into. Parameters for the child applets can be specified inside the applet tag in the normal fashion. Any parameter not recognized by FolderA are passed to child applets automatically. Parameters supported include:
Folder.DEMO
if TRUE, create a demo panel.
Folder.TAB$n
$n is a number starting from 0 to the number of applets to put in the container. The value of this parameter is used as the tab name.
Folder.CONTENT$n
$n is a number starting from 0 to the number of applets to put in the folder. The value of this parameter should be the applet name. The applet id of the applet is set to the corresponding tab string. This means to pass parameter to the applet, the tab string needs to to prepended to the parameter name. For example, to pass X parameter to Graph inside tab 'Graph Demo', the parameter name should be "Graph Demo.Graph.X".
Folder.STYLE
style specifies how and where the tabs are placed. There are four styles: TOP, LEFT, BOTTOM, and RIGHT.
Folder.3D
display folder in 3D mode (default) if TRUE, plain otherwise.
Example: 
<applet code=tea/set/FolderA width=... height=...>
<param name=tab0 value="Graph Demo">
<param name="Graph Demo.Graph.STYLE" value=BAR3D>
<param name="Graph Demo.Graph.X" value="1,2,3,4,5,6">
<param name="Graph Demo.Graph.Y" value="5.5,2,9,3,4.2,8">
<param name=content0 value=tea.set.GraphA>
...
See Also:
Folder

Constructor Index

 o FolderA()

Method Index

 o action(Event, Object)
For demo only.
 o init()
Applet initialization method.
 o start()
Start all applets in this container.
 o stop()
Stop all applets in this container.

Constructors

 o FolderA
  public FolderA()

Methods

 o init
  public void init()
Applet initialization method.
Overrides:
init in class Applet
 o start
  public void start()
Start all applets in this container.
Overrides:
start in class Applet
 o stop
  public void stop()
Stop all applets in this container.
Overrides:
stop in class Applet
 o action
  public boolean action(Event e,
                        Object arg)
For demo only.
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index