enum class fwt::CommandMode
sys::Obj sys::Enum fwt::CommandMode
@Js
@Serializable { simple=true }
Enum for Command.mode
.
- fromStr
-
static new 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.
- push
-
const static CommandMode push := ...
- toButtonMode
-
ButtonMode toButtonMode()
- toMenuItemMode
-
MenuItemMode toMenuItemMode()
- toggle
-
const static CommandMode toggle := ...
- vals
-
const static CommandMode[] vals := ...
List of CommandMode values indexed by ordinal