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
Modifier and Type | Field and Description |
---|---|
protected CheckBoxDefaultAppearance.CheckBoxResources |
resources |
protected CheckBoxDefaultAppearance.CheckBoxStyle |
style |
protected String |
type |
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(SafeHtml boxLabel,
XElement parent) |
void |
setReadOnly(Element parent,
boolean readOnly) |
protected final CheckBoxDefaultAppearance.CheckBoxResources resources
protected final CheckBoxDefaultAppearance.CheckBoxStyle style
protected String type
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(SafeHtml boxLabel, XElement parent)
setBoxLabel
in interface CheckBoxCell.CheckBoxAppearance
public void setReadOnly(Element parent, boolean readOnly)
setReadOnly
in interface FieldCell.FieldAppearance
setReadOnly
in class ValueBaseFieldDefaultAppearance
Copyright © 2018. All rights reserved.