Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
#include <ilviews/base/iostream.h>
#include <ilviews/base/graphic.h>
#include <ilviews/gadgets/itemtool.h>
#include <ilviews/base/value.h>
#include <ilviews/base/alloc.h>
#include <ilviews/util/animator.h>
#include <ilviews/bidi/interf.h>
#include <ilviews/base/stylable.h>
Classes | |
class | IlvGadgetItem |
Gadget Item class. More... | |
class | IlvGadgetItemHolder |
Item holder class. More... | |
class | IlvListGadgetItemHolder |
Item holder class. More... | |
Macros | |
#define | DeclareGadgetItemInfo() |
#define | DeclareGadgetItemInfoRO() |
#define | DeclareGadgetItemIOConstructors(classname) |
#define | IlvPredefinedGadgetItemIOMembers(classname) |
#define | IlvRegisterGadgetItemClass(classname, superclass) |
Typedefs | |
typedef IlBoolean(* | IlvApplyGadgetItem) (IlvGadgetItem *item, IlAny arg) |
typedef int(* | IlvListCompareFunction) (const char *string1, const char *string2, IlAny data1, IlAny data2) |
Library: ilvgadgt
Declaration of the IlvGadgetItem and related classes
#define DeclareGadgetItemInfo | ( | ) |
Use this macro to declare the input/output routines of your gadget item subclass readItem
, write
, and copy
.
#define DeclareGadgetItemInfoRO | ( | ) |
Use this macro to declare the input/output routines of your gadget item subclass when you do not need to add the write
member function (that is, your gadget item subtype do not add any new data that needs to be saved, and the implementation of the write
member function in the parent class already does the job).
#define DeclareGadgetItemIOConstructors | ( | classname | ) |
Use this macro to declare the input/output constructors of your gadget item subclass.
classname | The class name. |
#define IlvPredefinedGadgetItemIOMembers | ( | classname | ) |
Use this macro to provide a default implementation for the IlvGadgetItem::copy()
and IlvGadgetItem::readItem
member functions of the IlvGadgetItem
subclass.
classname | The name of the class. |
#define IlvRegisterGadgetItemClass | ( | classname, | |
superclass | |||
) |
Use this macro to register your subclass of IlvGadgetItem.
classname | The name of the class being registered. |
superclass | The superclass of classname. |
IlvApplyGadgetItem |
Defines the type of the function used by the IlvGadgetItemHolder::applyToItems()
method.
item | The item on which the function is invoked. |
arg | The argument passed to the function. |
IlFalse
to stop the apply mechanism, or IlTrue
to continue. IlvGadgetItemHolder::applyToItems()
. IlvListCompareFunction |
Defines the type of the function used by the sorting algorithm of the IlvListGadgetItemHolder to compare two items.
string1 | The label of the first item. |
string2 | The label of the second item. |
value1 | The client data of the first item. |
value2 | The client data of the second item. |
IlvListGadgetItemHolder::sort()
. © Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.