com.lc.util.awt
Class MemoryCardLayout
java.lang.Object
|
+--java.awt.CardLayout
|
+--com.lc.util.awt.MemoryCardLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable
- public class MemoryCardLayout
- extends java.awt.CardLayout
A CardLayout keeping information on selected component.
- Version:
- $Revision: 1.1 $ $Date: 2002/03/22 08:41:23 $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Method Summary |
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
|
void |
first()
|
void |
first(java.awt.Container container)
|
java.awt.Component |
getComponent(java.lang.String name)
|
java.awt.Component |
getShown()
|
void |
last()
|
void |
last(java.awt.Container container)
|
void |
removeLayoutComponent(java.awt.Component comp)
Does not implement update of shown Component. |
void |
show(java.awt.Container parent,
java.lang.String name)
|
void |
show(java.lang.String name)
|
Methods inherited from class java.awt.CardLayout |
addLayoutComponent, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, next, preferredLayoutSize, previous, setHgap, setVgap, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MemoryCardLayout
public MemoryCardLayout(java.awt.Container container)
MemoryCardLayout
public MemoryCardLayout(java.awt.Container container,
int hgap,
int vgap)
addLayoutComponent
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
- Overrides:
addLayoutComponent
in class java.awt.CardLayout
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Does not implement update of shown Component.
- Overrides:
removeLayoutComponent
in class java.awt.CardLayout
- Parameters:
comp
-
first
public void first()
first
public void first(java.awt.Container container)
- Overrides:
first
in class java.awt.CardLayout
last
public void last()
last
public void last(java.awt.Container container)
- Overrides:
last
in class java.awt.CardLayout
show
public void show(java.lang.String name)
show
public void show(java.awt.Container parent,
java.lang.String name)
- Overrides:
show
in class java.awt.CardLayout
getComponent
public java.awt.Component getComponent(java.lang.String name)
getShown
public java.awt.Component getShown()