Wt::WBorder Class Reference

Style class for a WWidget border. More...

#include <WBorder>

List of all members.

Public Types

 Thin
 Browser-dependent 'thin' border.
 Medium
 Browser-dependent 'medium' border, default.
 Thick
 Browser-dependent 'thin' border.
 Explicit
 Explicit width. See also explicitWidth().
 None
 No border (width ignored), default.
 Hidden
 Invisible border (of specified width).
 Dotted
 Dotted border.
 Dashed
 Dashed border.
 Solid
 Solid border.
 Double
 Double lined border.
 Groove
 Relief border grooved into the canvas.
 Ridge
 Relief border coming out of the canvas.
 Inset
 Relief border lowering contents into the canvas.
 Outset
 Relief border letting contents come out of the canvas.
enum  Width { Thin, Medium, Thick, Explicit }
 The border width. More...
enum  Style {
  None, Hidden, Dotted, Dashed,
  Solid, Double, Groove, Ridge,
  Inset, Outset
}
 The border style. More...

Public Member Functions

 WBorder ()
 Create a border that specifies 'no border'.
 WBorder (Style style, Width=Medium, WColor color=WColor())
 Create a border with given style, thickness and color.
void setWidth (Width width, WLength explicitWidth=WLength())
 Set the border width.
void setColor (WColor color)
 Set the border color.
void setStyle (Style style)
 Set the border style.
Width width () const
 Get the border width.
WLength explicitWidth () const
 Get the border width for Explicit .
WColor color () const
 Get the border color.
Style style () const
 Get the border style.


Detailed Description

Style class for a WWidget border.


Member Enumeration Documentation

enum Wt::WBorder::Style

The border style.

Enumerator:
None  No border (width ignored), default.
Hidden  Invisible border (of specified width).
Dotted  Dotted border.
Dashed  Dashed border.
Solid  Solid border.
Double  Double lined border.
Groove  Relief border grooved into the canvas.
Ridge  Relief border coming out of the canvas.
Inset  Relief border lowering contents into the canvas.
Outset  Relief border letting contents come out of the canvas.

enum Wt::WBorder::Width

The border width.

Enumerator:
Thin  Browser-dependent 'thin' border.
Medium  Browser-dependent 'medium' border, default.
Thick  Browser-dependent 'thin' border.
Explicit  Explicit width. See also explicitWidth().


The documentation for this class was generated from the following files:
Generated on Sun Jul 1 19:37:18 2007 for Wt by doxygen 1.4.7