enum class fwt::SortMode

sys::Obj
  sys::Enum
    fwt::SortMode

@Js
@Serializable { simple=true }

Source

Enum for Table.sortMode.

down

const static SortMode down := ...

Source

Sort descending from largest to smallest

fromStr

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

Source

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

toggle

SortMode toggle()

Source

If up then return down; if down return up.

up

const static SortMode up := ...

Source

Sort ascending from smallest to largest

vals

const static SortMode[] vals := SortMode[SortMode.up,SortMode.down]

Source

List of SortMode values indexed by ordinal