Enum BorderStyle
- java.lang.Object
- 
- java.lang.Enum<BorderStyle>
- 
- org.pepstock.charba.client.dom.enums.BorderStyle
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<BorderStyle>,- Key
 
 public enum BorderStyle extends Enum<BorderStyle> implements Key Enumerates the sets the line style for all four sides of an element's border.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DASHEDDisplays a series of short square-ended dashes or line segments.
 The exact size and length of the segments are not defined by the specification and are implementation-specific.DOTTEDDisplays a series of rounded dots.
 The spacing of the dots is not defined by the specification and is implementation-specific.DOUBLEDisplays two straight lines that add up to the pixel size defined by border width.GROOVEDisplays a border with a carved appearance.HIDDENLike the none keyword, displays no border.INSETDisplays a border that makes the element appear embedded.NONELike the hidden keyword, displays no border.OUTSETDisplays a border that makes the element appear embossed.RIDGEDisplays a border with an extruded appearance.SOLIDDisplays a single, straight, solid line.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()Returns the name value of propertystatic BorderStylevalueOf(String name)Returns the enum constant of this type with the specified name.static BorderStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final BorderStyle NONE Like the hidden keyword, displays no border.
 - 
DOTTEDpublic static final BorderStyle DOTTED Displays a series of rounded dots.
 The spacing of the dots is not defined by the specification and is implementation-specific.
 - 
DASHEDpublic static final BorderStyle DASHED Displays a series of short square-ended dashes or line segments.
 The exact size and length of the segments are not defined by the specification and are implementation-specific.
 - 
HIDDENpublic static final BorderStyle HIDDEN Like the none keyword, displays no border.
 - 
SOLIDpublic static final BorderStyle SOLID Displays a single, straight, solid line.
 - 
DOUBLEpublic static final BorderStyle DOUBLE Displays two straight lines that add up to the pixel size defined by border width.
 - 
GROOVEpublic static final BorderStyle GROOVE Displays a border with a carved appearance. It is the opposite ofRIDGE.
 - 
RIDGEpublic static final BorderStyle RIDGE Displays a border with an extruded appearance. It is the opposite ofGROOVE.
 - 
INSETpublic static final BorderStyle INSET Displays a border that makes the element appear embedded. It is the opposite ofOUTSET.
 - 
OUTSETpublic static final BorderStyle OUTSET Displays a border that makes the element appear embossed. It is the opposite ofINSET.
 
- 
 - 
Method Detail- 
valuespublic static BorderStyle[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BorderStyle c : BorderStyle.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static BorderStyle valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-