public class ShutdownServerAction extends AbstractConsoleAction implements DBManEventListenerI, FeatureListenerI
| Constructor and Description |
|---|
ShutdownServerAction(ConsoleFrame frame,
ClientContextI ctx,
java.awt.Component contextObject)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Called when button was pressed, or whatever triggered the action.
|
void |
featureBecameAvailable(java.lang.String feature)
FeatureListenerI event handling.
|
void |
featureNoLongerAvailable(java.lang.String feature)
FeatureListenerI event handling.
|
boolean |
isEnabled() |
void |
processDBManEvent(DBManEvent event)
DBMan event handling.
|
void |
setInitiated(boolean b)
Adjusts the state and looks of the action when the shutdown was initiated
or stopped.
|
void |
setInitiated(boolean b,
boolean notifyOthers) |
getClient, makeNamepublic ShutdownServerAction(ConsoleFrame frame, ClientContextI ctx, java.awt.Component contextObject)
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class AbstractConsoleActionpublic void setInitiated(boolean b)
public void setInitiated(boolean b,
boolean notifyOthers)
public void processDBManEvent(DBManEvent event)
processDBManEvent in interface DBManEventListenerIpublic void featureBecameAvailable(java.lang.String feature)
featureBecameAvailable in interface FeatureListenerIpublic void featureNoLongerAvailable(java.lang.String feature)
featureNoLongerAvailable in interface FeatureListenerIpublic boolean isEnabled()
isEnabled in interface javax.swing.ActionisEnabled in class javax.swing.AbstractActionCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.