#include <Wt/WBorder>
Public Types | |
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. | |
bool | operator== (const WBorder &other) const |
Comparison operator. | |
bool | operator!= (const WBorder &other) const |
Comparison operator. | |
void | setWidth (Width width, const 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 when set explicitly. | |
WColor | color () const |
Get the border color. | |
Style | style () const |
Get the border style. |
enum Wt::WBorder::Width |
The border width.
Thin | Browser-dependent 'thin' border. |
Medium | Browser-dependent 'medium' border, default. |
Thick | Browser-dependent 'thin' border. |
Explicit | Explicit width. See also explicitWidth(). |
enum Wt::WBorder::Style |
The border style.