Package org.zkoss.stateless.sul
Interface IFisheye
- All Superinterfaces:
IChildrenOfInputgroup<IFisheye>,IComponent<IFisheye>,IHtmlBasedComponent<IFisheye>,ILabelElement<IFisheye>,ILabelImageElement<IFisheye>,IXulElement<IFisheye>
Immutable
Fisheye component.
A fisheye item.
- Author:
- jumperchen
- See Also:
-
Fisheye
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIFisheye.static classBuilds an updater of typeIFisheyeforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the height of the component.default StringReturns the client widget class.default StringgetWidth()Returns the width of the component.static IFisheyeReturns the instance with the given label.static IFisheyeReturns the instance with the given label and image.static IFisheyeReturns the instance with the given id.static IFisheyeReturns the instance with the given image.default IFisheyewithHeight(String height) This method is unsupported.default IFisheyeThis method is unsupported.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.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHflex, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withZclass, withZIndexMethods inherited from interface org.zkoss.stateless.sul.ILabelElement
getLabel, withLabelMethods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImageMethods 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
-
getWidth
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<IFisheye>
-
withWidth
This method is unsupported. Please useIFisheyebar.withItemWidth(int)instead.- Specified by:
withWidthin interfaceIHtmlBasedComponent<IFisheye>- Parameters:
width- The width of the component.Default:
null- Returns:
- A modified copy of the
thisobject
-
getHeight
Description copied from interface:IHtmlBasedComponentReturns the height of the component. If not specified,nullis assumed.Default:
null- Specified by:
getHeightin interfaceIHtmlBasedComponent<IFisheye>
-
withHeight
This method is unsupported. Please useIFisheyebar.withItemHeight(int)instead.- Specified by:
withHeightin interfaceIHtmlBasedComponent<IFisheye>- Parameters:
height- The height of the component.Default:
null- Returns:
- A modified copy of the
thisobject
-
getWidgetClass
Returns the client widget class.Default:
"zkex.menu.Fisheye"- Specified by:
getWidgetClassin interfaceIComponent<IFisheye>
-
of
Returns the instance with the given label.- Parameters:
label- The label that the component holds.
-
of
Returns the instance with the given label and image.- Parameters:
label- The label that the component holds.image- The image that the component holds.
-
ofImage
Returns the instance with the given image.- Parameters:
image- The image that the component holds.
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-