public class FieldLabelDefaultAppearance extends Object implements FieldLabel.FieldLabelAppearance
Modifier and Type | Class and Description |
---|---|
static interface |
FieldLabelDefaultAppearance.FieldLabelResources |
static interface |
FieldLabelDefaultAppearance.FieldLabelTemplate |
static interface |
FieldLabelDefaultAppearance.Style |
Modifier and Type | Field and Description |
---|---|
protected FieldLabelDefaultAppearance.Style |
style |
protected FieldLabelDefaultAppearance.FieldLabelTemplate |
template |
Constructor and Description |
---|
FieldLabelDefaultAppearance() |
FieldLabelDefaultAppearance(FieldLabelDefaultAppearance.FieldLabelResources resources,
FieldLabelDefaultAppearance.FieldLabelTemplate template) |
Modifier and Type | Method and Description |
---|---|
void |
clearLabelFor(XElement parent) |
XElement |
getChildElementWrapper(XElement parent) |
XElement |
getLabelElement(XElement parent) |
void |
onUpdateOptions(XElement parent,
FieldLabel.FieldLabelOptions options) |
void |
render(SafeHtmlBuilder sb,
String id,
FieldLabel.FieldLabelOptions options) |
void |
setLabelFor(XElement parent,
String id) |
protected FieldLabelDefaultAppearance.FieldLabelTemplate template
protected FieldLabelDefaultAppearance.Style style
public FieldLabelDefaultAppearance()
public FieldLabelDefaultAppearance(FieldLabelDefaultAppearance.FieldLabelResources resources, FieldLabelDefaultAppearance.FieldLabelTemplate template)
public void clearLabelFor(XElement parent)
clearLabelFor
in interface FieldLabel.FieldLabelAppearance
public XElement getChildElementWrapper(XElement parent)
getChildElementWrapper
in interface FieldLabel.FieldLabelAppearance
public XElement getLabelElement(XElement parent)
getLabelElement
in interface FieldLabel.FieldLabelAppearance
public void onUpdateOptions(XElement parent, FieldLabel.FieldLabelOptions options)
onUpdateOptions
in interface FieldLabel.FieldLabelAppearance
public void render(SafeHtmlBuilder sb, String id, FieldLabel.FieldLabelOptions options)
render
in interface FieldLabel.FieldLabelAppearance
public void setLabelFor(XElement parent, String id)
setLabelFor
in interface FieldLabel.FieldLabelAppearance
Copyright © 2020. All rights reserved.