|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.iscream.cms.conient.SwingSafeAddCard
Allows components to be safely added to a pane using a card layout. This class takes a container and a component to add to the pane. It then should be added to the Swing Event Dispatching Thread in order that the add can carry out.
Field Summary | |
private JComponent |
_component
The component to add |
private Container |
_container
The container to add the component to |
private String |
_title
The title of the tab |
static String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
SwingSafeAddCard(Container container,
JComponent component,
String title)
Constructs a new instance. |
Method Summary | |
void |
run()
Executed by the Swing Event Dispatch thread to update the display. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String REVISION
private JComponent _component
private Container _container
private String _title
Constructor Detail |
public SwingSafeAddCard(Container container, JComponent component, String title)
container
- the container pane to add the component tocomponent
- the component to be added to the containertitle
- the title for the cardMethod Detail |
public void run()
run
in interface Runnable
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |