SkGridView Class Reference
#include <SkWidget.h>
Inherits SkWidgetView.
List of all members.
Detailed Description
Definition at line 424 of file SkWidget.h.
Member Enumeration Documentation
- Enumerator:
kBG_Attr |
|
kHiliteCell_Attr |
|
kAttrCount |
|
Definition at line 442 of file SkWidget.h.
Constructor & Destructor Documentation
SkGridView::SkGridView |
( |
uint32_t |
flags = 0 |
) |
|
virtual SkGridView::~SkGridView |
( |
|
) |
[virtual] |
Member Function Documentation
void SkGridView::getCellSize |
( |
SkPoint * |
|
) |
const |
int SkGridView::getSelection |
( |
|
) |
const [inline] |
Return the index of the selected item, or -1 if none
Definition at line 434 of file SkWidget.h.
void SkGridView::moveSelectionDown |
( |
|
) |
|
void SkGridView::moveSelectionUp |
( |
|
) |
|
virtual void SkGridView::onDraw |
( |
SkCanvas * |
|
) |
[protected, virtual] |
virtual bool SkGridView::onEvent |
( |
const SkEvent & |
|
) |
[protected, virtual] |
Override this to handle events in your subclass. Be sure to call the inherited version for events that you don't handle.
Reimplemented from SkEventSink.
virtual void SkGridView::onInflate |
( |
const SkDOM & |
dom, |
|
|
const SkDOM::Node * |
node | |
|
) |
| | [protected, virtual] |
Override this to initialize your subclass from the XML node. Be sure to call the inherited version too
Reimplemented from SkWidgetView.
virtual void SkGridView::onSizeChange |
( |
|
) |
[protected, virtual] |
void SkGridView::setSelection |
( |
int |
|
) |
|
Set the index of the selected row, or -1 for none
The documentation for this class was generated from the following file: