Example usage for Java java.awt CardLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
CardLayout() Creates a new card layout with gaps of size zero. | |
CardLayout(int hgap, int vgap) Creates a new card layout with the specified horizontal and vertical gaps. |
void | last(Container parent) Flips to the last card of the container. |
void | next(Container parent) Flips to the next card of the specified container. |
void | previous(Container parent) Flips to the previous card of the specified container. |
void | setHgap(int hgap) Sets the horizontal gap between components. |
void | show(Container parent, String name) Flips to the component that was added to this layout with the specified name , using addLayoutComponent . |