Class Overview
Builds the CSS class attribute of tags.
The names will be generated in a formal way, so generic name (and abbrevation) are possible.
The class works like a factory, so caching will be possible.
The default naming conventions allow these values:
- tobago-<rendererName>
- tobago-<rendererName>-markup-<markupName>
- tobago-<rendererName>-<subElement>
- tobago-<rendererName>-<subElement>-markup-<markupName>
where
- <rendererName>, <subElement> and <markupName> must only contain ASCII-chars and -numbers
- <rendererName> is the rendererType with a lower case char as first char
- <subElement> is a sub element of the main tag in the output language (e.g. HTML)
- <markupName> is the name of an existing markup
If the markup contains more than one name, there will be generated more than one output string.
E.g.: UIIn with Markup [readonly, error] will get the class
"tobago-in tobago-in-markup-readonly tobago-in-markup-error".
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Methods
public
static
Classes
create
(UIComponent component)
public
static
Classes
create
(UIComponent component, Markup explicit)
public
static
Classes
createWorkaround
(String rendererName, String sub, Markup explicit)
This method is deprecated.
This workaround will be removed later
public
static
Classes
createWorkaround
(String rendererName, Markup explicit)
This method is deprecated.
This workaround will be removed later
public
String
getStringValue
()
public
static
String
requiredWorkaround
(UIComponent component)
This method is deprecated.
This workaround will be removed later