public class ToggleServerLockAction extends AbstractConsoleAction implements DBManEventListenerI, FeatureListenerI
| Constructor and Description |
|---|
ToggleServerLockAction(ConsoleFrame _frame,
ClientContextI ctx,
java.awt.Component contextObject)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
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 e)
DBMan event handling.
|
void |
setLocked(boolean newLocked)
Adjusts the state and looks of the action when the server was locked or
unlocked.
|
void |
setLocked(boolean newLocked,
boolean notifyOthers)
Adjusts the state and looks of the action when the server was locked or
unlocked.
|
makeName, sessionpublic ToggleServerLockAction(ConsoleFrame _frame, ClientContextI ctx, java.awt.Component contextObject)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class AbstractConsoleActionpublic void setLocked(boolean newLocked)
public void setLocked(boolean newLocked,
boolean notifyOthers)
public void processDBManEvent(DBManEvent e)
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-2026 OAshi S.à r.l. All Rights Reserved.