Go4GUI
Class TGo4PreviewPanelStatus
- class TGo4PreviewPanelStatus
- derived from TGo4Status
- Author:
- Mohammad Al-Turany, J.Adamczewski
Fields inherited from class TNamed |
fName, fTitle |
Method Summary |
void | AssignUID(TObject* ob) This helper function will check if uid of ob is already referencend and will change it to a "free" number. |
Bool_t | CheckSubPads(TPad* container, TPad* test) Check if pad test is still existing in list of primitives of pad container. |
void | CleanupPadLists(TCanvas* can) Check if all pads in our lists are still existing in our viewpanel canvas.
|
TRefArray* | GetListOfPads() |
Int_t | GetNoOfPads() |
Bool_t | GetPadCrosshair(TPad* SelectedPad) |
Bool_t | GetPadDragOption(TPad* SelectedPad) |
Bool_t | GetPadHistogramStats(TPad* SelectedPad) |
Bool_t | GetPadHistogramTitle(TPad* SelectedPad) |
Bool_t | GetPadLegend(TPad* SelectedPad) |
TGo4PadOptions* | GetPadOptions(TPad* Pad) |
const const char * | GetPadStringDrawOption(TPad* SelectedPad) |
void | RefreshListOfPads() Test: reassign ids for all objects in refarray of pads |
void | RemovePad(TPad* pad) Remove pad and corresponding options from list |
void | RemoveSubPads(TPad* pad) Remove all subpads of pad from padarray; remove corresponding padoptions, too |
void | ResetPadOptionsList() |
void | SetNoOfPads(Int_t ) |
void | SetPadCrosshair(TPad* SelectedPad, Bool_t showcross) |
void | SetPadDrawOption(TPad* SelectedPad, Int_t Xmin, Int_t Xmax, Int_t Ymin, Int_t Ymax) |
void | SetPadDrawOption(TPad* SelectedPad, const char * Option, bool DragAddOption) |
void | SetPadDrawOption(TPad* SelectedPad, const char * Option) |
void | SetPadHistogramStats(TPad* SelectedPad, Bool_t showstatistics) |
void | SetPadHistogramTitle(TPad* SelectedPad, Bool_t showtitle) |
void | SetPadLegend(TPad* SelectedPad, Bool_t drawlegend) |
void | SetSlots(TGo4PreviewPanelSlots* s) |
void | UpdateSubPads(TPad* pad) Scan list of primitive of pad for subpads not yet registered.
|
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 |
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
TGo4PreviewPanelStatus
public TGo4PreviewPanelStatus(const char * name, const char * title)
~TGo4PreviewPanelStatus
public virtual synchronized ~TGo4PreviewPanelStatus()
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
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
30-06-2005