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 java.lang.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  java.util.Map<java.lang.String,java.lang.String> getProperties()
          Returns an unmodifiable Map of the properties (name/value) defined by this style.
abstract  java.lang.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 java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns an unmodifiable Map of the properties (name/value) defined by this style.

toInlineString

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

Skip navigation links


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