Fantom

 

const final enum

fwt::CommandMode

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

@Js
@Serializable { simple=true collection=false }

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

const static CommandMode push

toButtonModeSource

ButtonMode toButtonMode()

toMenuItemModeSource

MenuItemMode toMenuItemMode()

toggleSource

const static CommandMode toggle

valsSource

const static CommandMode[] vals := ...

List of CommandMode values indexed by ordinal