public final class SwingContainer
extends org.apache.avalon.fortress.impl.DefaultContainer
implements org.apache.avalon.framework.activity.Startable, java.awt.event.ActionListener, java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JFrame |
m_frame |
private java.lang.String |
m_key |
private javax.swing.JLabel |
m_label |
private Translator |
m_translator |
DEFAULT_ENTRY, m_classLoader, m_commandSink, m_componentContext, m_components, m_context, m_extManager, m_instrumentManager, m_loggerManager, m_mapper, m_metaManager, m_poolManager, m_serviceManager, m_shutDownOrder, SELECTOR_ENTRY| Constructor and Description |
|---|
SwingContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Method called when the user changes the selected item in the
combobox.
|
void |
dispose()
Cleans up references to retrieved components.
|
void |
initialize()
Initializes this component.
|
void |
run() |
void |
start()
Starts the component, makes GUI visible, ready for use.
|
void |
stop()
Stops component, make GUI invisible, ready for decomissioning.
|
configure, getServiceManager, interpretProxyaddComponent, contextualize, createHintMap, createObjectFactory, get, getProxyManager, getRoleKey, has, provideComponentContext, provideServiceManager, service, setProxyManagerprivate Translator m_translator
private javax.swing.JFrame m_frame
private javax.swing.JLabel m_label
private java.lang.String m_key
public void initialize()
throws java.lang.Exception
initialize in interface org.apache.avalon.framework.activity.Initializableinitialize in class org.apache.avalon.fortress.impl.AbstractContainerjava.lang.Exception - if an error occurspublic void start()
start in interface org.apache.avalon.framework.activity.Startablepublic void run()
run in interface java.lang.Runnablepublic void stop()
stop in interface org.apache.avalon.framework.activity.Startablepublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerevt - an ActionEvent instancepublic void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposabledispose in class org.apache.avalon.fortress.impl.AbstractContainer