enum class fwt::CommandMode

sys::Obj
  sys::Enum
    fwt::CommandMode

@Js
@Serializable { simple=true }

Source

Enum for Command.mode.

fromStr

static new fromStr(Str name, Bool checked := true)

Source

Return the CommandMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

push

const static CommandMode push := ...

Source

toButtonMode

ButtonMode toButtonMode()

Source

toMenuItemMode

MenuItemMode toMenuItemMode()

Source

toggle

const static CommandMode toggle := ...

Source

vals

const static CommandMode[] vals := ...

Source

List of CommandMode values indexed by ordinal