Package org.astrogrid.samp.hub
Class HubServiceMode.ServiceGui
- java.lang.Object
-
- org.astrogrid.samp.hub.HubServiceMode.ServiceGui
-
- Enclosing class:
- HubServiceMode
static class HubServiceMode.ServiceGui extends java.lang.Object
Aggregates a HubService and an associated monitor/control window.
-
-
Field Summary
Fields Modifier and Type Field Description private HubService
service_
private javax.swing.JFrame
window_
-
Constructor Summary
Constructors Constructor Description ServiceGui()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HubService
getHubService()
Returns the hub service.javax.swing.JFrame
getWindow()
Returns a monitor/control window for this service, if available.
-
-
-
Field Detail
-
service_
private volatile HubService service_
-
window_
private javax.swing.JFrame window_
-
-
Method Detail
-
getHubService
public HubService getHubService()
Returns the hub service.- Returns:
- hub service object
-
getWindow
public javax.swing.JFrame getWindow()
Returns a monitor/control window for this service, if available.- Returns:
- window, or null
-
-