@Beta public abstract class CommandBase extends Object implements Command
Command. It provides the executableProperty() and
runningProperty() implementations.| Type | Property and Description |
|---|---|
javafx.beans.property.ReadOnlyBooleanProperty |
executable |
javafx.beans.property.ReadOnlyBooleanProperty |
notExecutable |
javafx.beans.property.ReadOnlyBooleanProperty |
notRunning |
javafx.beans.property.ReadOnlyBooleanProperty |
running |
progressProperty| Modifier and Type | Field and Description |
|---|---|
protected javafx.beans.property.ReadOnlyBooleanWrapper |
executable |
protected javafx.beans.property.ReadOnlyBooleanWrapper |
notExecutable |
protected javafx.beans.property.ReadOnlyBooleanWrapper |
notRunning |
protected javafx.beans.property.ReadOnlyBooleanWrapper |
running |
| Constructor and Description |
|---|
CommandBase() |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.ReadOnlyBooleanProperty |
executableProperty() |
abstract void |
execute()
This method will be called when the command is invoked.
|
boolean |
isExecutable()
Gets the value of the property executable.
|
boolean |
isNotExecutable()
Gets the value of the property notExecutable.
|
boolean |
isNotRunning()
Gets the value of the property notRunning.
|
boolean |
isRunning()
Gets the value of the property running.
|
javafx.beans.property.ReadOnlyBooleanProperty |
notExecutableProperty() |
javafx.beans.property.ReadOnlyBooleanProperty |
notRunningProperty() |
javafx.beans.property.ReadOnlyBooleanProperty |
runningProperty() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProgress, progressPropertypublic final javafx.beans.property.ReadOnlyBooleanProperty executableProperty
executableProperty in interface CommandisExecutable()public final javafx.beans.property.ReadOnlyBooleanProperty notExecutableProperty
notExecutableProperty in interface CommandisNotExecutable()public final javafx.beans.property.ReadOnlyBooleanProperty runningProperty
runningProperty in interface CommandisRunning()public final javafx.beans.property.ReadOnlyBooleanProperty notRunningProperty
notRunningProperty in interface CommandisNotRunning()protected final javafx.beans.property.ReadOnlyBooleanWrapper executable
protected final javafx.beans.property.ReadOnlyBooleanWrapper running
protected javafx.beans.property.ReadOnlyBooleanWrapper notExecutable
protected javafx.beans.property.ReadOnlyBooleanWrapper notRunning
public final javafx.beans.property.ReadOnlyBooleanProperty executableProperty()
executableProperty in interface CommandisExecutable()public final boolean isExecutable()
isExecutable in interface Commandtrue if the Command can executed, otherwise false.public final javafx.beans.property.ReadOnlyBooleanProperty notExecutableProperty()
notExecutableProperty in interface CommandisNotExecutable()public final boolean isNotExecutable()
isNotExecutable in interface Commandtrue if the Command can not execute, otherwise false.public final javafx.beans.property.ReadOnlyBooleanProperty runningProperty()
runningProperty in interface CommandisRunning()public final boolean isRunning()
public final javafx.beans.property.ReadOnlyBooleanProperty notRunningProperty()
notRunningProperty in interface CommandisNotRunning()public final boolean isNotRunning()
isNotRunning in interface Commandtrue if the Command is not running, otherwise false.Copyright © 2019 Saxonia Systems AG. All rights reserved.