Package org.zkoss.stateless.sul
Interface IFormatInputElement<I extends IFormatInputElement,ValueTypeT>
- All Superinterfaces:
IChildrenOfInputgroup<I>,IComponent<I>,IHtmlBasedComponent<I>,IInputElement<I,,ValueTypeT> IReadonly<I>,IXulElement<I>
- All Known Subinterfaces:
IDatebox,IDateTimeFormatInputElement<I>,IDecimalbox,IDoublebox,IDoublespinner,IIntbox,ILongbox,INumberInputElement<I,,ValueTypeT> ISpinner,ITimebox,ITimepicker
public interface IFormatInputElement<I extends IFormatInputElement,ValueTypeT>
extends IInputElement<I,ValueTypeT>
Immutable
FormatInputElement interface.
A skeletal implementation for an input box with format.
- Author:
- katherine
-
Method Summary
Modifier and TypeMethodDescriptionReturns the format of the input component.withFormat(String format) Returns a copy ofthisimmutable component with the specifiedformat.Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetClass, 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.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
getCols, getConstraint, getErrorboxIconSclass, getErrorboxSclass, getErrorMessage, getInputAttributes, getInstant, getMaxlength, getName, getPlaceholder, getValue, isDisabled, isInplace, withCols, withConstraint, withDisabled, withErrorboxIconSclass, withErrorboxSclass, withErrorMessage, withInplace, withInputAttributes, withInstant, withMaxlength, withName, withPlaceholder, withValueMethods 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
-
Method Details
-
getFormat
Returns the format of the input component.Default:
null(used what is defined in the inherited implementation). -
withFormat
Returns a copy ofthisimmutable component with the specifiedformat.Sets the format to the input component.
- Parameters:
format- The format of the input component (used what is defined in the inherited implementation).Default:
null.- Returns:
- A modified copy of the
thisobject
-