public class LabelSeparatorGenerator extends HtmlSeparatorGenerator
setStyleClass
method.BaseComponentGenerator.ControlType
Modifier and Type | Field and Description |
---|---|
protected String |
style |
protected String |
styleClass |
html
dataDictionary
Constructor and Description |
---|
LabelSeparatorGenerator() |
Modifier and Type | Method and Description |
---|---|
protected String |
getResolvedHtml(UIComponent component,
PropertySheetItem item)
Returns the resolved HTML to use for the separator.
|
String |
getStyle()
Returns the CSS style configured to be used for this separator
|
String |
getStyleClass()
Returns the CSS class configured to be used for this separator
|
void |
setStyle(String style)
Sets the CSS style to use for the separator
|
void |
setStyleClass(String styleClass)
Sets the CSS class to use for the separator
|
createComponent, generate, getHtml, setHtml
addStringConstraintParam, createAndSetConverter, createOutputTextComponent, generateAndAdd, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConstraints, setupConverter, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMandatoryValidation, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupProperty, setupRegexConstraint, setupStringLengthConstraint
public String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- The CSS classpublic String getStyle()
public void setStyle(String style)
style
- The CSS styleprotected String getResolvedHtml(UIComponent component, PropertySheetItem item)
HtmlSeparatorGenerator
In the default case we just return the HTML set via setHtml however subclasses may choose to generate the resulting HTML using a combination of the HTML set via setHtml and the given PropertySheetItem.
getResolvedHtml
in class HtmlSeparatorGenerator
component
- The JSF component representing the separatoritem
- The separator itemCopyright © 2005–2017 Alfresco Software. All rights reserved.