SpreadSheetWidget

Undocumented in source.

Constructors

this
this(string ID)
Undocumented in source.

Members

Functions

layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

onCellActivated
void onCellActivated(GridWidgetBase source, int col, int row)

Callback for handling of cell double click or Enter key press

onCellSelected
void onCellSelected(GridWidgetBase source, int col, int row)

Callback for handling of cell selection

onScrollEvent
bool onScrollEvent(AbstractSlider source, ScrollEvent event)

handle scroll event

onViewScrolled
void onViewScrolled(GridWidgetBase source, int col, int row)

Callback for handling of view scroll (top left visible cell change)

Variables

_editControl
SheetEditControl _editControl;
Undocumented in source.
_hScroll1
ScrollBar _hScroll1;
Undocumented in source.
_hScroll2
ScrollBar _hScroll2;
Undocumented in source.
_scrollbars
ScrollBar[4] _scrollbars;
Undocumented in source.
_tabs
SheetTabs _tabs;
Undocumented in source.
_vScroll1
ScrollBar _vScroll1;
Undocumented in source.
_vScroll2
ScrollBar _vScroll2;
Undocumented in source.
_viewBottomLeft
SpreadSheetView _viewBottomLeft;
Undocumented in source.
_viewBottomRight
SpreadSheetView _viewBottomRight;
Undocumented in source.
_viewTopLeft
SpreadSheetView _viewTopLeft;
Undocumented in source.
_viewTopRight
SpreadSheetView _viewTopRight;
Undocumented in source.
_views
SpreadSheetView[4] _views;
Undocumented in source.

Inherited Members

From WidgetGroupDefaultDrawing

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

From OnScrollHandler

onScrollEvent
bool onScrollEvent(AbstractSlider source, ScrollEvent event)

handle scroll event

From CellSelectedHandler

onCellSelected
void onCellSelected(GridWidgetBase source, int col, int row)
Undocumented in source.

From CellActivatedHandler

onCellActivated
void onCellActivated(GridWidgetBase source, int col, int row)
Undocumented in source.

From ViewScrolledHandler

onViewScrolled
void onViewScrolled(GridWidgetBase source, int col, int row)
Undocumented in source.

Meta