com.croftsoft.core.gui.layout
Class CardFlipper
java.lang.Object
com.croftsoft.core.gui.layout.CardFlipper
public final class CardFlipper
- extends Object
Provides an abstraction wrapper for the CardLayout.show() method.
Use when you do not want to give the caller a reference to the
parentContainer.
Java 1.1 compatible.
- Since:
- 2001-03-26
- Version:
- 2001-03-26
- Author:
- David W. Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CardFlipper
public CardFlipper(Container parentContainer,
CardLayout cardLayout)
CardFlipper
public CardFlipper(Container parentContainer)
- this ( parentContainer,
( CardLayout ) parentContainer.getLayout ( ) );
flipCard
public void flipCard(String cardName)
- Throws:
NullArgumentException
- If cardName is null.
CroftSoft Core Javadoc (2008-09-28 20:58:02)