de.infinityloop.upcast
Interface UpcastStyle


public interface UpcastStyle

This interface defines the public interface for for an upCast style object.

It lets you query its properties, change properties and similar tasks.

Since:
5.1
Author:
Christian Roth

Method Summary
 CSSValue getCSSProperty(int propertyId)
          retrieves the value of the CSS property with the specified index as defined in CSSProperties.
 java.lang.String getStyleName()
          retrieves the name of this style
 java.lang.String toString()
          retrieves a string representation of all info stored in this style for debugging purposes
 

Method Detail

getCSSProperty

CSSValue getCSSProperty(int propertyId)
retrieves the value of the CSS property with the specified index as defined in CSSProperties.

Parameters:
propertyId - the id of the CSS property
Returns:
null, if this property is not defined, or an appropriate CSSValue otherwise.

getStyleName

java.lang.String getStyleName()
retrieves the name of this style

Returns:
the name of the style as specified in the source document's style table

toString

java.lang.String toString()
retrieves a string representation of all info stored in this style for debugging purposes

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this style