All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.properties.CssBorderTopColor

java.lang.Object
   |
   +----org.w3c.css.properties.CssProperty
           |
           +----org.w3c.css.properties.CssBorderTopColor

public class CssBorderTopColor
extends CssProperty
Be careful, this is not a CSS1 property !


Constructor Index

 o CssBorderTopColor()
Create a new CssBorderTopColor
 o CssBorderTopColor(CssBorderFaceColor)
Create a new CssBorderTopColor with an another CssBorderFaceColor
 o CssBorderTopColor(CssExpression)
Create a new CssBorderTopColor

Method Index

 o addToStyle(CssStyle)
Add this property to the CssStyle.
 o equals(CssProperty)
Compares two properties for equality.
 o get()
Returns the value of this property
 o getColor()
Returns the color
 o getPropertyInStyle(CssStyle, boolean)
Get this property in the style.
 o getPropertyName()
Returns the name of this property
 o print(CssPrinterStyle)
Is the value of this property is a default value.
 o toString()
Returns a string representation of the object.

Constructors

 o CssBorderTopColor
 public CssBorderTopColor()
Create a new CssBorderTopColor

 o CssBorderTopColor
 public CssBorderTopColor(CssBorderFaceColor another)
Create a new CssBorderTopColor with an another CssBorderFaceColor

Parameters:
another - The another side.
 o CssBorderTopColor
 public CssBorderTopColor(CssExpression expression) throws InvalidParamException
Create a new CssBorderTopColor

Parameters:
expression - The expression fir this property
Throws: InvalidParamException
Values are incorrect

Methods

 o get
 public Object get()
Returns the value of this property

Overrides:
get in class CssProperty
 o getColor
 public CssColor getColor()
Returns the color

 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class CssProperty
 o getPropertyName
 public String getPropertyName()
Returns the name of this property

Overrides:
getPropertyName in class CssProperty
 o addToStyle
 public void addToStyle(CssStyle style)
Add this property to the CssStyle.

Parameters:
style - The CssStyle
Overrides:
addToStyle in class CssProperty
 o getPropertyInStyle
 public CssProperty getPropertyInStyle(CssStyle style,
                                       boolean resolve)
Get this property in the style.

Parameters:
style - The style where the property is
resolve - if true, resolve the style to find this property
Overrides:
getPropertyInStyle in class CssProperty
 o equals
 public boolean equals(CssProperty property)
Compares two properties for equality.

Parameters:
value - The other property.
Overrides:
equals in class CssProperty
 o print
 public void print(CssPrinterStyle printer)
Is the value of this property is a default value. It is used by all macro for the function print

Overrides:
print in class CssProperty
See Also:
print

All Packages  Class Hierarchy  This Package  Previous  Next  Index