to.etc.domui.component.input
Class ComboFixedClientFilter<T>

java.lang.Object
  extended by to.etc.domui.dom.css.CssBase
      extended by to.etc.domui.dom.html.NodeBase
          extended by to.etc.domui.dom.html.NodeContainer
              extended by to.etc.domui.dom.html.InputNodeContainer
                  extended by to.etc.domui.dom.html.Select
                      extended by to.etc.domui.component.input.ComboComponentBase<ValueLabelPair<T>,T>
                          extended by to.etc.domui.component.input.ComboFixed<T>
                              extended by to.etc.domui.component.input.ComboFixedClientFilter<T>
All Implemented Interfaces:
java.lang.Iterable<NodeBase>, IModelBinding, IBindable, INodeErrorDelegate, IActionControl, IControl<T>, IDisplayControl<T>, IHasChangeListener, IHasModifiedIndication, IInputNode<T>

public class ComboFixedClientFilter<T>
extends ComboFixed<T>

We use javascript to wrap addiotnal client side controls around ComboFixedClientFilter, for that we use jquery plugin: jquery.clientOptionFilter.js - client side filtering options select, author Vladimir Mijic (vmijic@execom.eu) Intended to be used for larger select boxes that need client side filtering by substring.

Author:
Vladimir Mijic Created on 12 nov 2010

Constructor Summary
ComboFixedClientFilter()
           
 
Method Summary
 void createContent()
          Render the actual combobox.
 void onAddedToPage(Page p)
          Force the javascript to load when this panel is used.
protected  void onUnshelve()
           
 
Methods inherited from class to.etc.domui.component.input.ComboFixed
createCombo, createCombo, createEnumCombo, createEnumCombo, createEnumCombo, createEnumCombo, createEnumCombo, createEnumCombo, listToValue
 
Methods inherited from class to.etc.domui.component.input.ComboComponentBase
bind, getContentRenderer, getContentRendererClass, getData, getEmptyOption, getEmptyText, getListMaker, getPropertyMetaModel, getValue, getValueSafe, getValueTransformer, hasError, internalGetCurrentValue, internalOnUserInput, internalSetCurrentValue, isBound, provideData, renderOptionLabel, setContentRenderer, setContentRendererClass, setData, setEmptyOption, setEmptyText, setListMaker, setPropertyMetaModel, setValue, setValueTransformer
 
Methods inherited from class to.etc.domui.dom.html.Select
acceptRequestParameter, addExtraButton, canContain, clearSelected, getOption, getSelectedIndex, getSize, internalSetSelectedIndex, isDisabled, isModified, isMultiple, onRemoveFromPage, setDisabled, setModified, setMultiple, setReadOnly, setSelectedIndex, setSize, visit
 
Methods inherited from class to.etc.domui.dom.html.InputNodeContainer
callOnValueChanged, getOnValueChanged, isMandatory, isReadOnly, setMandatory, setOnValueChanged
 
Methods inherited from class to.etc.domui.dom.html.NodeContainer
add, add, add, addTable, delegateTo, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChild, getDeepChildren, getErrorFence, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalGetOldChildren, internalShelve, internalUnshelve, iterator, moveControlToModel, moveModelToControl, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setControlsEnabled, setErrorFence, setErrorFence, setText, setValue
 
Methods inherited from class to.etc.domui.dom.html.NodeBase
$, addCssClass, addGlobalMessage, afterCreateContent, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, build, changed, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, componentHandleWebAction, findComponentBundle, getActualID, getAllocationTracepoint, getClicked, getComponentBundle, getCreateJS, getCssClass, getErrorDelegate, getErrorLocation, getMessage, getOnClickJS, getOnMouseDownJS, getPage, getParent, getParent, getParent, getSharedContext, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTitle, getUserObject, handleDrop, hasCssClass, internalGetOldParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isBuilt, isFocusRequested, isStretchHeight, onBeforeFullRender, onForceRebuild, onHeaderContributors, onShelve, refresh, remove, removeCssClass, renderJavascriptState, replaceWith, setClicked, setComponentBundle, setCssClass, setErrorDelegate, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setSpecialAttribute, setStretchHeight, setTestID, setTitle, setUserObject, toString
 
Methods inherited from class to.etc.domui.dom.css.CssBase
getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface to.etc.domui.dom.html.IControl
getErrorLocation, isDisabled, isMandatory, isReadOnly, setErrorLocation, setMandatory, setReadOnly
 
Methods inherited from interface to.etc.domui.dom.html.IDisplayControl
setTestID
 
Methods inherited from interface to.etc.domui.dom.html.IActionControl
setDisabled, setTestID
 
Methods inherited from interface to.etc.domui.dom.html.IHasChangeListener
getOnValueChanged, setOnValueChanged
 
Methods inherited from interface to.etc.domui.dom.errors.INodeErrorDelegate
clearMessage, getMessage, setMessage
 
Methods inherited from interface to.etc.domui.dom.html.IHasModifiedIndication
isModified, setModified
 

Constructor Detail

ComboFixedClientFilter

public ComboFixedClientFilter()
Method Detail

createContent

public void createContent()
                   throws java.lang.Exception
Description copied from class: ComboComponentBase
Render the actual combobox. This renders the value domain as follows: Fixes bug# 790.

Overrides:
createContent in class ComboComponentBase<ValueLabelPair<T>,T>
Throws:
java.lang.Exception

onUnshelve

protected void onUnshelve()
                   throws java.lang.Exception
Overrides:
onUnshelve in class NodeBase
Throws:
java.lang.Exception

onAddedToPage

public void onAddedToPage(Page p)
Force the javascript to load when this panel is used.

Overrides:
onAddedToPage in class Select
See Also:
NodeBase.onAddedToPage(to.etc.domui.dom.html.Page)