Enum | +--Border3DStylepublic final class Border3DStyle
Defines the constants that you pass to the Graphics.drawBorder3D method to define a 3D border's appearance.
Also see wfc.ui.Graphics
Fields
Name | Description |
---|---|
ADJUST | Specifies that the border should be drawn outside of the given rectangle, preserving the dimensions of the rectangle for drawing. |
ALL | All viable flags in the bit mask. |
BUMP | Consists of a raised outer edge and a sunken inner edge. |
ETCHED | Consists of a sunken inner edge and a raised outer edge. |
FLAT | Draws the border entirely flat with no three-dimensional effects. |
RAISED | Consists of raised inner and outer edges. |
RAISEDINNER | Consists of a raised inner edge and no outer edge. |
RAISEDOUTER | Consists of a raised outer edge and no inner edge. |
SUNKEN | Consists of sunken inner and outer edges. |
SUNKENINNER | Consists of a sunken inner edge and no outer edge. |
SUNKENOUTER | Consists of a sunken outer edge and no inner edge. |
Methods
Name | Description |
---|---|
ensureValid(int value) | Throws an exception if the specified value is not supported by this class. |
valid(int value) | Returns true if the given value is allowable by this class; otherwise, returns false. |
Throws an exception if the specified value is not supported by this class.
InvalidEnumArgument thrown if value does not reference a valid Border3DStyle constant.
Returns true if the value is valid; otherwise, returns false.
Returns true if the given value is allowable by this class; otherwise, returns false.