ui::border::LineBorder Class Reference

Inheritance diagram for ui::border::LineBorder:

Inheritance graph
[legend]
Collaboration diagram for ui::border::LineBorder:

Collaboration graph
[legend]
List of all members.

Detailed Description

A simple border, consisting of only a single line. This line can have a color and a certain thickness.


Public Member Functions

 LineBorder (const util::Color &color, int thickness)
 LineBorder (const util::Color &colo, const util::Insets &insets)
 LineBorder (const util::Color &color)
 LineBorder ()
 LineBorder (const LineBorder &rhs)
LineBorderoperator= (const LineBorder &rhs)
void swap (LineBorder &rhs) throw ()
void paintBorder (Component *component, Graphics &g, int x, int y, int w, int h)
const util::Insets getBorderInsets () const
const util::ColorgetColor () const


Constructor & Destructor Documentation

ui::border::LineBorder::LineBorder const util::Color color,
int  thickness
 

Create a new LineBorder with given color and thickness.

Parameters:
color Color for the border.
thickness line thickness.
Note:
Note that the thickness affects the Insets.

ui::border::LineBorder::LineBorder const util::Color colo,
const util::Insets insets
 

Create a new LineBorder with given color and thickness.

Parameters:
color Color for the border.
thickness line thickness.
Note:
Note that the thickness affects the Insets.

ui::border::LineBorder::LineBorder const util::Color color  ) 
 

Create a new LineBorder with given color.

Parameters:
color Color for the border.

ui::border::LineBorder::LineBorder  ) 
 

Default constructor.

ui::border::LineBorder::LineBorder const LineBorder rhs  ) 
 

Copy Constructor.


Member Function Documentation

LineBorder & ui::border::LineBorder::operator= const LineBorder rhs  ) 
 

Assignment operator.

void ui::border::LineBorder::swap LineBorder rhs  )  throw ()
 

Swaps the contents of this Border with another.

void ui::border::LineBorder::paintBorder Component component,
Graphics g,
int  x,
int  y,
int  w,
int  h
[virtual]
 

Paint the border.

Reimplemented from ui::border::Border.

const util::Insets ui::border::LineBorder::getBorderInsets  )  const [virtual]
 

Returns the insets of this Border. The Insets are dependant on the thickness of this Border.

Reimplemented from ui::border::Border.

const util::Color & ui::border::LineBorder::getColor  )  const
 

Returns the Color used for this Border.


Generated on Mon Jun 20 19:41:55 2005 for UI by doxygen 1.3.1 using KingsTools