Package org.zkoss.stateless.sul
Interface IDoublebox
- All Superinterfaces:
IAnyGroup<IDoublebox>,IChildrenOfInputgroup<IDoublebox>,IComponent<IDoublebox>,IFormatInputElement<IDoublebox,,Double> IHtmlBasedComponent<IDoublebox>,IInputElement<IDoublebox,,Double> INumberInputElement<IDoublebox,,Double> IReadonly<IDoublebox>,IXulElement<IDoublebox>
Immutable
Doublebox component.
An edit box for holding an float point value (double).
Constraint
You could specify what value to accept for input controls by use of the
constraint attribute. It could be a combination
of no positive, no negative, no zero, and no empty.
- Author:
- katherine
- See Also:
-
Doublebox
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIDoublebox.static classBuilds an updater of typeIDoubleboxforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IDoubleboxConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the client widget class.static IDoubleboxof(double value) Returns the instance with the given value.static IDoubleboxReturns the instance with the given value.static IDoubleboxofCols(int cols) Returns the instance with the given cols.static IDoubleboxofConstraint(String constraint) Returns the instance with the given constraint.static IDoubleboxReturns the instance with the given id.Returns a copy ofthisimmutable component with the specifiedvalue.Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetListeners, getWidgetOverrides, isVisible, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withActions, withActions, withClientAttribute, withClientAttributes, withId, withMold, withVisible, withWidgetClass, withWidgetListener, withWidgetListeners, withWidgetOverride, withWidgetOverridesMethods inherited from interface org.zkoss.stateless.sul.IFormatInputElement
getFormat, withFormatMethods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndexMethods inherited from interface org.zkoss.stateless.sul.IInputElement
getConstraint, getErrorboxIconSclass, getErrorboxSclass, getErrorMessage, getInputAttributes, getInstant, getMaxlength, getName, getPlaceholder, getValue, isDisabled, isInplace, withCols, withConstraint, withDisabled, withErrorboxIconSclass, withErrorboxSclass, withErrorMessage, withInplace, withInputAttributes, withInstant, withMaxlength, withName, withPlaceholderMethods inherited from interface org.zkoss.stateless.sul.INumberInputElement
getCols, getLocale, getRoundingMode, withLocale, withLocale, withRoundingModeMethods inherited from interface org.zkoss.stateless.sul.IReadonly
isReadonly, withReadonlyMethods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
withValue
Description copied from interface:IInputElementReturns a copy ofthisimmutable component with the specifiedvalue.Sets the value of the input component.
- Specified by:
withValuein interfaceIInputElement<IDoublebox,Double> - Parameters:
value- The value of the input component.Default:
null.- Returns:
- A modified copy of the
thisobject
-
getWidgetClass
Returns the client widget class.Default:
"zul.inp.Doublebox"- Specified by:
getWidgetClassin interfaceIComponent<IDoublebox>
-
of
Returns the instance with the given value.- Parameters:
value- The double value
-
of
Returns the instance with the given value.- Parameters:
value- The double value
-
ofCols
Returns the instance with the given cols.- Parameters:
cols- The cols which determines the visible width
-
ofConstraint
Returns the instance with the given constraint.- Parameters:
constraint- The doublebox constraint
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-