v2.10-0 (21000JUN2005)

Go4GUI
Class TGo4PreviewPanelStatus


class TGo4PreviewPanelStatus
derived from TGo4Status

Author:
Mohammad Al-Turany, J.Adamczewski

Field Summary
 private TGo4PreviewPanelSlots*fxSlots
          Backpointer to slots.
 private TGo4PadOptions*fxTGo4PadOptions
           
 private TIterator*listiter
           
 private TRefArray*ListOfPads
           
 private TList*PadOptionList
           

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4PreviewPanelStatus(const char * name, const char * title)
           

Destructor Summary
 virtual synchronized ~TGo4PreviewPanelStatus()
           

Method Summary
 voidAssignUID(TObject* ob)
          This helper function will check if uid of ob is already
referencend and will change it to a "free" number.
 Bool_tCheckSubPads(TPad* container, TPad* test)
          Check if pad test is still existing in list of primitives
of pad container.
 voidCleanupPadLists(TCanvas* can)
          Check if all pads in our lists are still existing in our
viewpanel canvas.
 TRefArray*GetListOfPads()
           
 Int_tGetNoOfPads()
           
 Bool_tGetPadCrosshair(TPad* SelectedPad)
           
 Bool_tGetPadDragOption(TPad* SelectedPad)
           
 Bool_tGetPadHistogramStats(TPad* SelectedPad)
           
 Bool_tGetPadHistogramTitle(TPad* SelectedPad)
           
 Bool_tGetPadLegend(TPad* SelectedPad)
           
 TGo4PadOptions*GetPadOptions(TPad* Pad)
           
 const const char *GetPadStringDrawOption(TPad* SelectedPad)
           
 voidRefreshListOfPads()
          Test: reassign ids for all objects in refarray of pads
 voidRemovePad(TPad* pad)
          Remove pad and corresponding options from list
 voidRemoveSubPads(TPad* pad)
          Remove all subpads of pad from padarray; remove corresponding padoptions, too
 voidResetPadOptionsList()
           
 voidSetNoOfPads(Int_t )
           
 voidSetPadCrosshair(TPad* SelectedPad, Bool_t showcross)
           
 voidSetPadDrawOption(TPad* SelectedPad, Int_t Xmin, Int_t Xmax, Int_t Ymin, Int_t Ymax)
           
 voidSetPadDrawOption(TPad* SelectedPad, const char * Option, bool DragAddOption)
           
 voidSetPadDrawOption(TPad* SelectedPad, const char * Option)
           
 voidSetPadHistogramStats(TPad* SelectedPad, Bool_t showstatistics)
           
 voidSetPadHistogramTitle(TPad* SelectedPad, Bool_t showtitle)
           
 voidSetPadLegend(TPad* SelectedPad, Bool_t drawlegend)
           
 voidSetSlots(TGo4PreviewPanelSlots* s)
           
 voidUpdateSubPads(TPad* pad)
          Scan list of primitive of pad for subpads not yet registered.

Methods inherited from class Go4StatusBase.TGo4Status
Print, PrintBuffer, PrintIndent, PrintStatus

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxSlots

private TGo4PreviewPanelSlots* fxSlots
Backpointer to slots. Required, since marker management is
in slots, pad management in status (bad design!). Should
be changed... JA

fxTGo4PadOptions

private TGo4PadOptions* fxTGo4PadOptions
supplierCardinality 0..n
link aggregation

listiter

private TIterator* listiter

ListOfPads

private TRefArray* ListOfPads

PadOptionList

private TList* PadOptionList
Constructor Detail

TGo4PreviewPanelStatus

public TGo4PreviewPanelStatus(const char * name, const char * title)
Method Detail

~TGo4PreviewPanelStatus

public virtual synchronized ~TGo4PreviewPanelStatus()
Method Detail

AssignUID

public void AssignUID(TObject* ob)
This helper function will check if uid of ob is already
referencend and will change it to a "free" number. This
is necessary to ensure that our canvas is not overriding an
existing reference in session id manager.

CheckSubPads

public Bool_t CheckSubPads(TPad* container, TPad* test)
Check if pad test is still existing in list of primitives
of pad container. Returns true if found, otherwise false.

CleanupPadLists

public void CleanupPadLists(TCanvas* can)
Check if all pads in our lists are still existing in our
viewpanel canvas.
Eventually, throw away pad and padoptions from lists

GetListOfPads

public TRefArray* GetListOfPads()

GetNoOfPads

public Int_t GetNoOfPads()

GetPadCrosshair

public Bool_t GetPadCrosshair(TPad* SelectedPad)

GetPadDragOption

public Bool_t GetPadDragOption(TPad* SelectedPad)

GetPadHistogramStats

public Bool_t GetPadHistogramStats(TPad* SelectedPad)

GetPadHistogramTitle

public Bool_t GetPadHistogramTitle(TPad* SelectedPad)

GetPadLegend

public Bool_t GetPadLegend(TPad* SelectedPad)

GetPadOptions

public TGo4PadOptions* GetPadOptions(TPad* Pad)

GetPadStringDrawOption

public const const char * GetPadStringDrawOption(TPad* SelectedPad)

RefreshListOfPads

public void RefreshListOfPads()
Test: reassign ids for all objects in refarray of pads

RemovePad

public void RemovePad(TPad* pad)
Remove pad and corresponding options from list

RemoveSubPads

public void RemoveSubPads(TPad* pad)
Remove all subpads of pad from padarray; remove corresponding padoptions, too

ResetPadOptionsList

public void ResetPadOptionsList()

SetNoOfPads

public void SetNoOfPads(Int_t )

SetPadCrosshair

public void SetPadCrosshair(TPad* SelectedPad, Bool_t showcross)

SetPadDrawOption

public void SetPadDrawOption(TPad* SelectedPad, Int_t Xmin, Int_t Xmax, Int_t Ymin, Int_t Ymax)

SetPadDrawOption

public void SetPadDrawOption(TPad* SelectedPad, const char * Option, bool DragAddOption)

SetPadDrawOption

public void SetPadDrawOption(TPad* SelectedPad, const char * Option)

SetPadHistogramStats

public void SetPadHistogramStats(TPad* SelectedPad, Bool_t showstatistics)

SetPadHistogramTitle

public void SetPadHistogramTitle(TPad* SelectedPad, Bool_t showtitle)

SetPadLegend

public void SetPadLegend(TPad* SelectedPad, Bool_t drawlegend)

SetSlots

public void SetSlots(TGo4PreviewPanelSlots* s)

UpdateSubPads

public void UpdateSubPads(TPad* pad)
Scan list of primitive of pad for subpads not yet registered.
To be used after pad division by root menu

Association Links

to Class TList

to Class TRefArray

to Class TGo4PadOptions

Supplier Cardinality 0..n
Type aggregation

to Class TIterator

to Class TGo4PreviewPanelSlots

Backpointer to slots. Required, since marker management is
in slots, pad management in status (bad design!). Should
be changed... JA

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005