Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::Bordered Class Reference

Inheritance diagram for ONE::gui::Bordered:

Inheritance graph
[legend]
List of all members.

Detailed Description

base class for GUI objects that have a border

The border does not change the bordered object's bounds but decreases the inner size of the object by the border's fringe. Objects inheriting from this class must take care to implement such behavior.

Author:
Daniel Seibert


Public Member Functions

 Bordered (const BrdSP &b=0)
 creates a new object with the given border
const BrdSPgetBorder () const
 accesses the component's border
const BrdDSPgetBorderDelegate () const
virtual DelegateID getDelegateID () const =0
void setBorder (const BrdSP &b, bool laf=true)
 changes the component's border
virtual void updateUI ()
virtual ~Bordered ()


Constructor & Destructor Documentation

ONE::gui::Bordered::Bordered const BrdSP b = 0  ) 
 

creates a new object with the given border

Parameters:
b the border

virtual ONE::gui::Bordered::~Bordered  )  [virtual]
 


Member Function Documentation

const BrdSP & ONE::gui::Bordered::getBorder  )  const [inline]
 

accesses the component's border

Returns:
the border or 0 if no border is set

const BrdDSP & ONE::gui::Bordered::getBorderDelegate  )  const [inline]
 

virtual DelegateID ONE::gui::Bordered::getDelegateID  )  const [pure virtual]
 

Implemented in ONE::gui::Button, ONE::gui::CheckBox, ONE::gui::Frame, ONE::gui::Label, ONE::gui::Panel, ONE::gui::RadioButton, ONE::gui::TextField, ONE::gui::ToggleButton, ONE::gui::Viewport, and ONE::gui::Window.

void ONE::gui::Bordered::setBorder const BrdSP b,
bool  laf = true
 

changes the component's border

If laf is true, the setting is propagated to the GuiManager as an individual setting. Note that this function does not request a re-layout.

Parameters:
b the new border
laf if the setting should be propagated to the GuiManager

virtual void ONE::gui::Bordered::updateUI  )  [virtual]
 

Reimplemented in ONE::gui::AbstractButton, ONE::gui::CheckBox, ONE::gui::CommandField, ONE::gui::Frame, ONE::gui::Label, ONE::gui::Panel, ONE::gui::RadioButton, ONE::gui::TextField, ONE::gui::Viewport, and ONE::gui::Window.


Generated on Wed Sep 7 19:03:15 2005 for ONEngine by  doxygen 1.4.3