Public Member Functions | |
Constructor / Destructor | |
CP_ViewContent_TV_DataBrowser_Doc (CPLAT::CP_ScriptableObject *inContainer, CPLAT::FourCharCode inDocType) | |
Constructor. | |
virtual | ~CP_ViewContent_TV_DataBrowser_Doc () throw () |
Document UI | |
virtual void | HandleCreateDocumentUI (SInt32 inPostCreateFlags=CP_E_Doc_Create_DoNothing) |
Static Public Member Functions | |
Creator | |
static CPLAT::CP_Document_Base * | DocumentCreator (CPLAT::CP_ScriptableObject *inContainer, CPLAT::FourCharCode inDocumentClass) |
Protected Attributes | |
CP_ViewContentDataSource * | fViewContentDataSource |
Private Types | |
typedef CPLAT::CP_Document< CPLAT::CP_UndoPolicy_None, CPLAT::CP_PrintPolicy_None > | inherited |
Private Member Functions | |
void | HandleHelperViewCreated (CPLAT::CP_DataValueHolder &inValue, CPLAT::OSStatus &) |
void | HandlePopupCommand (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
void | ControlClicked (CPLAT::CP_DataValueHolder &inValue, CPLAT::OSStatus &inOutStatus) |
|
|
|
Constructor.
|
|
Destructor.
|
|
Called when some action has requested we create a new document object. This is usually called from the CP_DocumentFactoryManager when it needs to create a new document.
|
|
Called when the document wants to create the main user interface for the document. In this demo we create a window, with a CP_TextView in it.
|
|
Slot called when the TV_DataBrowser has created a helper view. These are the views like edit fields, check boxes, popup menus, etc that implement display of data by using another CP_View object.
|
|
Slot called when a menu command from a popup menu is issued.
|
|
Generic slot that gets called when controls are clicked. This will post an alert that displies the value of the control, along with the command that the sending control used when calling this slot.
|
|
|