public class CheckBoxDefaultAppearance extends ValueBaseFieldDefaultAppearance implements CheckBoxCell.CheckBoxAppearance
| Modifier and Type | Class and Description |
|---|---|
static interface |
CheckBoxDefaultAppearance.CheckBoxResources |
static interface |
CheckBoxDefaultAppearance.CheckBoxStyle |
static interface |
CheckBoxDefaultAppearance.CheckTemplate |
static interface |
CheckBoxDefaultAppearance.NotCheckedTemplate |
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,
String name,
boolean readonly,
String boxLabel) |
void |
setBoxLabel(String boxLabel,
XElement parent) |
void |
setReadOnly(Element parent,
boolean readOnly) |
public CheckBoxDefaultAppearance()
public CheckBoxDefaultAppearance(CheckBoxDefaultAppearance.CheckBoxResources resources)
public XElement getInputElement(Element parent)
getInputElement in interface ValueBaseFieldCell.ValueBaseFieldAppearancepublic void onEmpty(Element parent, boolean empty)
onEmpty in interface FieldCell.FieldAppearanceonEmpty in class ValueBaseFieldDefaultAppearancepublic void onFocus(Element parent, boolean focus)
onFocus in interface FieldCell.FieldAppearanceonFocus in class ValueBaseFieldDefaultAppearancepublic void onValid(Element parent, boolean valid)
onValid in interface FieldCell.FieldAppearanceonValid in class ValueBaseFieldDefaultAppearancepublic void render(SafeHtmlBuilder sb, Boolean value, String name, boolean readonly, String boxLabel)
render in interface CheckBoxCell.CheckBoxAppearancepublic void setBoxLabel(String boxLabel, XElement parent)
setBoxLabel in interface CheckBoxCell.CheckBoxAppearancepublic void setReadOnly(Element parent, boolean readOnly)
setReadOnly in interface FieldCell.FieldAppearancesetReadOnly in class ValueBaseFieldDefaultAppearanceCopyright © 2012. All Rights Reserved.