Class gjt.CardPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.CardPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----gjt.CardPanel

public class CardPanel
extends Panel
CardPanel employs a BorderLayout to lay out North and Center panels; extensions of CardPanel must implement Component viewSelector(). The component returned from Component viewSelector() is centered in the North panel, and should contain UI controls that allow selection of the component to be displayed in the Center panel.

See Also:
IconCardPanel, ChoiceCardPanel, ChoiceCardPanelTest, IconCardPanelTest

Constructor Index

 o CardPanel()

Method Index

 o addNotify()
 o addView(String, Component)
 o showView(String)
 o viewSelector()

Constructors

 o CardPanel
  public CardPanel()

Methods

 o viewSelector
  public abstract Component viewSelector()
 o addNotify
  public void addNotify()
Overrides:
addNotify in class Panel
 o addView
  protected void addView(String name,
                         Component component)
 o showView
  protected void showView(String name)

All Packages  Class Hierarchy  This Package  Previous  Next  Index