org.apache.myfaces.tobago.renderkit.html
Class StyleClasses

java.lang.Object
  extended by org.apache.myfaces.tobago.renderkit.html.StyleClasses
All Implemented Interfaces:
java.io.Serializable

public class StyleClasses
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class StyleClasses.Aspect
           
 
Field Summary
static java.lang.String MARKUP
           
static java.lang.String PREFIX
           
static char SEPERATOR
           
 
Constructor Summary
StyleClasses()
           
 
Method Summary
 void addAspectClass(java.lang.String renderer, java.lang.String sub, StyleClasses.Aspect aspect)
           
 void addAspectClass(java.lang.String renderer, StyleClasses.Aspect aspect)
           
 void addClass(java.lang.String renderer, java.lang.String sub)
           
 void addClasses(StyleClasses styleClasses)
           
 void addFullQualifiedClass(java.lang.String clazz)
          Deprecated. 
 void addMarkupClass(java.lang.String renderer, java.lang.String markup)
           
 void addMarkupClass(java.lang.String renderer, java.lang.String sub, java.lang.String markup)
           
 void addMarkupClass(SupportsMarkup supportsMarkup, java.lang.String rendererName, java.lang.String sub)
           
 void addMarkupClass(UIComponent component, java.lang.String rendererName)
           
static StyleClasses ensureStyleClasses(UIComponent component)
           
static StyleClasses ensureStyleClassesCopy(UIComponent component)
           
 boolean isEmpty()
           
 void removeAspectClass(java.lang.String renderer, java.lang.String sub, StyleClasses.Aspect aspect)
           
 void removeAspectClass(java.lang.String renderer, StyleClasses.Aspect aspect)
           
 void removeClass(java.lang.String clazz)
           
 void removeClass(java.lang.String renderer, java.lang.String sub)
           
 void removeFullQualifiedClass(java.lang.String clazz)
          Deprecated. 
 void removeMarkupClass(java.lang.String renderer, java.lang.String markup)
           
 void removeMarkupClass(java.lang.String renderer, java.lang.String sub, java.lang.String markup)
           
 void removeTobagoClasses(java.lang.String rendererName)
           
 java.lang.String toString()
           
 void updateClassAttribute(UIComponent component, java.lang.String rendererName)
           
 void updateClassAttributeAndMarkup(UIComponent component, java.lang.String rendererName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPERATOR

public static final char SEPERATOR
See Also:
Constant Field Values

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values

MARKUP

public static final java.lang.String MARKUP
See Also:
Constant Field Values
Constructor Detail

StyleClasses

public StyleClasses()
Method Detail

ensureStyleClasses

public static StyleClasses ensureStyleClasses(UIComponent component)

ensureStyleClassesCopy

public static StyleClasses ensureStyleClassesCopy(UIComponent component)

addFullQualifiedClass

@Deprecated
public void addFullQualifiedClass(java.lang.String clazz)
Deprecated. 


removeFullQualifiedClass

@Deprecated
public void removeFullQualifiedClass(java.lang.String clazz)
Deprecated. 


addClass

public void addClass(java.lang.String renderer,
                     java.lang.String sub)

removeClass

public void removeClass(java.lang.String renderer,
                        java.lang.String sub)

addMarkupClass

public void addMarkupClass(java.lang.String renderer,
                           java.lang.String markup)

removeMarkupClass

public void removeMarkupClass(java.lang.String renderer,
                              java.lang.String markup)

addMarkupClass

public void addMarkupClass(java.lang.String renderer,
                           java.lang.String sub,
                           java.lang.String markup)

removeMarkupClass

public void removeMarkupClass(java.lang.String renderer,
                              java.lang.String sub,
                              java.lang.String markup)

addMarkupClass

public void addMarkupClass(UIComponent component,
                           java.lang.String rendererName)

addMarkupClass

public void addMarkupClass(SupportsMarkup supportsMarkup,
                           java.lang.String rendererName,
                           java.lang.String sub)

addAspectClass

public void addAspectClass(java.lang.String renderer,
                           StyleClasses.Aspect aspect)

removeAspectClass

public void removeAspectClass(java.lang.String renderer,
                              StyleClasses.Aspect aspect)

addAspectClass

public void addAspectClass(java.lang.String renderer,
                           java.lang.String sub,
                           StyleClasses.Aspect aspect)

removeAspectClass

public void removeAspectClass(java.lang.String renderer,
                              java.lang.String sub,
                              StyleClasses.Aspect aspect)

addClasses

public void addClasses(StyleClasses styleClasses)

removeClass

public void removeClass(java.lang.String clazz)

removeTobagoClasses

public void removeTobagoClasses(java.lang.String rendererName)

updateClassAttributeAndMarkup

public void updateClassAttributeAndMarkup(UIComponent component,
                                          java.lang.String rendererName)

updateClassAttribute

public void updateClassAttribute(UIComponent component,
                                 java.lang.String rendererName)

isEmpty

public boolean isEmpty()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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