![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
#include <FXHistoryItems.h>
Inheritance diagram for FXEX::FXHistoryItems::
Public Methods | |
FXHistoryItems (FXApp *a, const FXString &gp="History Items", FXObject *tgt=NULL, FXSelector sel=0, FXint size=-1) | |
FXint | size (const FXint mx) |
FXint | size () const |
FXint | no () |
void | clear () |
FXint | index () const |
FXint | index (const FXint item) |
FXint | previous () |
FXint | next () |
FXint | find (const FXString &name) |
FXString | name () |
virtual void * | data () |
FXint | remove () |
FXint | remove (const FXString &name) |
FXint | remove (const FXint item) |
virtual FXint | add (const FXString &name, void *data=NULL) |
FXint | removeNewer (const FXint item) |
FXint | removeOlder (const FXint item) |
FXint | moveFirst (const FXString &name) |
FXint | moveFirst (const FXint item) |
void | saveOnDestroy (FXbool state) |
void | dataIsString (FXbool state) |
void | clearReg () |
FXint | writeReg () |
FXint | readReg () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXHistoryItems () |
Definition at line 33 of file FXHistoryItems.h.
|
Make new History Items Group with groupname gp, capable of tracking an unlimited (-1) amount of items.
|
|
Destructor.
|
|
Change number of items we're tracking.
|
|
Return the maximum number of items capable being tracked.
Definition at line 85 of file FXHistoryItems.h. |
|
Get the amount of entries in the list.
Definition at line 88 of file FXHistoryItems.h. |
|
Clear the list of items.
|
|
Get current index number.
Definition at line 94 of file FXHistoryItems.h. |
|
Set current index number - returns the current item pointed to.
|
|
Get the previous/older item index, if it exists - stays on the same index.
|
|
Get the next/newer item index, if it exists - stays on the same index.
|
|
Get the index of particular item name.
|
|
Get name of current item.
Definition at line 109 of file FXHistoryItems.h. |
|
get data of current item.
Definition at line 112 of file FXHistoryItems.h. |
|
Remove current item.
|
|
Remove an item by name.
|
|
Remove an item by index.
|
|
Add an item to the start of the list --> made virtual so that decendants can change the 'add' behaviour.
|
|
Remove items newer than specified item - returns the current item pointed to.
|
|
Remove items older than specified item - returns the current item pointed to.
|
|
Moves the 'named item' to the top of the list Sets the current item reference to the top of the list.
|
|
Moves the 'item' to the top of the list Sets the current item reference to the top of the list.
|
|
Saves the list to the registry on object destroy.
|
|
Saves the 'data' to the registry if it declared to an FXString type.
|
|
Removes this list from the registry.
|
|
Save the current history to the registory - returns the current item.
|
|
Load the history from the registory - returns the most recent item.
|
|
Save to a stream.
Reimplemented from FXEX::FXBaseObject. |
|
Load from a stream.
Reimplemented from FXEX::FXBaseObject. |