- checkIfNeededToChangeScrollbarVisibility
void checkIfNeededToChangeScrollbarVisibility()
Undocumented in source. Be warned that the author may not have intended to support it.
- checkIfScrollbarsNeeded
void checkIfScrollbarsNeeded(bool needHScroll, bool needVScroll)
override to determine if scrollbars are needed or not
- drawClient
void drawClient(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawExtendedArea
void drawExtendedArea(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- fullContentSize
Point fullContentSize()
calculate full content size in pixels
- fullContentSizeWithBorders
Point fullContentSizeWithBorders()
calculate full content size in pixels including widget borders / margins
- handleClientRectLayout
void handleClientRectLayout(Rect rc)
override to support modification of client rect after change, e.g. apply offset
- layout
void layout(Rect rc)
Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).
- makeRectVisible
void makeRectVisible(Rect rc, bool alignHorizontally, bool alignVertically)
Undocumented in source. Be warned that the author may not have intended to support it.
- measure
void measure(int parentWidth, int parentHeight)
Measure widget according to desired width and height constraints. (Step 1 of two phase layout).
- minimumVisibleContentSize
Point minimumVisibleContentSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- onDraw
void onDraw(DrawBuf buf)
Draw widget at its position to buffer
- onHScroll
bool onHScroll(ScrollEvent event)
process horizontal scrollbar event
- onMouseEvent
bool onMouseEvent(MouseEvent event)
process mouse event; return true if event is processed by widget.
- onScrollEvent
bool onScrollEvent(AbstractSlider source, ScrollEvent event)
- onVScroll
bool onVScroll(ScrollEvent event)
process vertical scrollbar event
- updateHScrollBar
void updateHScrollBar()
update horizontal scrollbar widget position
- updateScrollBars
void updateScrollBars()
update scrollbar positions
- updateVScrollBar
void updateVScrollBar()
update verticat scrollbar widget position
- clientRect
Rect clientRect [@property getter]
returns client area rectangle
- hscrollbar
ScrollBar hscrollbar [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hscrollbar
ScrollBar hscrollbar [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hscrollbarMode
ScrollBarMode hscrollbarMode [@property getter]
horizontal scrollbar mode
- hscrollbarMode
ScrollBarMode hscrollbarMode [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vscrollbar
ScrollBar vscrollbar [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vscrollbar
ScrollBar vscrollbar [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vscrollbarMode
ScrollBarMode vscrollbarMode [@property getter]
- vscrollbarMode
ScrollBarMode vscrollbarMode [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Abstract scrollable widget
Provides scroll bars and basic scrolling functionality.