Skip navigation links


org.apache.myfaces.trinidad.style
Class Style

java.lang.Object
  extended by org.apache.myfaces.trinidad.style.Style


public abstract class Style
extends Object

A Style object defines a set of visual (or aural) style properties. The Style interface exposes one method for retrieving properties: getProperties(). getProperties() returns a Map<String, String> of the propery name as the key and the property value as the value.


Constructor Summary
Style()
           

 

Method Summary
abstract  Map<String,String> getProperties()
          Returns an unmodifiable Map of the properties (name/value) defined by this style.
abstract  String toInlineString()
          Converts the style to a String suitable for use as an inline style attribute value.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Style

public Style()

Method Detail

getProperties

public abstract Map<String,String> getProperties()
Returns an unmodifiable Map of the properties (name/value) defined by this style.

toInlineString

public abstract String toInlineString()
Converts the style to a String suitable for use as an inline style attribute value.

Skip navigation links


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.