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
Color borderColor := Color.<ctor>(8947848)
- colCount
abstract Int colCount()
Total number of columns
- colToX
Convert logical column to x coordinate
- colw
abstract Int colw()
Width of each column
- gutterBorder
Color gutterBorder := Color.<ctor>(14540253)
- gutterColor
Color gutterColor := Color.<ctor>(15658734)
- hthumbh
Int hthumbh := 9
- lineCount
abstract Int lineCount()
Total number of lines
- lineToY
Convert logical line to y coordinate
- lineh
abstract Int lineh()
Height of each line
- make
new make()
- margin
Insets margin := ...
- onPaint
- onPaintBackground
virtual Void onPaintBackground(Graphics g)
Paint the background
- onPaintLines
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
- scrollToCol
Void scrollToCol(Int startCol)
Scroll so given column is top of viewport
- scrollToLine
Void scrollToLine(Int startLine)
Scroll so given line is top of viewport
- thumbColor
Color thumbColor := Color.<ctor>(12303291)
- thumbMin
Int thumbMin := 30
- viewportColor
Color viewportColor := Color.white
- viewportCols
Range viewportCols()
Get inclusive range of columns current in viewport
- viewportLines
Range viewportLines()
Get inclusive range of lines current in viewport
- vthumbw
Int vthumbw := 9
- wallpaperColor
Color wallpaperColor := Desktop.sysBg
- xToCol
Point position to logical columns
- yToLine
Point position to logical line