private class GuiHubConnector.HubAction
extends javax.swing.AbstractAction
| Modifier and Type | Field and Description |
|---|---|
private boolean |
external_ |
private HubServiceMode |
hubMode_ |
private boolean |
isAvailable_ |
| Constructor and Description |
|---|
HubAction(boolean external,
HubServiceMode hubMode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
private void |
attemptRunHub()
Tries to start a hub, but may throw an exception.
|
boolean |
isEnabled() |
private final boolean external_
private final HubServiceMode hubMode_
private final boolean isAvailable_
HubAction(boolean external,
HubServiceMode hubMode)
external - false to run in the current JVM,
true to run in a new onehubMode - hub modepublic void actionPerformed(java.awt.event.ActionEvent evt)
public boolean isEnabled()
isEnabled in interface javax.swing.ActionisEnabled in class javax.swing.AbstractActionprivate void attemptRunHub()
throws java.io.IOException
java.io.IOException