Modifier and Type | Method and Description |
---|---|
void |
add(Widget widget,
java.lang.String... constraints)
overridden to throw an IllegalArgumentException if this method gets
called.
|
void |
addCard(java.lang.String name,
Widget widget)
adds a
widget as 'card' in the stack and associates it with the
name . |
void |
selectCard(java.lang.String name)
makes the named 'card' visible.
|
setEnabled, setVisible
void add(Widget widget, java.lang.String... constraints)
This method should never be called, instead the
addCard(String, Widget)
method must be used.
widget
- the widget to addconstraints
- the MigLayout widget constraintsvoid addCard(java.lang.String name, Widget widget)
widget
as 'card' in the stack and associates it with the
name
.name
- the name given for the 'card'widget
- the widget to add as a 'card'void selectCard(java.lang.String name)
name
- the name of the card to pop to the top and make visible