All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.CardPanel

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

public class CardPanel
extends Panel
Class CardPanel represents a panel using the CardLayout layout manager.


Constructor Index

 o CardPanel()
Constructs a new Card Panel.

Method Index

 o getCompNames()
Show the selected panel.
 o getSelectedComp()
Get the selected panel.
 o getSelectedComponent()
Get the handle of the selected panel.
 o setSelectedComp(String)
Show the selected panel.

Constructors

 o CardPanel
 public CardPanel()
Constructs a new Card Panel.

Methods

 o getCompNames
 public String[] getCompNames()
Show the selected panel.

Parameters:
the - index name of the requested panel.
 o setSelectedComp
 public boolean setSelectedComp(String compName)
Show the selected panel.

Parameters:
the - index name of the requested panel.
Returns:
whether the panel was found
 o getSelectedComp
 public String getSelectedComp()
Get the selected panel.

Returns:
the index name of the requested panel.
 o getSelectedComponent
 public Component getSelectedComponent()
Get the handle of the selected panel.

Returns:
the index name of the requested panel.

All Packages  Class Hierarchy  This Package  Previous  Next  Index