public class CheckBoxDefaultAppearance extends ValueBaseFieldDefaultAppearance implements CheckBoxCell.CheckBoxAppearance
Modifier and Type | Class and Description |
---|---|
static interface |
CheckBoxDefaultAppearance.CheckBoxResources |
static interface |
CheckBoxDefaultAppearance.CheckBoxStyle |
ValueBaseFieldDefaultAppearance.ValueBaseFieldResources, ValueBaseFieldDefaultAppearance.ValueBaseFieldStyle
Constructor and Description |
---|
CheckBoxDefaultAppearance() |
CheckBoxDefaultAppearance(CheckBoxDefaultAppearance.CheckBoxResources resources) |
Modifier and Type | Method and Description |
---|---|
XElement |
getInputElement(Element parent) |
void |
onEmpty(Element parent,
boolean empty) |
void |
onFocus(Element parent,
boolean focus) |
void |
onValid(Element parent,
boolean valid) |
void |
render(SafeHtmlBuilder sb,
Boolean value,
CheckBoxCell.CheckBoxCellOptions options) |
void |
setBoxLabel(String boxLabelHtml,
XElement parent) |
void |
setReadOnly(Element parent,
boolean readOnly) |
public CheckBoxDefaultAppearance()
public CheckBoxDefaultAppearance(CheckBoxDefaultAppearance.CheckBoxResources resources)
public XElement getInputElement(Element parent)
getInputElement
in interface ValueBaseInputCell.ValueBaseFieldAppearance
public void onEmpty(Element parent, boolean empty)
onEmpty
in interface FieldCell.FieldAppearance
onEmpty
in class ValueBaseFieldDefaultAppearance
public void onFocus(Element parent, boolean focus)
onFocus
in interface FieldCell.FieldAppearance
onFocus
in class ValueBaseFieldDefaultAppearance
public void onValid(Element parent, boolean valid)
onValid
in interface FieldCell.FieldAppearance
onValid
in class ValueBaseFieldDefaultAppearance
public void render(SafeHtmlBuilder sb, Boolean value, CheckBoxCell.CheckBoxCellOptions options)
render
in interface CheckBoxCell.CheckBoxAppearance
public void setBoxLabel(String boxLabelHtml, XElement parent)
setBoxLabel
in interface CheckBoxCell.CheckBoxAppearance
public void setReadOnly(Element parent, boolean readOnly)
setReadOnly
in interface FieldCell.FieldAppearance
setReadOnly
in class ValueBaseFieldDefaultAppearance
Copyright © 2015. All rights reserved.