Inheritance diagram for CP_TableGeometry_Base:
Public Member Functions | |
void | SetID (FourCharCode inIdentifier) |
FourCharCode | GetID () |
void | RegisterSignal (const CP_SignalHolder &inSignal) |
CP_DataValueSignal * | FindSignal (const CP_String &inSignalName) |
UInt32 | GetNumberSignals () |
CP_String | GetNthSignalName (UInt32 inSignalIndex) |
void | RegisterSlot (const CP_SlotHolder &inSlot) |
CP_DataValueSlot | FindSlot (const CP_String &inSlotName) |
UInt32 | GetNumberSlots () |
CP_String | GetNthSlotName (UInt32 inSlotIndex) |
template<class R, class P1, class P2> | |
CP_CommandHandlerSignal * | Connect (CPLAT::CP_CommandNo cmd, void(R::*handler)(P1, P2), SInt32 mode) |
template<class R, class P1, class P2> | |
void | Connect (CP_Object *control, const CPLAT::CP_String &signalName, void(R::*handler)(P1, P2)) |
Constructor / Destructor | |
CP_TableGeometry_Base (CP_TableView *inTableView) | |
Constructor. | |
virtual | ~CP_TableGeometry_Base () throw () |
Destructor. | |
Columns | |
virtual SInt32 | GetNumberColumns (SInt32 inRow)=0 |
virtual void | SetNumberColumns (SInt32 inRow, SInt32 inNumberColumns)=0 |
virtual SInt32 | GetColumnWidth (SInt32 inRow, SInt32 inColumn)=0 |
virtual void | SetColumnWidth (SInt32 inRow, SInt32 inColumn, SInt32 inColumnWidth)=0 |
virtual CP_Rect | GetColumnBounds (const CP_Rect &inRowBounds, SInt32 inRow, SInt32 inColumn)=0 |
virtual CP_Rect | GetColumnBounds (SInt32 inRow, SInt32 inColumn)=0 |
Rows | |
virtual SInt32 | GetNumberRows ()=0 |
virtual void | SetNumberRows (SInt32 inNumberRows)=0 |
virtual SInt32 | GetRowHeight (SInt32 inRow)=0 |
virtual void | SetRowHeight (SInt32 inRow, SInt32 inRowHeight)=0 |
virtual CP_Point | GetRowLocation (SInt32 inRow)=0 |
virtual void | AddRow ()=0 |
Testers | |
virtual SInt32 | GetRowHitBy (const CP_Point &inHitPoint)=0 |
virtual SInt32 | GetColumnHitBy (const CP_Point &inHitPoint)=0 |
Static Public Member Functions | |
static void | Connect (CP_Object *sender, const CP_String &signalName, CP_Object *receiver, const CP_String &slotName, const bool reciprocal=false) |
static void | Connect (CP_Object *sender, CP_Object *receiver, const bool reciprocal=false, const CP_String &signalName=kCP_Signal_ValueChanged, const CP_String &slotName=kCP_Slot_SetValue) |
Protected Attributes | |
CP_TableView * | fOwnerTableView |
CP_DataValueSignal | fRowHeightChangedSignal |
CP_DataValueSignal | fColumnWidthChangedSignal |
CP_DataValueSignal | fRowAddedSignal |
CP_DataValueSignal | fColumnAddedSignal |
CP_Signals_Array * | fSignals |
CP_Slots_Array * | fSlots |
FourCharCode | fObjectID |
Static Protected Attributes | |
static FourCharCode | fObjectIDCount = 0 |
|
Constructor. |
|
Destructor. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
|
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
Implemented in CP_TableGeometry_Mixed, CP_TableGeometry_Mono, and CP_TableGeometry_Multi. |
|
|
|
|
|
|
|
|
|
Sets the identifier for this object. If a specific identifier is not set with this function, then a default id is used, which is simply a running count of the number of objects created.
|
|
Returns the objects identifier.
|
|
Registers the signal / signal name contained in the passed in inSignal object.
|
|
Finds the CP_DataValueSignal object that matches the passed in inSignalName.
|
|
Returns the number of signals for this object.
|
|
Returns the signal name of the passed in signal index.
|
|
Registers the slot / slot name contained in the passed in inSlot object.
|
|
Finds the CP_Slot1 object that matches the passed in inSlotName.
|
|
Returns the number of slots for this object.
|
|
Returns the slot name of the passed in signal index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List of registered signals for this object. |
|
List of registered slots for this object. |
|
Object identifier. |