public class JBCardLayout
extends java.awt.CardLayout
Modifier and Type | Class and Description |
---|---|
static class |
JBCardLayout.SwipeDirection |
Constructor and Description |
---|
JBCardLayout() |
JBCardLayout(int hgap,
int vgap) |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp) |
java.awt.Component |
findComponentById(java.lang.String id) |
void |
first(java.awt.Container parent) |
void |
last(java.awt.Container parent) |
void |
layoutContainer(java.awt.Container parent) |
static void |
main(java.lang.String[] args) |
void |
next(java.awt.Container parent) |
void |
previous(java.awt.Container parent) |
void |
removeLayoutComponent(java.awt.Component comp) |
void |
show(java.awt.Container parent,
java.lang.String name) |
void |
swipe(java.awt.Container parent,
java.lang.String name,
JBCardLayout.SwipeDirection direction) |
void |
swipe(java.awt.Container parent,
java.lang.String name,
JBCardLayout.SwipeDirection direction,
java.lang.Runnable onDone) |
public JBCardLayout()
public JBCardLayout(int hgap, int vgap)
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
addLayoutComponent
in class java.awt.CardLayout
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
removeLayoutComponent
in class java.awt.CardLayout
public void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
layoutContainer
in class java.awt.CardLayout
public void swipe(java.awt.Container parent, java.lang.String name, JBCardLayout.SwipeDirection direction)
public void swipe(java.awt.Container parent, java.lang.String name, JBCardLayout.SwipeDirection direction, java.lang.Runnable onDone)
public void first(java.awt.Container parent)
first
in class java.awt.CardLayout
public void next(java.awt.Container parent)
next
in class java.awt.CardLayout
public void previous(java.awt.Container parent)
previous
in class java.awt.CardLayout
public void last(java.awt.Container parent)
last
in class java.awt.CardLayout
public void show(java.awt.Container parent, java.lang.String name)
show
in class java.awt.CardLayout
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public java.awt.Component findComponentById(java.lang.String id)