All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.font.Topline
java.lang.Object
|
+----org.w3c.css.properties.CssProperty
|
+----org.w3c.css.font.Topline
- public class Topline
- extends CssProperty
-
Topline()
- Create a new Topline
-
Topline(CssExpression)
- Creates a new Topline
-
addToStyle(CssStyle)
- Add this property to the CssStyle.
-
equals(CssProperty)
- Compares two properties for equality.
-
get()
- Returns the current value
-
getPropertyInStyle(CssStyle, boolean)
- Get this property in the style.
-
getPropertyName()
- Returns the name of this property
-
isDefault()
- Is the value of this property is a default value.
-
toString()
- Returns a string representation of the object.
Topline
public Topline()
- Create a new Topline
Topline
public Topline(CssExpression expression) throws InvalidParamException
- Creates a new Topline
- Parameters:
- expression - the unicode em
- Throws: InvalidParamException
- values are incorrect
get
public Object get()
- Returns the current value
- Overrides:
- get in class CssProperty
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class CssProperty
getPropertyName
public String getPropertyName()
- Returns the name of this property
- Overrides:
- getPropertyName in class CssProperty
addToStyle
public void addToStyle(CssStyle style)
- Add this property to the CssStyle.
- Parameters:
- style - The CssStyle
- Overrides:
- addToStyle in class CssProperty
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
equals
public boolean equals(CssProperty property)
- Compares two properties for equality.
- Parameters:
- value - The other property.
- Overrides:
- equals in class CssProperty
isDefault
public boolean isDefault()
- Is the value of this property is a default value.
It is used by all macro for the function
print
- Overrides:
- isDefault in class CssProperty
All Packages Class Hierarchy This Package Previous Next Index