Table Widget
Inheritance:
Public Methods
-
virtual FXbool canFocus() const
- Table widget can receive focus
-
virtual void setFocus()
- Move the focus to this window
-
virtual void killFocus()
- Remove the focus from this window
-
void setVisibleRows(FXint nvrows)
- Change visible rows/columns
-
FXbool isHorzGridShown() const
- Is horizontal grid shown
-
FXbool isVertGridShown() const
- Is vertical grid shown
-
void showHorzGrid(FXbool on=TRUE)
- Show or hide horizontal grid
-
void showVertGrid(FXbool on=TRUE)
- Show or hide vertical grid
-
virtual FXint getContentWidth()
- Compute content size
-
virtual void moveContents(FXint x, FXint y)
- Scroll contents
-
void setTableSize(FXint nr, FXint nc, FXbool notify=FALSE)
- Resize the table content to nr rows and nc columns
-
FXint getNumRows() const
- Get number of rows
-
FXint getNumCols() const
- Get number of columns
-
void setMarginTop(FXint pt)
- Change cell margins
-
FXuint getTableStyle() const
- Change table style
-
virtual void setLeadingRows(FXint leadrows)
- Get/set leading rows
-
virtual void setLeadingCols(FXint leadcols)
- Get/set leading columns
-
virtual void setTrailingRows(FXint trailrows)
- Get/set trailing rows
-
virtual void setTrailingCols(FXint trailcols)
- Get/set trailing columns
-
FXint rowAtY(FXint y) const
- Determine row containing y; returns -1 if y outside of table
-
FXint colAtX(FXint x) const
- Determine column containing x; returns -1 if x outside of table
-
FXTableItem* getItem(FXint row, FXint col) const
- Return the item at the given index
-
void setItem(FXint row, FXint col, FXTableItem* item)
- Replace the item with a [possibly subclassed] item
-
virtual void insertRows(FXint row, FXint nr=1, FXbool notify=FALSE)
- Insert new row
-
virtual void insertColumns(FXint col, FXint nc=1, FXbool notify=FALSE)
- Insert new column
-
virtual void removeRows(FXint row, FXint nr=1, FXbool notify=FALSE)
- Remove rows of cells
-
virtual void removeColumns(FXint col, FXint nc=1, FXbool notify=FALSE)
- Remove column of cells
-
virtual void removeItem(FXint row, FXint col, FXbool notify=FALSE)
- Remove single cell
-
void makePositionVisible(FXint r, FXint c)
- Scroll to make cell at r,c fully visible
-
void setColumnWidth(FXint col, FXint cwidth)
- Change column width
-
void setRowHeight(FXint row, FXint rheight)
- Change row height
-
void setColumnX(FXint col, FXint x)
- Change X coordinate of column c
-
void setRowY(FXint row, FXint y)
- Change Y coordinate of row r
-
void setDefColumnWidth(FXint cwidth)
- Change default column width
-
void setDefRowHeight(FXint rheight)
- Change default row height
-
void setItemText(FXint r, FXint c, const FXString& text)
- Modify cell text
-
void setItemIcon(FXint r, FXint c, FXIcon* icon)
- Modify cell icon
-
void setItemData(FXint r, FXint c, void* ptr)
- Modify cell user-data
-
FXbool isItemSelected(FXint r, FXint c) const
- Is cell selected, current, visible, enabled
-
void updateRange(FXint sr, FXint er, FXint sc, FXint ec)
- Repaint cells between grid lines sr,er and grid lines sc,ec
-
void updateItem(FXint r, FXint c)
- Repaint cell at r,c
-
FXbool enableItem(FXint r, FXint c)
- Enable, disable, select, deselect, toggle cell
-
void setCurrentItem(FXint r, FXint c, FXbool notify=FALSE)
- Change current cell
-
void setAnchorItem(FXint r, FXint c)
- Change anchored cell
-
FXbool selectRange(FXint sr, FXint er, FXint sc, FXint ec, FXbool notify=FALSE)
- Select range
-
FXbool extendSelection(FXint r, FXint c, FXbool notify=FALSE)
- Extend selection
-
FXbool killSelection(FXbool notify=FALSE)
- Kill selection
-
void setFont(FXFont* fnt)
- Change font
-
FXColor getTextColor() const
- Obtain colors of various parts
-
void setTextColor(FXColor clr)
- Change colors of various parts
-
void setCellColor(FXint r, FXint c, FXColor clr)
- Change cell background color for even/odd rows/columns
-
FXColor getCellColor(FXint r, FXint c) const
- Obtain cell background color for even/odd rows/columns
-
void setCellBorderWidth(FXint borderwidth)
- Change cell border width
-
FXint getCellBorderWidth() const
- Return cell border width
-
void setHelpText(const FXString& text)
- Change help text
-
virtual void save(FXStream& store) const
- Serialize
Public Members
-
Make new table with nr visible rows and nc visible columns; the table
-
Report default size, which is determined based on the
Public Methods
-
virtual FXint getDefaultWidth()
-
virtual FXint getDefaultHeight()
-
virtual FXint getViewportHeight()
-
void setScrollStyle(FXuint style)
-
FXuint getScrollStyle() const
-
FXbool isHorizontalScrollable() const
-
FXbool isVerticalScrollable() const
-
FXScrollbar* horizontalScrollbar() const
-
FXScrollbar* verticalScrollbar() const
-
FXint getXPosition() const
-
FXint getYPosition() const
-
void setPosition(FXint x, FXint y)
-
void getPosition(FXint& x, FXint& y) const
Public Methods
-
virtual void create()
-
virtual void detach()
-
virtual void destroy()
-
FXint maxChildWidth() const
-
FXint maxChildHeight() const
-
virtual FXbool isComposite() const
Public Methods
-
FXWindow* getParent() const
-
FXWindow* getOwner() const
-
FXWindow* getShell() const
-
FXWindow* getRoot() const
-
FXWindow* getNext() const
-
FXWindow* getPrev() const
-
FXWindow* getFirst() const
-
FXWindow* getLast() const
-
FXWindow* getFocus() const
-
void setKey(FXuint k)
-
FXuint getKey() const
-
void setTarget(FXObject* t)
-
FXObject* getTarget() const
-
void setSelector(FXSelector sel)
-
FXSelector getSelector() const
-
FXint getX() const
-
FXint getY() const
-
virtual FXint getWidthForHeight(FXint givenheight)
-
virtual FXint getHeightForWidth(FXint givenwidth)
-
void setX(FXint x)
-
void setY(FXint y)
-
void setWidth(FXint w)
-
void setHeight(FXint h)
-
void setLayoutHints(FXuint lout)
-
FXuint getLayoutHints() const
-
FXAccelTable* getAccelTable() const
-
void setAccelTable(FXAccelTable* acceltable)
-
void addHotKey(FXHotKey code)
-
void remHotKey(FXHotKey code)
-
FXbool isShell() const
-
FXbool isChildOf(const FXWindow* window) const
-
FXbool containsChild(const FXWindow* child) const
-
FXWindow* getChildAt(FXint x, FXint y) const
-
FXint numChildren() const
-
FXint indexOfChild(const FXWindow* window) const
-
FXWindow* childAtIndex(FXint index) const
-
static FXWindow* commonAncestor(FXWindow* a, FXWindow* b)
-
void setDefaultCursor(FXCursor* cur)
-
FXCursor* getDefaultCursor() const
-
void setDragCursor(FXCursor* cur)
-
FXCursor* getDragCursor() const
-
FXint getCursorPosition(FXint& x, FXint& y, FXuint& buttons) const
-
FXint setCursorPosition(FXint x, FXint y)
-
FXbool isEnabled() const
-
FXbool isActive() const
-
FXbool hasFocus() const
-
virtual void setDefault(FXbool enable=TRUE)
-
FXbool isDefault() const
-
void setInitial(FXbool enable=TRUE)
-
FXbool isInitial() const
-
virtual void enable()
-
virtual void disable()
-
virtual void raise()
-
virtual void lower()
-
virtual void move(FXint x, FXint y)
-
virtual void resize(FXint w, FXint h)
-
virtual void position(FXint x, FXint y, FXint w, FXint h)
-
virtual void recalc()
-
void forceRefresh()
-
virtual void reparent(FXWindow* newparent)
-
void scroll(FXint x, FXint y, FXint w, FXint h, FXint dx, FXint dy)
-
void update(FXint x, FXint y, FXint w, FXint h)
-
void update()
-
void repaint(FXint x, FXint y, FXint w, FXint h)
-
void repaint()
-
void grab()
-
void ungrab()
-
FXbool grabbed() const
-
void grabKeyboard()
-
void ungrabKeyboard()
-
FXbool grabbedKeyboard() const
-
virtual void show()
-
virtual void hide()
-
FXbool shown() const
-
FXbool underCursor() const
-
FXbool hasSelection() const
-
FXbool acquireSelection(const FXDragType* types, FXuint numtypes)
-
FXbool releaseSelection()
-
FXbool hasClipboard() const
-
FXbool acquireClipboard(const FXDragType* types, FXuint numtypes)
-
FXbool releaseClipboard()
-
void dropEnable()
-
void dropDisable()
-
FXbool isDropEnabled() const
-
FXbool isDragging() const
-
FXbool beginDrag(const FXDragType* types, FXuint numtypes)
-
FXbool handleDrag(FXint x, FXint y, FXDragAction action=DRAG_COPY)
-
FXbool endDrag(FXbool drop=TRUE)
-
FXbool isDropTarget() const
-
void setDragRectangle(FXint x, FXint y, FXint w, FXint h, FXbool wantupdates=TRUE)
-
void clearDragRectangle()
-
void acceptDrop(FXDragAction action=DRAG_ACCEPT)
-
FXDragAction didAccept() const
-
FXbool inquireDNDTypes(FXDNDOrigin origin, FXDragType*& types, FXuint& numtypes)
-
FXbool offeredDNDType(FXDNDOrigin origin, FXDragType type)
-
FXDragAction inquireDNDAction() const
-
FXbool setDNDData(FXDNDOrigin origin, FXDragType type, FXuchar* data, FXuint size)
-
FXbool getDNDData(FXDNDOrigin origin, FXDragType type, FXuchar*& data, FXuint& size)
-
virtual FXbool contains(FXint parentx, FXint parenty) const
-
void translateCoordinatesFrom(FXint& tox, FXint& toy, const FXWindow* fromwindow, FXint fromx, FXint fromy) const
-
void translateCoordinatesTo(FXint& tox, FXint& toy, const FXWindow* towindow, FXint fromx, FXint fromy) const
-
virtual void setBackColor(FXColor clr)
-
FXColor getBackColor() const
-
void linkBefore(FXWindow* sibling)
-
void linkAfter(FXWindow* sibling)
-
virtual void load(FXStream& store)
Public Methods
-
FXint getWidth() const
-
FXint getHeight() const
-
FXVisual* getVisual() const
-
void setVisual(FXVisual* vis)
Inherited from FXId:
Public Methods
-
FXApp* getApp() const
-
FXID id() const
-
void setUserData(void* ptr)
-
void* getUserData() const
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
Table Widget
- Make new table with nr visible rows and nc visible columns; the table
- Make new table with nr visible rows and nc visible columns; the table
- virtual FXbool canFocus() const
- Table widget can receive focus
- virtual void setFocus()
- Move the focus to this window
- virtual void killFocus()
- Remove the focus from this window
- void setVisibleRows(FXint nvrows)
- Change visible rows/columns
- FXbool isHorzGridShown() const
- Is horizontal grid shown
- FXbool isVertGridShown() const
- Is vertical grid shown
- void showHorzGrid(FXbool on=TRUE)
- Show or hide horizontal grid
- void showVertGrid(FXbool on=TRUE)
- Show or hide vertical grid
- Report default size, which is determined based on the
- Report default size, which is determined based on the
- virtual FXint getContentWidth()
- Compute content size
- virtual void moveContents(FXint x, FXint y)
- Scroll contents
- void setTableSize(FXint nr, FXint nc, FXbool notify=FALSE)
- Resize the table content to nr rows and nc columns
- FXint getNumRows() const
- Get number of rows
- FXint getNumCols() const
- Get number of columns
- void setMarginTop(FXint pt)
- Change cell margins
- FXuint getTableStyle() const
- Change table style
- virtual void setLeadingRows(FXint leadrows)
- Get/set leading rows
- virtual void setLeadingCols(FXint leadcols)
- Get/set leading columns
- virtual void setTrailingRows(FXint trailrows)
- Get/set trailing rows
- virtual void setTrailingCols(FXint trailcols)
- Get/set trailing columns
- FXint rowAtY(FXint y) const
- Determine row containing y; returns -1 if y outside of table
- FXint colAtX(FXint x) const
- Determine column containing x; returns -1 if x outside of table
- FXTableItem* getItem(FXint row, FXint col) const
- Return the item at the given index
- void setItem(FXint row, FXint col, FXTableItem* item)
- Replace the item with a [possibly subclassed] item
- virtual void insertRows(FXint row, FXint nr=1, FXbool notify=FALSE)
- Insert new row
- virtual void insertColumns(FXint col, FXint nc=1, FXbool notify=FALSE)
- Insert new column
- virtual void removeRows(FXint row, FXint nr=1, FXbool notify=FALSE)
- Remove rows of cells
- virtual void removeColumns(FXint col, FXint nc=1, FXbool notify=FALSE)
- Remove column of cells
- virtual void removeItem(FXint row, FXint col, FXbool notify=FALSE)
- Remove single cell
- void makePositionVisible(FXint r, FXint c)
- Scroll to make cell at r,c fully visible
- void setColumnWidth(FXint col, FXint cwidth)
- Change column width
- void setRowHeight(FXint row, FXint rheight)
- Change row height
- void setColumnX(FXint col, FXint x)
- Change X coordinate of column c
- void setRowY(FXint row, FXint y)
- Change Y coordinate of row r
- void setDefColumnWidth(FXint cwidth)
- Change default column width
- void setDefRowHeight(FXint rheight)
- Change default row height
- void setItemText(FXint r, FXint c, const FXString& text)
- Modify cell text
- void setItemIcon(FXint r, FXint c, FXIcon* icon)
- Modify cell icon
- void setItemData(FXint r, FXint c, void* ptr)
- Modify cell user-data
- FXbool isItemSelected(FXint r, FXint c) const
- Is cell selected, current, visible, enabled
- void updateRange(FXint sr, FXint er, FXint sc, FXint ec)
- Repaint cells between grid lines sr,er and grid lines sc,ec
- void updateItem(FXint r, FXint c)
- Repaint cell at r,c
- FXbool enableItem(FXint r, FXint c)
- Enable, disable, select, deselect, toggle cell
- void setCurrentItem(FXint r, FXint c, FXbool notify=FALSE)
- Change current cell
- void setAnchorItem(FXint r, FXint c)
- Change anchored cell
- FXbool selectRange(FXint sr, FXint er, FXint sc, FXint ec, FXbool notify=FALSE)
- Select range
- FXbool extendSelection(FXint r, FXint c, FXbool notify=FALSE)
- Extend selection
- FXbool killSelection(FXbool notify=FALSE)
- Kill selection
- void setFont(FXFont* fnt)
- Change font
- FXColor getTextColor() const
- Obtain colors of various parts
- void setTextColor(FXColor clr)
- Change colors of various parts
- void setCellColor(FXint r, FXint c, FXColor clr)
- Change cell background color for even/odd rows/columns
- FXColor getCellColor(FXint r, FXint c) const
- Obtain cell background color for even/odd rows/columns
- void setCellBorderWidth(FXint borderwidth)
- Change cell border width
- FXint getCellBorderWidth() const
- Return cell border width
- void setHelpText(const FXString& text)
- Change help text
- virtual void save(FXStream& store) const
- Serialize
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.