private static class HubServiceMode.BasicWindowConfig extends java.lang.Object implements HubServiceMode.Tidier
Modifier and Type | Field and Description |
---|---|
(package private) ConfigHubProfile[] |
configProfiles_ |
(package private) javax.swing.Action |
exitAct_ |
(package private) javax.swing.JFrame |
frame_ |
(package private) GuiHubService |
hubService_ |
(package private) HubServiceMode.ProfileToggler[] |
profileTogglers_ |
(package private) Hub[] |
runners_ |
Constructor and Description |
---|
BasicWindowConfig(javax.swing.JFrame frame,
HubProfile[] profiles,
Hub[] runners,
GuiHubService hubService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureMenus()
Configures menus on the window.
|
void |
configureWindow()
Perform configuration of window.
|
void |
tidyGui()
Performs any required tidying operations.
|
final javax.swing.JFrame frame_
final Hub[] runners_
final GuiHubService hubService_
final HubServiceMode.ProfileToggler[] profileTogglers_
final ConfigHubProfile[] configProfiles_
final javax.swing.Action exitAct_
BasicWindowConfig(javax.swing.JFrame frame, HubProfile[] profiles, Hub[] runners, GuiHubService hubService)
frame
- hub windowprofiles
- hub profiles to runrunners
- 1-element array which will contain an associated
hub runner object if one existshubService
- object providing hub servicespublic void configureWindow()
protected void configureMenus()
public void tidyGui()
HubServiceMode.Tidier
tidyGui
in interface HubServiceMode.Tidier