public class ProcessingUI extends java.lang.Object implements Serviceable, Startable, ProcessingUIComponent, ApplicationToolBar, ApplicationMenuBar
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessingUI.SwitchAction |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
components |
protected javax.swing.JFrame |
frame |
protected ProcessingManager |
manager |
protected ServiceManager |
serviceManager |
SERVICEMENU_ID_EDIT, MENU_ID_FILE, MENU_ID_HELP, MENU_ID_VIEW, SERVICE| Constructor and Description |
|---|
ProcessingUI() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(javax.swing.Action action) |
void |
addAction(java.awt.Component component) |
void |
addViewComponent(ViewComponent component) |
boolean |
hasMenu(java.lang.String id) |
protected void |
initialize() |
void |
setAction(java.lang.String menuID,
javax.swing.Action action) |
void |
setJMenuItem(java.lang.String menuID,
javax.swing.JMenuItem item) |
void |
setMenu(java.lang.String menuID,
javax.swing.JMenu menu) |
void |
setProcessingManager(ProcessingManager manager)
Set the current @see ProcessingManager of the application.
|
void |
setServiceManager(ServiceManager manager)
Set the @see ServiceManager of the application.
|
void |
setVisible(boolean b) |
protected void |
shutdown() |
void |
start() |
void |
stop() |
protected ServiceManager serviceManager
protected ProcessingManager manager
protected javax.swing.JFrame frame
protected java.util.List components
protected void initialize()
public void setVisible(boolean b)
public void addViewComponent(ViewComponent component)
public void setServiceManager(ServiceManager manager)
ServiceablesetServiceManager in interface Serviceablepublic void setProcessingManager(ProcessingManager manager)
ProcessingUIComponentsetProcessingManager in interface ProcessingUIComponentpublic void addAction(javax.swing.Action action)
addAction in interface ApplicationToolBarpublic void addAction(java.awt.Component component)
addAction in interface ApplicationToolBarpublic boolean hasMenu(java.lang.String id)
hasMenu in interface ApplicationMenuBarpublic void setAction(java.lang.String menuID,
javax.swing.Action action)
setAction in interface ApplicationMenuBarpublic void setJMenuItem(java.lang.String menuID,
javax.swing.JMenuItem item)
setJMenuItem in interface ApplicationMenuBarpublic void setMenu(java.lang.String menuID,
javax.swing.JMenu menu)
setMenu in interface ApplicationMenuBarprotected void shutdown()