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 abstract class CardPanel
extends Panel
CardPanel employs a BorderLayout to lay out North and Center panels; extensions of CardPanel must implement Component setViewSelector(). The component returned from Component setViewSelector() 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()
 o CardPanel(Insets)
 o CardPanel(Insets, BorderStyle)

Method Index

 o addNotify()
 o addView(String, Component)
 o getCenterInsets()
 o getCenterPanel()
 o getWallpaper()
 o setCenterWallPaper(Image)
 o setViewSelector()
 o showView(String)

Constructors

 o CardPanel
 public CardPanel()
 o CardPanel
 public CardPanel(Insets centerInsets)
 o CardPanel
 public CardPanel(Insets centerInsets,
                  BorderStyle borderStyle)

Methods

 o setViewSelector
 public abstract Component setViewSelector()
 o addNotify
 public void addNotify()
Overrides:
addNotify in class Panel
 o setCenterWallPaper
 public void setCenterWallPaper(Image image)
 o getWallpaper
 public Image getWallpaper()
 o getCenterInsets
 public Insets getCenterInsets()
 o getCenterPanel
 protected Panel getCenterPanel()
 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