|
Public Types |
typedef OglGui::SizableWindow | SizableWindow |
typedef OglGui::TitledWindow | TitledWindow |
typedef OglGui::Window | Window |
typedef OglGui::Button | Button |
typedef OglGui::DirectionButton | DirectionButton |
typedef OglGui::CheckBox | CheckBox |
typedef OglGui::TextField | TextField |
typedef OglGui::MenuOnButton | MenuOnButton |
typedef OglGui::MenuTopPane | MenuTopPane |
typedef OglGui::Menu | Menu |
typedef OglGui::StaticText | StaticText |
Public Member Functions |
| TableWindowColumn (Window *parent, ColumnListener *l, TableDataView *source, CString name, int width=120) |
void | SetDisplayMode (int mode, int attr=TableWindowCell::NONE) |
int | GetDisplayMode () |
void | SetSortType (int type) |
TableViewCache * | GetViewCache () |
virtual void | DisplayFunc () |
virtual void | ButtonSelectionEvent (Button *src, void *userData) |
void | DoSort () |
virtual bool | OnCloseWindow (Window *src, void *userData) |
int | GetColumnWidth () |
void | SetColumnWidthDynamic (bool value) |
bool | GetColumnWidthDynamic () |
void | ResetFilter (bool callEvents=true) |
TableWindowCell * | GetCell (int index) |
void | HideCellsFrom (int index) |
Static Public Member Functions |
static int | GetHeaderHeight () |
static bool | GetUpdatingColumnWidths () |
static void | SetUpdatingColumnWidths (bool value) |
Public Attributes |
int | mDisplayMode |
int | mDisplayAttr |
Static Public Attributes |
static const int | BTN_CONFIGURE = 1 |
static const int | BTN_SORT = 2 |
static const int | BTN_APPLY_FILTER = 3 |
static const int | BTN_REMOVE_FILTER = 4 |
static bool | sUpdatingColumnWidths |
static int | sHeaderHeight |
Private Member Functions |
virtual void | UpdateSortEvent (String col, bool ascending) |
void | OpenConfigWindow () |
void | ReleaseConfigWindow () |
virtual void | TextFieldChangedEvent (TextField *src, void *userData) |
virtual void | CheckBoxEvent (CheckBox *src, bool checked, void *userData) |
virtual void | OnMenuItem (Menu *src, int menuIdx, String itemName, int itemIdx, void *userData) |
virtual void | WindowReshapeEvent (Window *source, int w, int h, void *userData) |
virtual void | WindowMouseEvent (Window *src, int msg, int but, int state, int x, int y, void *userData) |
void | UpdateHeader () |
void | Init (String name, Window *parent, ColumnListener *l, TableDataView *source, int w, int h) |
Private Attributes |
bool | mColWidthDynamic |
int | mSortType |
int | mColWidth |
bool | mIsActiveSortColumn |
String | mColumnName |
TableDataView * | mSource |
TableViewCache * | mCache |
TableFilter * | mFilter |
std::vector< TableWindowCell * > | mCellCache |
SizableWindow * | mColumnHeader |
Button * | mColumnHeaderButton |
TitledWindow * | mConfigWindow |
DirectionButton * | mSortButton |
TextField * | mFilterTextField |
MenuTopPane * | mMenuTopPane |
MenuOnButton * | mFilterValueButton |
StaticText * | mFilterHelpAsc |
CheckBox * | mFilterAscButton |
ColumnListener * | mColumnListener |
| ILOG_VAR_DEC |