Package io.keikaiex.ui.dialog
Class CustomSortCtrl.SortAlgorithmCombobox
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlBasedComponent
-
- org.zkoss.zul.impl.XulElement
-
- org.zkoss.zul.impl.InputElement
-
- org.zkoss.zul.Textbox
-
- org.zkoss.zul.Combobox
-
- io.keikaiex.ui.dialog.CustomSortCtrl.SortAlgorithmCombobox
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.zkoss.zk.ui.Component
,org.zkoss.zk.ui.ext.Disable
,org.zkoss.zk.ui.ext.Readonly
,org.zkoss.zk.ui.ext.Scope
,org.zkoss.zk.ui.sys.ComponentCtrl
,org.zkoss.zul.ext.Constrainted
- Enclosing class:
- CustomSortCtrl
public class CustomSortCtrl.SortAlgorithmCombobox extends org.zkoss.zul.Combobox
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.zkoss.zul.Listitem
listitem
protected static String
NUM_ASCENDING_KEY
protected static String
NUM_DESCENDING_KEY
protected CustomSortCtrl.SortRule
sort
protected static String
STR_ASCENDING_KEY
Default display the Stringprotected static String
STR_DESCENDING_KEY
-
Constructor Summary
Constructors Constructor Description SortAlgorithmCombobox(org.zkoss.zul.Listitem listitem, CustomSortCtrl.SortRule sort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
createLabelList()
protected boolean
isAllCellNumberType(int idx)
void
onSelect(org.zkoss.zk.ui.event.SelectEvent evt)
protected void
refreshModel()
-
Methods inherited from class org.zkoss.zul.Combobox
appendItem, beforeChildAdded, clone, close, coerceToString, getEmptySearchMessage, getExtraCtrl, getIconSclass, getItemAtIndex, getItemCount, getItemRenderer, getItems, getModel, getPopupWidth, getPropertyAccess, getSelectedIndex, getSelectedItem, getZclass, isAutocomplete, isAutodrop, isButtonVisible, isChildable, isInstantSelect, isOpen, onChildAdded, onChildRemoved, onInitRender, onPageAttached, onPageDetached, open, removeItemAt, renderProperties, service, sessionDidActivate, sessionWillPassivate, setAutocomplete, setAutodrop, setButtonVisible, setEmptySearchMessage, setIconSclass, setInstantSelect, setItemRenderer, setItemRenderer, setModel, setMultiline, setOpen, setPopupWidth, setRows, setSelectedIndex, setSelectedItem
-
Methods inherited from class org.zkoss.zul.Textbox
checkBeforeSetRows, coerceFromString, getRows, getType, getValue, isMultiline, isSubmitByEnter, isTabbable, setHeight, setSubmitByEnter, setTabbable, setType, setValue, setVflex
-
Methods inherited from class org.zkoss.zul.impl.InputElement
checkUserError, clearErrorMessage, clearErrorMessage, getCols, getConstraint, getConstraintString, getErrorboxIconSclass, getErrorboxSclass, getErrorMessage, getInputAttributes, getInstant, getMaxlength, getName, getPlaceholder, getRawText, getRawValue, getTargetValue, getText, isDisabled, isInplace, isInstant, isReadonly, isValid, marshall, onWrongValue, select, setCols, setConstraint, setConstraint, setDisabled, setErrorboxIconSclass, setErrorboxSclass, setErrorMessage, setInplace, setInputAttributes, setInputAttributes, setInsertedText, setInstant, setMaxlength, setName, setPlaceholder, setRawValue, setReadonly, setSelectedText, setSelectionRange, setText, setValueDirectly, showCustomError, unmarshall, validate
-
Methods inherited from class org.zkoss.zul.impl.XulElement
getContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
-
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, evalCSSFlex, focus, getAction, getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setClientAction, setDraggable, setDroppable, setFocus, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, destroyIndexCacheMap, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, disableHostChanged, enableBindingAnnotation, enableHostChanged, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getIndexCacheMap, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, initIndexCacheMap, insertBefore, invalidate, isDisabledHostChanged, isInitialized, isInvalidated, isListenerAvailable, isVisible, onParentChanged, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, renderPropertiesOnly, replace, response, response, response, service, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
-
-
-
Field Detail
-
sort
protected CustomSortCtrl.SortRule sort
-
listitem
protected org.zkoss.zul.Listitem listitem
-
STR_ASCENDING_KEY
protected static final String STR_ASCENDING_KEY
Default display the String- See Also:
- Constant Field Values
-
STR_DESCENDING_KEY
protected static final String STR_DESCENDING_KEY
- See Also:
- Constant Field Values
-
NUM_ASCENDING_KEY
protected static final String NUM_ASCENDING_KEY
- See Also:
- Constant Field Values
-
NUM_DESCENDING_KEY
protected static final String NUM_DESCENDING_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SortAlgorithmCombobox
public SortAlgorithmCombobox(org.zkoss.zul.Listitem listitem, CustomSortCtrl.SortRule sort)
-
-