abstract classpetanque::Panel

sys::Obj
  fwt::Widget
    fwt::Canvas
      petanque::Panel

Panel is the fundamental scrollable pane used to contain an Editor and ItemLists

borderColor

Source

Color borderColor := Color.<ctor>(8947848)

colCount

Source

abstract Int colCount()

Total number of columns

colToX

Source

Int colToX(Int col)

Convert logical column to x coordinate

colw

Source

abstract Int colw()

Width of each column

gutterBorder

Source

Color gutterBorder := Color.<ctor>(14540253)

gutterColor

Source

Color gutterColor := Color.<ctor>(15658734)

hthumbh

Source

Int hthumbh := 9

lineCount

Source

abstract Int lineCount()

Total number of lines

lineToY

Source

Int lineToY(Int line)

Convert logical line to y coordinate

lineh

Source

abstract Int lineh()

Height of each line

make

Source

new make()

margin

Source

Insets margin := ...

onPaint

Source

override Void onPaint(Graphics g)

onPaintBackground

Source

virtual Void onPaintBackground(Graphics g)

Paint the background

onPaintLines

Source

abstract Void onPaintLines(Graphics g, Range lines)

Paint the viewport's given range of lines. The viewport is already translated for scroll position so that 0,0 represents the top, left corner of current scroll line/col.

prefSize

Source

virtual override Size prefSize(Hints hints := Hints.defVal)

scrollToCol

Source

Void scrollToCol(Int startCol)

Scroll so given column is top of viewport

scrollToLine

Source

Void scrollToLine(Int startLine)

Scroll so given line is top of viewport

thumbColor

Source

Color thumbColor := Color.<ctor>(12303291)

thumbMin

Source

Int thumbMin := 30

viewportColor

Source

Color viewportColor := Color.white

viewportCols

Source

Range viewportCols()

Get inclusive range of columns current in viewport

viewportLines

Source

Range viewportLines()

Get inclusive range of lines current in viewport

vthumbw

Source

Int vthumbw := 9

wallpaperColor

Source

Color wallpaperColor := Desktop.sysBg

xToCol

Source

Int xToCol(Int x)

Point position to logical columns

yToLine

Source

Int yToLine(Int y)

Point position to logical line