Fantom

 

const final enum

fwt::CommandMode

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

@simple
@js

Slots

fromStrSource

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

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

pushSource

static CommandMode push

toButtonModeSource

ButtonMode toButtonMode()

toMenuItemModeSource

MenuItemMode toMenuItemMode()

toggleSource

static CommandMode toggle

valsSource

static CommandMode[] vals := ...

List of CommandMode values indexed by ordinal