ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUIVMEChooser Class Reference

#include <albaGUIVMEChooser.h>

Inheritance diagram for albaGUIVMEChooser:
Inheritance graph
[legend]
Collaboration diagram for albaGUIVMEChooser:
Collaboration graph
[legend]

Public Member Functions

 albaGUIVMEChooser (albaGUICheckTree *tree, wxString dialog_title="Vme Chooser", void *vme_accept_function=0, long style=REPRESENTATION_AS_TREE, bool multiSelect=false, albaVME *subTree=NULL)
 
 ~albaGUIVMEChooser ()
 
std::vector< albaVME * > ShowChooserDialog ()
 
void OnEvent (albaEventBase *alba_event)
 
- Public Member Functions inherited from albaGUIDialog
 albaGUIDialog (const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE)
 
virtual ~albaGUIDialog ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
void Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (albaGUI *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
 
bool Remove (wxWindow *window)
 
bool Remove (wxSizer *sizer)
 
int ShowModal ()
 
void EnableOk (bool enable)
 
void EnableCancel (bool enable)
 
void EnableClose (bool enable)
 
virtual void WXSetInitialFittingClientSize (int flags, wxSizer *sizer=NULL)
 
virtual void OnOK (wxCommandEvent &event)
 
virtual void OnCancel (wxCommandEvent &event)
 
virtual void OnCloseWindow (wxCloseEvent &event)
 
virtual void OnSize (wxSizeEvent &event)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void LoadLayout ()
 
void SaveLayout ()
 

Protected Attributes

albaGUIVMEChooserTreem_ChooserTree
 
ValidateCallBackType m_ValidateCallback
 

Additional Inherited Members

- Public Attributes inherited from albaGUIDialog
wxBoxSizer * m_GuiSizer
 
wxBoxSizer * m_ButtonsSizer
 
wxBoxSizer * m_DialogSizer
 
wxButton * m_OkButton
 
wxButton * m_CancelButton
 
wxButton * m_CloseButton
 
albaObserverm_Listener
 

Detailed Description

Display a modal dialog filled with a vme tree and return the choosed vme.

The tree is filled from the vme passed in the constructor with its children.

Definition at line 40 of file albaGUIVMEChooser.h.

Constructor & Destructor Documentation

◆ albaGUIVMEChooser()

albaGUIVMEChooser::albaGUIVMEChooser ( albaGUICheckTree tree,
wxString  dialog_title = "Vme Chooser",
void *  vme_accept_function = 0,
long  style = REPRESENTATION_AS_TREE,
bool  multiSelect = false,
albaVME subTree = NULL 
)

◆ ~albaGUIVMEChooser()

albaGUIVMEChooser::~albaGUIVMEChooser ( )

Member Function Documentation

◆ ShowChooserDialog()

std::vector< albaVME * > albaGUIVMEChooser::ShowChooserDialog ( )

◆ OnEvent()

void albaGUIVMEChooser::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Implements albaObserver.

◆ LoadLayout()

void albaGUIVMEChooser::LoadLayout ( )
protected

◆ SaveLayout()

void albaGUIVMEChooser::SaveLayout ( )
protected

Member Data Documentation

◆ m_ChooserTree

albaGUIVMEChooserTree* albaGUIVMEChooser::m_ChooserTree
protected

Definition at line 52 of file albaGUIVMEChooser.h.

◆ m_ValidateCallback

ValidateCallBackType albaGUIVMEChooser::m_ValidateCallback
protected

Definition at line 53 of file albaGUIVMEChooser.h.


The documentation for this class was generated from the following file: