com.sencha.gxt.theme.base.client.field
Class CheckBoxDefaultAppearance

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.field.ValueBaseFieldDefaultAppearance
      extended by com.sencha.gxt.theme.base.client.field.CheckBoxDefaultAppearance
All Implemented Interfaces:
CheckBoxCell.CheckBoxAppearance, FieldCell.FieldAppearance, ValueBaseInputCell.ValueBaseFieldAppearance
Direct Known Subclasses:
RadioDefaultAppearance

public class CheckBoxDefaultAppearance
extends ValueBaseFieldDefaultAppearance
implements CheckBoxCell.CheckBoxAppearance


Nested Class Summary
static interface CheckBoxDefaultAppearance.CheckBoxResources
           
static interface CheckBoxDefaultAppearance.CheckBoxStyle
           
 
Nested classes/interfaces inherited from class com.sencha.gxt.theme.base.client.field.ValueBaseFieldDefaultAppearance
ValueBaseFieldDefaultAppearance.ValueBaseFieldResources, ValueBaseFieldDefaultAppearance.ValueBaseFieldStyle
 
Constructor Summary
CheckBoxDefaultAppearance()
           
CheckBoxDefaultAppearance(CheckBoxDefaultAppearance.CheckBoxResources resources)
           
 
Method Summary
 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 boxLabel, XElement parent)
           
 void setReadOnly(Element parent, boolean readOnly)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxDefaultAppearance

public CheckBoxDefaultAppearance()

CheckBoxDefaultAppearance

public CheckBoxDefaultAppearance(CheckBoxDefaultAppearance.CheckBoxResources resources)
Method Detail

getInputElement

public XElement getInputElement(Element parent)
Specified by:
getInputElement in interface ValueBaseInputCell.ValueBaseFieldAppearance

onEmpty

public void onEmpty(Element parent,
                    boolean empty)
Specified by:
onEmpty in interface FieldCell.FieldAppearance
Overrides:
onEmpty in class ValueBaseFieldDefaultAppearance

onFocus

public void onFocus(Element parent,
                    boolean focus)
Specified by:
onFocus in interface FieldCell.FieldAppearance
Overrides:
onFocus in class ValueBaseFieldDefaultAppearance

onValid

public void onValid(Element parent,
                    boolean valid)
Specified by:
onValid in interface FieldCell.FieldAppearance
Overrides:
onValid in class ValueBaseFieldDefaultAppearance

render

public void render(SafeHtmlBuilder sb,
                   Boolean value,
                   CheckBoxCell.CheckBoxCellOptions options)
Specified by:
render in interface CheckBoxCell.CheckBoxAppearance

setBoxLabel

public void setBoxLabel(String boxLabel,
                        XElement parent)
Specified by:
setBoxLabel in interface CheckBoxCell.CheckBoxAppearance

setReadOnly

public void setReadOnly(Element parent,
                        boolean readOnly)
Specified by:
setReadOnly in interface FieldCell.FieldAppearance
Overrides:
setReadOnly in class ValueBaseFieldDefaultAppearance


Copyright © 2012. All Rights Reserved.