![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXObject.h>
Public Member Functions | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXObject () |
Object is the base class for all objects in FOX; in order to receive messages from the user interface, your class must derive from Object.
The Object class also provides serialization facilities, with which you can save and restore the object's state. If you've subclassed from Object, you can save your subclasses' state by overloading the save() and load() functions and use the stream API to serialize its member data.
See also:
|
virtual |
Virtual destructor.
|
virtual |
Called for unhandled messages.
Reimplemented in FX::FXGLViewer, FX::FXMDIChild, FX::FXMDIClient, and FX::FXDelegator.
const FXchar* FX::FXObject::getClassName | ( | ) | const |
Get class name of some object.
bool FX::FXObject::isMemberOf | ( | const FXMetaClass * | metaclass | ) | const |
Check if object is member of metaclass.
|
virtual |
Try handle message safely.
|
virtual |
Save object to stream.
Reimplemented in FX::FXTable, FX::FXWindow, FX::FXText, FX::FXApp, FX::FXFoldingList, FX::FXTreeList, FX::FXIconList, FX::FXList, FX::FXGLViewer, FX::FXFont, FX::FXHeader, FX::FXTextField, FX::FXFileList, FX::FXGradientBar, FX::FXComboBox, FX::FXTopWindow, FX::FXTreeListBox, FX::FXListBox, FX::FXFileSelector, FX::FXDirList, FX::FXMDIChild, FX::FXRulerView, FX::FXRuler, FX::FXRealSpinner, FX::FXImage, FX::FXGLLine, FX::FXSpinner, FX::FXFileDict, FX::FXTableItem, FX::FXFoldingItem, FX::FXTreeItem, FX::FXFileDialog, FX::FXGLPoint, FX::FXRealSlider, FX::FXSlider, FX::FXBitmap, FX::FXKnob, FX::FXScrollBar, FX::FXDial, FX::FXDockBar, FX::FXLabel, FX::FXMDIClient, FX::FXOptionMenu, FX::FXMenuButton, FX::FXMenuCaption, FX::FXPacker, FX::FXHeaderItem, FX::FXColorWell, FX::FXArrowButton, FX::FXGLGroup, FX::FX4Splitter, FX::FXIconItem, FX::FXVisual, FX::FXFrame, FX::FXProgressBar, FX::FXToggleButton, FX::FXIconSource, FX::FXListItem, FX::FX7Segment, FX::FXColorBar, FX::FXGLShape, FX::FXTabBar, FX::FXCheckButton, FX::FXRecentFiles, FX::FXGLVisual, FX::FXRadioButton, FX::FXCursor, FX::FXSplitter, FX::FXToolBarTab, FX::FXColorRing, FX::FXPrintDialog, FX::FXBitmapView, FX::FXGroupBox, FX::FXColorWheel, FX::FXColorSelector, FX::FXDirSelector, FX::FXReplaceDialog, FX::FXToolTip, FX::FXImageView, FX::FXStatusLine, FX::FXSplashWindow, FX::FXChoiceBox, FX::FXFontSelector, FX::FXSwitcher, FX::FXWizard, FX::FXAccelTable, FX::FXMenuTitle, FX::FXToolBarShell, FX::FXGLTriangleMesh, FX::FXToolBarGrip, FX::FXTriStateButton, FX::FXDirDialog, FX::FXMenuCascade, FX::FXDockTitle, FX::FXGLContext, FX::FXIconDict, FX::FXGLCanvas, FX::FXMenuRadio, FX::FXMenuCheck, FX::FXBitmapFrame, FX::FXDirBox, FX::FXStatusBar, FX::FXSpring, FX::FXMenuCommand, FX::FXDriveBox, FX::FXDocument, FX::FXDragCorner, FX::FXColorDialog, FX::FXDockHandler, FX::FXImageFrame, FX::FXGLSphere, FX::FXGLCube, FX::FXMenuSeparator, FX::FXTranslator, FX::FXDrawable, FX::FXGLCone, FX::FXGLCylinder, FX::FXId, and FX::FXFontDialog.
|
virtual |
Load object from stream.
Reimplemented in FX::FXTable, FX::FXWindow, FX::FXText, FX::FXApp, FX::FXFoldingList, FX::FXTreeList, FX::FXIconList, FX::FXList, FX::FXGLViewer, FX::FXFont, FX::FXHeader, FX::FXTextField, FX::FXFileList, FX::FXGradientBar, FX::FXComboBox, FX::FXTopWindow, FX::FXTreeListBox, FX::FXListBox, FX::FXFileSelector, FX::FXDirList, FX::FXMDIChild, FX::FXRulerView, FX::FXRuler, FX::FXRealSpinner, FX::FXImage, FX::FXGLLine, FX::FXSpinner, FX::FXFileDict, FX::FXTableItem, FX::FXFoldingItem, FX::FXTreeItem, FX::FXFileDialog, FX::FXGLPoint, FX::FXRealSlider, FX::FXSlider, FX::FXBitmap, FX::FXKnob, FX::FXScrollBar, FX::FXDial, FX::FXDockBar, FX::FXLabel, FX::FXMDIClient, FX::FXOptionMenu, FX::FXMenuButton, FX::FXMenuCaption, FX::FXPacker, FX::FXColorWell, FX::FXArrowButton, FX::FXHeaderItem, FX::FX4Splitter, FX::FXIconItem, FX::FXVisual, FX::FXGLGroup, FX::FXFrame, FX::FXProgressBar, FX::FXToggleButton, FX::FXIconSource, FX::FXListItem, FX::FX7Segment, FX::FXColorBar, FX::FXGLShape, FX::FXTabBar, FX::FXCheckButton, FX::FXRecentFiles, FX::FXGLVisual, FX::FXRadioButton, FX::FXCursor, FX::FXSplitter, FX::FXToolBarTab, FX::FXColorRing, FX::FXPrintDialog, FX::FXBitmapView, FX::FXGroupBox, FX::FXColorWheel, FX::FXColorSelector, FX::FXDirSelector, FX::FXReplaceDialog, FX::FXToolTip, FX::FXImageView, FX::FXStatusLine, FX::FXSplashWindow, FX::FXChoiceBox, FX::FXFontSelector, FX::FXSwitcher, FX::FXWizard, FX::FXAccelTable, FX::FXMenuTitle, FX::FXToolBarShell, FX::FXGLTriangleMesh, FX::FXToolBarGrip, FX::FXTriStateButton, FX::FXDirDialog, FX::FXMenuCascade, FX::FXDockTitle, FX::FXGLContext, FX::FXIconDict, FX::FXGLCanvas, FX::FXMenuRadio, FX::FXMenuCheck, FX::FXBitmapFrame, FX::FXDirBox, FX::FXStatusBar, FX::FXSpring, FX::FXMenuCommand, FX::FXDriveBox, FX::FXDocument, FX::FXDragCorner, FX::FXColorDialog, FX::FXDockHandler, FX::FXImageFrame, FX::FXGLSphere, FX::FXGLCube, FX::FXMenuSeparator, FX::FXTranslator, FX::FXDrawable, FX::FXGLCone, FX::FXGLCylinder, FX::FXId, and FX::FXFontDialog.
![]() |