ICommand
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable
public abstract class ICommand implements System.IDisposable, Closeable
Defines a command.
Constructors
Constructor | Description |
---|---|
ICommand() |
Methods
Method | Description |
---|---|
canExecute() | Defines the operator that determines whether the command can execute in its current state. |
close() | |
equals(Object arg0) | |
execute() | Defines the method to be called when the command is invoked. |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ICommand()
public ICommand()
canExecute()
public abstract boolean canExecute()
Defines the operator that determines whether the command can execute in its current state.
Returns: boolean
close()
public void close()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
execute()
public abstract ICommand execute()
Defines the method to be called when the command is invoked.
Returns: ICommand - Returns next command to execute. By default returns itself.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |