SelectionContextCommand (クラス)
public abstract SelectionContextCommand {inherits CommandImpl}
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.BASE.
直接継承しているサブクラス: UndoCommand, CopyCommand, PasteCommand, SelectNothingCommand, SelectAllCommand, FindCommand, CutCommand, RedoCommand, DeleteCommand, RichTextAttributeCommand

SelectionContext で作動する全コマンドのスーパークラス。


コンストラクタ
default:新しい SelectionContextCommand を作成します。
コンストラクタ public {SelectionContextCommand.default
name:String,
context:SelectionContext
}

プロパティ
context:このコマンドが操作する SelectionContext
アクセサ public SelectionContextCommand.context:SelectionContext
enabled?:適切なパラメータ設定が適用されるとして、この CommandImpl が実行可能な状態にあるかどうかを調べます。
アクセサ public SelectionContextCommand.enabled?:bool
プロパティ 継承 CommandImpl: has-prompt?, impl, valid?
プロパティ 継承 Command: name
プロパティ 継承 Observable: has-observers?, notify-observers?

メソッド
メソッド 継承 CommandImpl: do-command, execute, prepare, prompt, update-completed
メソッド 継承 Command: ensure-updated, note-state-changed, request-update, update
メソッド 継承 Observable: add-observer, notify-observers, remove-observer
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize



コンストラクタ詳細
default (コンストラクタ)
public {SelectionContextCommand.default
name:String,
context:SelectionContext
}

新しい SelectionContextCommand を作成します。

name: このコマンドの名前を示す String
context: このコマンドが処理する SelectionContext



プロパティ詳細
context (アクセサ)
アクセサ public SelectionContextCommand.context:SelectionContext

このコマンドが操作する SelectionContext



enabled? (アクセサ)
アクセサ public SelectionContextCommand.enabled?:bool

適切なパラメータ設定が適用されるとして、この CommandImpl が実行可能な状態にあるかどうかを調べます。

オーバーライド

実装では、論理値、計算した任意の値、および super.enabled? を返します。





メソッド詳細