SourceForge.net Logo
aXSL API 0.2

org.axsl.common.value
Enum BorderStyle

java.lang.Object
  extended by java.lang.Enum<BorderStyle>
      extended by org.axsl.common.value.BorderStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BorderStyle>

public enum BorderStyle
extends java.lang.Enum<BorderStyle>

Enumeration of valid border styles.


Enum Constant Summary
DASHED
          The border is a series of short line segments.
DOTTED
          The border is a series of dots.
DOUBLE
          The border is two solid lines.
GROOVE
          The border looks as though it were carved into the canvas.
HIDDEN
          No border, excpect in terms of border conflict resolution for table elements.
INSET
          The border makes the entire box look as though it were embedded in the canvas.
NONE
          No border.
OUTSET
          The opposite of "inset": the border makes the entire box look as though it were coming out of the canvas.
RIDGE
          The opposite of "groove": the border looks as though it were coming out of the canvas.
SOLID
          The border is a single line segment.
 
Method Summary
 RuleStyle getEquivalentRuleStyle()
          Returns the equivalent rule style.
static BorderStyle valueOf(java.lang.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're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final BorderStyle NONE
No border.


HIDDEN

public static final BorderStyle HIDDEN
No border, excpect in terms of border conflict resolution for table elements.


DOTTED

public static final BorderStyle DOTTED
The border is a series of dots.


DASHED

public static final BorderStyle DASHED
The border is a series of short line segments.


SOLID

public static final BorderStyle SOLID
The border is a single line segment.


DOUBLE

public static final BorderStyle DOUBLE
The border is two solid lines. The sum of the two lines and the space between them equals the value of border-width.


GROOVE

public static final BorderStyle GROOVE
The border looks as though it were carved into the canvas.


RIDGE

public static final BorderStyle RIDGE
The opposite of "groove": the border looks as though it were coming out of the canvas.


INSET

public static final BorderStyle INSET
The border makes the entire box look as though it were embedded in the canvas.


OUTSET

public static final BorderStyle OUTSET
The opposite of "inset": the border makes the entire box look as though it were coming out of the canvas.

Method Detail

values

public static final BorderStyle[] values()
Returns an array containing the constants of this enum type, in the order they're 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're declared

valueOf

public static BorderStyle valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getEquivalentRuleStyle

public RuleStyle getEquivalentRuleStyle()
Returns the equivalent rule style.

Returns:
The equivalent rule style. For border styles that have no equivalent rule style, returns null.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.