TGLayoutHints Class Reference

#include <TGLayout.h>

Inheritance diagram for TGLayoutHints:

TObject TRefCnt TObject TRefCnt TGTableLayoutHints TGTableLayoutHints TGXYLayoutHints TGXYLayoutHints List of all members.

Public Member Functions

 TGLayoutHints (ULong_t hints=kLHintsNormal, Int_t padleft=0, Int_t padright=0, Int_t padtop=0, Int_t padbottom=0)
 TGLayoutHints (const TGLayoutHints &lh)
virtual ~TGLayoutHints ()
ULong_t GetLayoutHints () const
Int_t GetPadTop () const
Int_t GetPadBottom () const
Int_t GetPadLeft () const
Int_t GetPadRight () const
virtual void SetLayoutHints (ULong_t lh)
virtual void SetPadTop (Int_t v)
virtual void SetPadBottom (Int_t v)
virtual void SetPadLeft (Int_t v)
virtual void SetPadRight (Int_t v)
void Print (Option_t *option="") const
void ls (Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGLayoutHints (ULong_t hints=kLHintsNormal, Int_t padleft=0, Int_t padright=0, Int_t padtop=0, Int_t padbottom=0)
 TGLayoutHints (const TGLayoutHints &lh)
virtual ~TGLayoutHints ()
ULong_t GetLayoutHints () const
Int_t GetPadTop () const
Int_t GetPadBottom () const
Int_t GetPadLeft () const
Int_t GetPadRight () const
virtual void SetLayoutHints (ULong_t lh)
virtual void SetPadTop (Int_t v)
virtual void SetPadBottom (Int_t v)
virtual void SetPadLeft (Int_t v)
virtual void SetPadRight (Int_t v)
void Print (Option_t *option="") const
void ls (Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")

Protected Member Functions

void UpdateFrameElements (TGLayoutHints *l)
void UpdateFrameElements (TGLayoutHints *l)

Protected Attributes

ULong_t fLayoutHints
Int_t fPadtop
Int_t fPadbottom
Int_t fPadleft
Int_t fPadright

Private Member Functions

TGLayoutHintsoperator= (const TGLayoutHints &)
TGLayoutHintsoperator= (const TGLayoutHints &)

Private Attributes

TGFrameElementfFE
TGFrameElementfPrev
TGFrameElementfFE
TGFrameElementfPrev

Friends

class TGFrameElement
class TGCompositeFrame

Detailed Description

Definition at line 63 of file TGLayout.h.


Constructor & Destructor Documentation

TGLayoutHints::TGLayoutHints ( ULong_t  hints = kLHintsNormal,
Int_t  padleft = 0,
Int_t  padright = 0,
Int_t  padtop = 0,
Int_t  padbottom = 0 
) [inline]

Definition at line 84 of file TGLayout.h.

References TRefCnt::SetRefCount().

TGLayoutHints::TGLayoutHints ( const TGLayoutHints lh  ) 

Definition at line 114 of file TGLayout.cxx.

References fFE, fLayoutHints, fPadbottom, fPadleft, fPadright, fPadtop, fPrev, and TRefCnt::SetRefCount().

TGLayoutHints::~TGLayoutHints (  )  [virtual]

Definition at line 126 of file TGLayout.cxx.

TGLayoutHints::TGLayoutHints ( ULong_t  hints = kLHintsNormal,
Int_t  padleft = 0,
Int_t  padright = 0,
Int_t  padtop = 0,
Int_t  padbottom = 0 
) [inline]

Definition at line 84 of file TGLayout.h.

References TRefCnt::SetRefCount().

TGLayoutHints::TGLayoutHints ( const TGLayoutHints lh  ) 

virtual TGLayoutHints::~TGLayoutHints (  )  [virtual]


Member Function Documentation

TGLayoutHints& TGLayoutHints::operator= ( const TGLayoutHints  )  [private]

void TGLayoutHints::UpdateFrameElements ( TGLayoutHints l  )  [protected]

Definition at line 133 of file TGLayout.cxx.

References fFE, TGFrameElement::fLayout, fPrev, l, and p.

ULong_t TGLayoutHints::GetLayoutHints (  )  const [inline]

Definition at line 95 of file TGLayout.h.

References fLayoutHints.

Referenced by TGuiBldHintsEditor::ChangeSelected(), TGTableLayout::Layout(), TGHorizontalLayout::Layout(), TGMenuBar::Layout(), TGVerticalLayout::Layout(), TGTableLayoutHints::SavePrimitive(), SavePrimitive(), TGTableLayout::SetRowColSizesInit(), and TGuiBldHintsEditor::UpdateState().

Int_t TGLayoutHints::GetPadTop (  )  const [inline]

Definition at line 96 of file TGLayout.h.

References fPadtop.

Referenced by TGuiBldHintsEditor::ChangeSelected(), TGTableLayout::FindRowColSizesMultiplyAttached(), TGTableLayout::FindRowColSizesSinglyAttached(), TGTableLayout::Layout(), TGHorizontalLayout::Layout(), TGVerticalLayout::Layout(), TGContainer::LineDown(), TGContainer::LineLeft(), TGContainer::LineRight(), TGContainer::LineUp(), TGTableLayoutHints::SavePrimitive(), and SavePrimitive().

Int_t TGLayoutHints::GetPadBottom (  )  const [inline]

Definition at line 97 of file TGLayout.h.

References fPadbottom.

Referenced by TGuiBldHintsEditor::ChangeSelected(), TGTableLayout::FindRowColSizesMultiplyAttached(), TGTableLayout::FindRowColSizesSinglyAttached(), TGTableLayout::Layout(), TGHorizontalLayout::Layout(), TGVerticalLayout::Layout(), TGContainer::LineDown(), TGContainer::LineLeft(), TGContainer::LineRight(), TGContainer::LineUp(), TGTableLayoutHints::SavePrimitive(), and SavePrimitive().

Int_t TGLayoutHints::GetPadLeft (  )  const [inline]

Definition at line 98 of file TGLayout.h.

References fPadleft.

Referenced by TGuiBldHintsEditor::ChangeSelected(), TGTableLayout::FindRowColSizesMultiplyAttached(), TGTableLayout::FindRowColSizesSinglyAttached(), TGTableLayout::Layout(), TGHorizontalLayout::Layout(), TGVerticalLayout::Layout(), TGContainer::LineLeft(), TGContainer::LineRight(), TGTableLayoutHints::SavePrimitive(), and SavePrimitive().

Int_t TGLayoutHints::GetPadRight (  )  const [inline]

Definition at line 99 of file TGLayout.h.

References fPadright.

Referenced by TGuiBldHintsEditor::ChangeSelected(), TGTableLayout::FindRowColSizesMultiplyAttached(), TGTableLayout::FindRowColSizesSinglyAttached(), TGTableLayout::Layout(), TGHorizontalLayout::Layout(), TGVerticalLayout::Layout(), TGContainer::LineLeft(), TGContainer::LineRight(), TGTableLayoutHints::SavePrimitive(), and SavePrimitive().

virtual void TGLayoutHints::SetLayoutHints ( ULong_t  lh  )  [inline, virtual]

Definition at line 101 of file TGLayout.h.

References fLayoutHints.

Referenced by TEveGListTreeEditorFrame::ReconfToHorizontal(), TEveGListTreeEditorFrame::ReconfToVertical(), TEveGListTreeEditorFrame::TEveGListTreeEditorFrame(), and TGuiBldHintsEditor::UpdateState().

virtual void TGLayoutHints::SetPadTop ( Int_t  v  )  [inline, virtual]

Definition at line 102 of file TGLayout.h.

References fPadtop.

Referenced by TEveGListTreeEditorFrame::ReconfToHorizontal(), TEveGListTreeEditorFrame::ReconfToVertical(), TEveGListTreeEditorFrame::TEveGListTreeEditorFrame(), and TGuiBldHintsEditor::UpdateState().

virtual void TGLayoutHints::SetPadBottom ( Int_t  v  )  [inline, virtual]

Definition at line 103 of file TGLayout.h.

References fPadbottom.

Referenced by TEveGListTreeEditorFrame::ReconfToHorizontal(), TEveGListTreeEditorFrame::ReconfToVertical(), TEveGListTreeEditorFrame::TEveGListTreeEditorFrame(), and TGuiBldHintsEditor::UpdateState().

virtual void TGLayoutHints::SetPadLeft ( Int_t  v  )  [inline, virtual]

Definition at line 104 of file TGLayout.h.

References fPadleft.

Referenced by TEveGListTreeEditorFrame::ReconfToHorizontal(), TEveGListTreeEditorFrame::ReconfToVertical(), TEveGListTreeEditorFrame::TEveGListTreeEditorFrame(), and TGuiBldHintsEditor::UpdateState().

virtual void TGLayoutHints::SetPadRight ( Int_t  v  )  [inline, virtual]

Definition at line 105 of file TGLayout.h.

References fPadright.

Referenced by TEveGListTreeEditorFrame::ReconfToHorizontal(), TEveGListTreeEditorFrame::ReconfToVertical(), TEveGListTreeEditorFrame::TEveGListTreeEditorFrame(), and TGuiBldHintsEditor::UpdateState().

void TGLayoutHints::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 149 of file TGLayout.cxx.

References fLayoutHints, fPadbottom, fPadleft, fPadright, fPadtop, kFALSE, kLHintsBottom, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsNoHints, kLHintsRight, kLHintsTop, and kTRUE.

Referenced by ls(), and TGFrameElement::Print().

void TGLayoutHints::ls ( Option_t option = ""  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 108 of file TGLayout.h.

References option, and Print().

void TGLayoutHints::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.

Definition at line 995 of file TGLayout.cxx.

References fLayoutHints, GetLayoutHints(), GetPadBottom(), GetPadLeft(), GetPadRight(), GetPadTop(), kLHintsBottom, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsNormal, kLHintsRight, kLHintsTop, and TString::Length().

Referenced by TGDockableFrame::SavePrimitive(), TGStatusBar::SavePrimitive(), TGMenuBar::SavePrimitive(), TGMdiMenuBar::SavePrimitive(), TGShutterItem::SavePrimitive(), and TGCompositeFrame::SavePrimitiveSubframes().

TGLayoutHints& TGLayoutHints::operator= ( const TGLayoutHints  )  [private]

void TGLayoutHints::UpdateFrameElements ( TGLayoutHints l  )  [protected]

ULong_t TGLayoutHints::GetLayoutHints (  )  const [inline]

Definition at line 95 of file TGLayout.h.

References fLayoutHints.

Int_t TGLayoutHints::GetPadTop (  )  const [inline]

Definition at line 96 of file TGLayout.h.

References fPadtop.

Int_t TGLayoutHints::GetPadBottom (  )  const [inline]

Definition at line 97 of file TGLayout.h.

References fPadbottom.

Int_t TGLayoutHints::GetPadLeft (  )  const [inline]

Definition at line 98 of file TGLayout.h.

References fPadleft.

Int_t TGLayoutHints::GetPadRight (  )  const [inline]

Definition at line 99 of file TGLayout.h.

References fPadright.

virtual void TGLayoutHints::SetLayoutHints ( ULong_t  lh  )  [inline, virtual]

Definition at line 101 of file TGLayout.h.

References fLayoutHints.

virtual void TGLayoutHints::SetPadTop ( Int_t  v  )  [inline, virtual]

Definition at line 102 of file TGLayout.h.

References fPadtop.

virtual void TGLayoutHints::SetPadBottom ( Int_t  v  )  [inline, virtual]

Definition at line 103 of file TGLayout.h.

References fPadbottom.

virtual void TGLayoutHints::SetPadLeft ( Int_t  v  )  [inline, virtual]

Definition at line 104 of file TGLayout.h.

References fPadleft.

virtual void TGLayoutHints::SetPadRight ( Int_t  v  )  [inline, virtual]

Definition at line 105 of file TGLayout.h.

References fPadright.

void TGLayoutHints::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

void TGLayoutHints::ls ( Option_t option = ""  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 108 of file TGLayout.h.

References option, and Print().

virtual void TGLayoutHints::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.


Friends And Related Function Documentation

TGFrameElement [friend]

Definition at line 65 of file TGLayout.h.

TGCompositeFrame [friend]

Definition at line 66 of file TGLayout.h.


Member Data Documentation

TGFrameElement* TGLayoutHints::fFE [private]

Definition at line 69 of file TGLayout.h.

Referenced by TGCompositeFrame::Cleanup(), TGLayoutHints(), and UpdateFrameElements().

TGFrameElement* TGLayoutHints::fPrev [private]

Definition at line 70 of file TGLayout.h.

Referenced by TGLayoutHints(), and UpdateFrameElements().

ULong_t TGLayoutHints::fLayoutHints [protected]

Definition at line 75 of file TGLayout.h.

Referenced by GetLayoutHints(), Print(), TGTableLayoutHints::SavePrimitive(), SavePrimitive(), SetLayoutHints(), and TGLayoutHints().

Int_t TGLayoutHints::fPadtop [protected]

Definition at line 76 of file TGLayout.h.

Referenced by GetPadTop(), Print(), SetPadTop(), and TGLayoutHints().

Int_t TGLayoutHints::fPadbottom [protected]

Definition at line 77 of file TGLayout.h.

Referenced by GetPadBottom(), Print(), SetPadBottom(), and TGLayoutHints().

Int_t TGLayoutHints::fPadleft [protected]

Definition at line 78 of file TGLayout.h.

Referenced by GetPadLeft(), Print(), SetPadLeft(), and TGLayoutHints().

Int_t TGLayoutHints::fPadright [protected]

Definition at line 79 of file TGLayout.h.

Referenced by GetPadRight(), Print(), SetPadRight(), and TGLayoutHints().

TGFrameElement* TGLayoutHints::fFE [private]

Definition at line 69 of file TGLayout.h.

TGFrameElement* TGLayoutHints::fPrev [private]

Definition at line 70 of file TGLayout.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1