public class AccountPasswordCommand extends java.lang.Object implements GUICommand
GUICommand
sending an account password change request.Constructor and Description |
---|
AccountPasswordCommand(@NotNull CommandCallback commandCallback,
@NotNull AbstractGUIElement button,
@NotNull GuiFactory guiFactory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Returns whether this command may be executed.
|
void |
execute()
Executes the command.
|
public AccountPasswordCommand(@NotNull @NotNull CommandCallback commandCallback, @NotNull @NotNull AbstractGUIElement button, @NotNull @NotNull GuiFactory guiFactory)
commandCallback
- what to inform of various changesbutton
- the item to link to to find the Gui from which to get
informationguiFactory
- the global GUI factory instancepublic boolean canExecute()
GUICommand
canExecute
in interface GUICommand
public void execute()
GUICommand
GUICommand.canExecute()
returns false
.execute
in interface GUICommand