classmameChose::ContextBox

sys::Obj
  fwt::Widget
    fwt::Canvas
      mameChose::ContentBox
        mameChose::ContextBox : mameChose::Scrollable

ContextBox

apply

Void apply()

Apply the current selection (filter / refresh the list)

byItems

Void byItems(Str[] items, |Str onSelect)

gap

Int gap

getKeysHelp

virtual override Str[] getKeysHelp()

hlBg

Color hlBg := Color.makeArgb(255, 80, 120, 120)

items

Str[] items := Str[,]

keyButton1

virtual override Void keyButton1(EventHandler evt)

keyDown

virtual override Void keyDown(EventHandler evt)

keyUp

virtual override Void keyUp(EventHandler evt)

make

new make(Rect bounds, Int fontSize)

paintContents

virtual override Void paintContents(Graphics g)

scrollIndex

virtual override Int scrollIndex := 0

scrollItems

virtual override Int scrollItems := 0

scrollSize

virtual override Int scrollSize := 0

scrollTop

virtual override Int scrollTop := 0

selectCallback

|Str selectCallback := |Str->Void| { ... }

text

Color text := Color.white