Package org.zkoss.stateless.sul
Interface IFisheye
-
- All Superinterfaces:
IChildrenOfInputgroup<IFisheye>,IComponent<IFisheye>,IHtmlBasedComponent<IFisheye>,ILabelElement<IFisheye>,ILabelImageElement<IFisheye>,IXulElement<IFisheye>
public interface IFisheye extends ILabelImageElement<IFisheye>
ImmutableFisheyecomponent.A fisheye item.
- Author:
- jumperchen
- See Also:
Fisheye
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIFisheye.BuilderBuilds instances of typeIFisheye.static classIFisheye.UpdaterBuilds an updater of typeIFisheyeforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetHeight()Returns the height of the component.default java.lang.StringgetWidgetClass()Returns the client widget class.default java.lang.StringgetWidth()Returns the width of the component.static IFisheyeof(java.lang.String label)Returns the instance with the given label.static IFisheyeof(java.lang.String label, java.lang.String image)Returns the instance with the given label and image.static IFisheyeofId(java.lang.String id)Returns the instance with the given id.static IFisheyeofImage(java.lang.String image)Returns the instance with the given image.default IFisheyewithHeight(java.lang.String height)This method is unsupported.default IFisheyewithWidth(java.lang.String width)This 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, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.ILabelElement
getLabel, withLabel
-
Methods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImage
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IFisheye DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidth
@Derived @Nullable default java.lang.String getWidth()
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<IFisheye>
-
withWidth
default IFisheye withWidth(java.lang.String width)
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
@Derived @Nullable default java.lang.String getHeight()
Description copied from interface:IHtmlBasedComponentReturns the height of the component. If not specified,nullis assumed.Default:
null- Specified by:
getHeightin interfaceIHtmlBasedComponent<IFisheye>
-
withHeight
default IFisheye withHeight(java.lang.String height)
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
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zkex.menu.Fisheye"- Specified by:
getWidgetClassin interfaceIComponent<IFisheye>
-
of
static IFisheye of(java.lang.String label)
Returns the instance with the given label.- Parameters:
label- The label that the component holds.
-
of
static IFisheye of(java.lang.String label, java.lang.String image)
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
static IFisheye ofImage(java.lang.String image)
Returns the instance with the given image.- Parameters:
image- The image that the component holds.
-
ofId
static IFisheye ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-