Fantom

 

const final enum

fwt::SortMode

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

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

Enum for Table.sortMode.

Slots

downSource

const static SortMode down

Sort descending from largest to smallest

fromStrSource

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

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

toggleSource

SortMode toggle()

If up then return down; if down return up.

upSource

const static SortMode up

Sort ascending from smallest to largest

valsSource

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

List of SortMode values indexed by ordinal