[]
        
(Showing Draft Content)

GC.Spread.Sheets.Designer.ICommand

インターフェイス: ICommand

Sheets.Designer.ICommand

Table of contents

プロパティ

メソッド

プロパティ

bigButton

オプション bigButton: string | boolean


comboHeight

オプション comboHeight: number


comboWidth

オプション comboWidth: number


commandMap

オプション commandMap: Object


commandName

commandName: string


commandOptions

オプション commandOptions: any


direction

オプション direction: string


オプション dropdownList: IListGroupItemData[]


オプション dropdownMaxHeight: number


オプション dropdownMaxWidth: number


enableContext

オプション enableContext: string


group

オプション group: string


hidden

オプション hidden: boolean


iconClass

オプション iconClass: string


iconHeight

オプション iconHeight: number


iconWidth

オプション iconWidth: number


isGroupItem

オプション isGroupItem: boolean


keepFocusInSpread

オプション keepFocusInSpread: boolean


listContent

オプション listContent: IListGroupItemData[]


maxHeight

オプション maxHeight: number


maxWidth

オプション maxWidth: number


needAsyncUpdate

オプション needAsyncUpdate: boolean


showDropdownButton

オプション showDropdownButton: boolean


subCommands

オプション subCommands: string[]


text

オプション text: string


textBoxHeight

オプション textBoxHeight: number


textBoxWidth

オプション textBoxWidth: number


title

オプション title: string


type

オプション type: string


visibleContext

オプション visibleContext: string


visiblePriority

オプション visiblePriority: number

メソッド

execute

Optional execute(context, propertyName?, value?): void

コマンドロジックを実行します。contextはDesignerインスタンスであり、propertyNameはトリガーソースを識別し、valueは入力値です。

パラメータ

名前
context Designer
propertyName? string
value? any

戻り値

void


getState

Optional getState(context): any

コマンドの現在の状態を取得します。contextパラメータはDesignerインスタンスです。コマンドの現在の状態(例: value、enabled、visible)を含むオブジェクトを返します。

パラメータ

名前
context Designer

戻り値

any


init

Optional init(context): void

コマンドが最初にロードされたときに初期化します。コマンド登録中に一度だけ呼び出されます。イベントリスナーを設定したり、アクションを登録したりするために使用します。

パラメータ

名前
context Designer

戻り値

void