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

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.field.ValueBaseFieldDefaultAppearance
      extended by com.sencha.gxt.theme.base.client.field.TriggerFieldDefaultAppearance
All Implemented Interfaces:
FieldCell.FieldAppearance, TriggerFieldCell.TriggerFieldAppearance, ValueBaseInputCell.ValueBaseFieldAppearance
Direct Known Subclasses:
DateCellDefaultAppearance, StoreFilterFieldDefaultAppearance, TwinTriggerFieldDefaultAppearance

public class TriggerFieldDefaultAppearance
extends ValueBaseFieldDefaultAppearance
implements TriggerFieldCell.TriggerFieldAppearance


Nested Class Summary
static interface TriggerFieldDefaultAppearance.TriggerFieldResources
           
static interface TriggerFieldDefaultAppearance.TriggerFieldStyle
           
 
Nested classes/interfaces inherited from class com.sencha.gxt.theme.base.client.field.ValueBaseFieldDefaultAppearance
ValueBaseFieldDefaultAppearance.ValueBaseFieldResources, ValueBaseFieldDefaultAppearance.ValueBaseFieldStyle
 
Constructor Summary
TriggerFieldDefaultAppearance()
           
TriggerFieldDefaultAppearance(TriggerFieldDefaultAppearance.TriggerFieldResources resources)
           
 
Method Summary
 XElement getInputElement(Element parent)
           
 void onFocus(Element parent, boolean focus)
           
 void onResize(XElement parent, int width, int height, boolean hideTrigger)
           
 void onTriggerClick(XElement parent, boolean click)
           
 void onTriggerOver(XElement parent, boolean over)
           
 void render(SafeHtmlBuilder sb, String value, FieldCell.FieldAppearanceOptions options)
           
 void setEditable(XElement parent, boolean editable)
           
 void setTriggerVisible(XElement parent, boolean visible)
           
 boolean triggerIsOrHasChild(XElement parent, Element target)
           
 
Methods inherited from class com.sencha.gxt.theme.base.client.field.ValueBaseFieldDefaultAppearance
onEmpty, onValid, setReadOnly
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sencha.gxt.cell.core.client.form.FieldCell.FieldAppearance
onEmpty, onValid, setReadOnly
 

Constructor Detail

TriggerFieldDefaultAppearance

public TriggerFieldDefaultAppearance()

TriggerFieldDefaultAppearance

public TriggerFieldDefaultAppearance(TriggerFieldDefaultAppearance.TriggerFieldResources resources)
Method Detail

getInputElement

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

onFocus

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

onTriggerClick

public void onTriggerClick(XElement parent,
                           boolean click)
Specified by:
onTriggerClick in interface TriggerFieldCell.TriggerFieldAppearance

onTriggerOver

public void onTriggerOver(XElement parent,
                          boolean over)
Specified by:
onTriggerOver in interface TriggerFieldCell.TriggerFieldAppearance

render

public void render(SafeHtmlBuilder sb,
                   String value,
                   FieldCell.FieldAppearanceOptions options)
Specified by:
render in interface TriggerFieldCell.TriggerFieldAppearance

setEditable

public void setEditable(XElement parent,
                        boolean editable)
Specified by:
setEditable in interface TriggerFieldCell.TriggerFieldAppearance

setTriggerVisible

public void setTriggerVisible(XElement parent,
                              boolean visible)
Specified by:
setTriggerVisible in interface TriggerFieldCell.TriggerFieldAppearance

triggerIsOrHasChild

public boolean triggerIsOrHasChild(XElement parent,
                                   Element target)
Specified by:
triggerIsOrHasChild in interface TriggerFieldCell.TriggerFieldAppearance

onResize

public void onResize(XElement parent,
                     int width,
                     int height,
                     boolean hideTrigger)
Specified by:
onResize in interface TriggerFieldCell.TriggerFieldAppearance


Copyright © 2012. All Rights Reserved.