java.lang.Object
javafx.scene.input.CommandBase<T>
- All Implemented Interfaces:
Command<T>
- Direct Known Subclasses:
FutureCommand,SimpleCommand
public abstract class CommandBase<T> extends Object implements Command<T>
-
Property Summary
Properties Type Property Description ReadOnlyBooleanPropertyexecutableGets a property that indicates whether the command is currently executable.ReadOnlyBooleanPropertyexecutingGets a property that indicates whether the command is currently executing. -
Constructor Summary
Constructors Modifier Constructor Description protectedCommandBase()protectedCommandBase(ObservableValue<Boolean> condition) -
Method Summary
Modifier and Type Method Description protected voidendExecution()ReadOnlyBooleanPropertyexecutableProperty()Gets a property that indicates whether the command is currently executable.ReadOnlyBooleanPropertyexecutingProperty()Gets a property that indicates whether the command is currently executing.protected voidstartExecution()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.scene.input.Command
execute, isExecutable, isExecuting
-
Property Details
-
executable
- Specified by:
executablePropertyin interfaceCommand<T>- See Also:
Command.isExecutable()
-
executing
- Specified by:
executingPropertyin interfaceCommand<T>- See Also:
Command.isExecuting()
-
-
Constructor Details
-
CommandBase
protected CommandBase() -
CommandBase
-
-
Method Details
-
executableProperty
Description copied from interface:CommandGets a property that indicates whether the command is currently executable.- Specified by:
executablePropertyin interfaceCommand<T>- See Also:
Command.isExecutable()
-
executingProperty
Description copied from interface:CommandGets a property that indicates whether the command is currently executing.- Specified by:
executingPropertyin interfaceCommand<T>- See Also:
Command.isExecuting()
-
startExecution
protected void startExecution() -
endExecution
protected void endExecution()
-