ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes
TransDateBox Class Reference

#include <TransientFrame.h>

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

Public Member Functions

 TransDateBox (const TGWindow *p, const TGWindow *main)
 
 TransDateBox (const TGWindow *p, const TGWindow *main, Stock *stock, ETime &tmscl, Indicator &indic, Utils::firstlast_dates &dates, bool *to_insert)
 
virtual ~TransDateBox ()
 
virtual void CloseWindow ()
 
void BuildInterface ()
 need overwrite by all sub-classes More...
 
Bool_t Valid ()
 
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
 
- Public Member Functions inherited from TransFrameGUI
 TransFrameGUI (const TGWindow *p, const TGWindow *main)
 
 ~TransFrameGUI ()
 

Private Attributes

TGHorizontalFramefFdate [2]
 
TGLabel * fLabel [2]
 
TGNumberEntry * fNumericEntries [2]
 
TGCheckButton * fCheckButton [2]
 
Stockfstock
 internal use More...
 
ETime ftmscl
 
bool * bvalid
 true if cancel is chosen, to_insert in calling More...
 
Utils::firstlast_dates ftrans_data
 
time_t memo_date
 

Additional Inherited Members

- Protected Member Functions inherited from TransFrameGUI
virtual void CreateButtons (unsigned int mode=1)
 called by all sub-classes More...
 
virtual void FinalizeTransGUI ()
 
 ClassDef (TransFrameGUI, 0)
 
- Protected Attributes inherited from TransFrameGUI
TGVerticalFramefvframe0
 
TGLayoutHints * fL1
 Layout for global, date entry and label. More...
 
TGHorizontalFramefValid
 Button for Validation. More...
 
TGTextButton * fBcancel
 
TGTextButton * fBvalid
 
TGTextButton * fBretry
 

Detailed Description

Definition at line 94 of file TransientFrame.h.

Constructor & Destructor Documentation

TransDateBox::TransDateBox ( const TGWindow *  p,
const TGWindow *  main 
)

Definition at line 230 of file TransientFrame.cxx.

TransDateBox::TransDateBox ( const TGWindow *  p,
const TGWindow *  main,
Stock stock,
ETime tmscl,
Indicator indic,
Utils::firstlast_dates dates,
bool *  to_insert 
)

Definition at line 302 of file TransientFrame.cxx.

References BuildInterface(), bvalid, TransFrameGUI::CreateButtons(), TransFrameGUI::FinalizeTransGUI(), fstock, ftmscl, and ftrans_data.

Here is the call graph for this function:

virtual TransDateBox::~TransDateBox ( )
inlinevirtual

Definition at line 125 of file TransientFrame.h.

Member Function Documentation

void TransDateBox::BuildInterface ( )
virtual

need overwrite by all sub-classes

Implements TransFrameGUI.

Definition at line 334 of file TransientFrame.cxx.

References fCheckButton, fFdate, Utils::firstlast_dates::first, TransFrameGUI::fL1, fLabel, fNumericEntries, ftrans_data, TransFrameGUI::fvframe0, and Utils::firstlast_dates::last.

Referenced by TransDateBox().

Here is the caller graph for this function:

void TransDateBox::CloseWindow ( )
virtual

Definition at line 327 of file TransientFrame.cxx.

Referenced by ProcessMessage(), and Valid().

Here is the caller graph for this function:

Bool_t TransDateBox::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
)
virtual

Reimplemented from TransFrameGUI.

Definition at line 390 of file TransientFrame.cxx.

References bvalid, CloseWindow(), fCheckButton, fNumericEntries, ftrans_data, Utils::GetDateYMD(), Utils::GetTime_tToday(), Utils::firstlast_dates::last, memo_date, and Valid().

Here is the call graph for this function:

Bool_t TransDateBox::Valid ( )

Field Documentation

bool* TransDateBox::bvalid
private

true if cancel is chosen, to_insert in calling

Definition at line 110 of file TransientFrame.h.

Referenced by ProcessMessage(), TransDateBox(), and Valid().

TGCheckButton* TransDateBox::fCheckButton[2]
private

Definition at line 102 of file TransientFrame.h.

Referenced by BuildInterface(), ProcessMessage(), and Valid().

TGHorizontalFrame* TransDateBox::fFdate[2]
private

Definition at line 99 of file TransientFrame.h.

Referenced by BuildInterface().

TGLabel* TransDateBox::fLabel[2]
private

Definition at line 100 of file TransientFrame.h.

Referenced by BuildInterface().

TGNumberEntry* TransDateBox::fNumericEntries[2]
private

Definition at line 101 of file TransientFrame.h.

Referenced by BuildInterface(), ProcessMessage(), and Valid().

Stock* TransDateBox::fstock
private

internal use

Definition at line 105 of file TransientFrame.h.

Referenced by TransDateBox(), and Valid().

ETime TransDateBox::ftmscl
private

Definition at line 106 of file TransientFrame.h.

Referenced by TransDateBox(), and Valid().

Utils::firstlast_dates TransDateBox::ftrans_data
private

Definition at line 114 of file TransientFrame.h.

Referenced by BuildInterface(), ProcessMessage(), TransDateBox(), and Valid().

time_t TransDateBox::memo_date
private

Definition at line 117 of file TransientFrame.h.

Referenced by ProcessMessage(), and Valid().


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