Interface IFisheyebar
- All Superinterfaces:
IAnyGroup<IFisheyebar>,IChildable<IFisheyebar,,IFisheye> IComponent<IFisheyebar>,IHtmlBasedComponent<IFisheyebar>,IXulElement<IFisheyebar>
Fisheyebar component- Author:
- jumperchen
- See Also:
-
Fisheyebar
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIFisheyebar.static enumSpecifies the attach edge ofIFisheyebarcomponentstatic enumSpecifies the orient ofIFisheyebarcomponentstatic classBuilds an updater of typeIFisheyebarforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IFisheyebarConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the attach edge.default intReturns the item height ofIFisheye.default intReturns the item maximal height ofIFisheye.default intReturns the item maximal width ofIFisheye.default intReturns the item padding ofIFisheye.default intReturns the item width ofIFisheye.default StringReturns the label edge.default StringReturns the orient.default StringReturns the client widget class.static IFisheyebarReturns the instance with the givenIFisheyechildren.static IFisheyebarReturns the instance with the givenIFisheyechildren.static IFisheyebarReturns the instance with the given id.withAttachEdge(String attachEdge) Returns a copy ofthisimmutable component with the specifiedattachEdge.default IFisheyebarwithAttachEdge(IFisheyebar.Edge attachEdge) Returns a copy ofthisimmutable component with the specifiedattachEdge.withItemHeight(int itemHeight) Returns a copy ofthisimmutable component with the specifieditemHeight.withItemMaxHeight(int itemMaxHeight) Returns a copy ofthisimmutable component with the specifieditemMaxHeight.withItemMaxWidth(int itemMaxWidth) Returns a copy ofthisimmutable component with the specifieditemMaxWidth.withItemPadding(int itemPadding) Returns a copy ofthisimmutable component with the specifieditemPadding.withItemWidth(int itemWidth) Returns a copy ofthisimmutable component with the specifieditemWidth.withLabelEdge(String labelEdge) Returns a copy ofthisimmutable component with the specifiedlabelEdge.default IFisheyebarwithLabelEdge(IFisheyebar.Edge labelEdge) Returns a copy ofthisimmutable component with the specifiedlabelEdge.withOrient(String orient) Returns a copy ofthisimmutable component with the specifiedorient.default IFisheyebarwithOrient(IFisheyebar.Orient orient) Returns a copy ofthisimmutable component with the specifiedorient.Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildrenMethods 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, 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.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
getWidgetClass
Returns the client widget class.Default:
"zkex.menu.Fisheyebar"- Specified by:
getWidgetClassin interfaceIComponent<IFisheyebar>
-
getOrient
Returns the orient.Default:
"horizontal". -
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- Either"horizontal"or"vertical"Default:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- TheorientDefault:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
getAttachEdge
Returns the attach edge.Default:
center -
withAttachEdge
Returns a copy ofthisimmutable component with the specifiedattachEdge.Sets the attach edge. It will decide the direction to zoom the image if fisheye. Allowed values:
"center", "top", "bottom", "left", "right"Note that
"left","right"apply for getOrient() is"vertical"- Parameters:
attachEdge- The attach edge ofIFisheyebarDefault:
center.- Returns:
- A modified copy of the
thisobject
-
withAttachEdge
Returns a copy ofthisimmutable component with the specifiedattachEdge.Sets the attach edge. It will decide the direction to zoom the image if fisheye. Allowed values:
"center", "top", "bottom", "left", "right"Note that
"left","right"apply for getOrient() is"vertical"- Parameters:
attachEdge- TheIFisheyebar.EdgeDefault:
center.- Returns:
- A modified copy of the
thisobject
-
getLabelEdge
Returns the label edge.Default:
bottom -
withLabelEdge
Returns a copy ofthisimmutable component with the specifiedlabelEdge.Sets the label edge. Decides the direction to show the label of fisheye. Allowed values:
"center", "top", "bottom", "left", "right"Note that
"left","right"apply for getOrient() is"vertical"- Parameters:
labelEdge- The label edge ofIFisheyebarDefault:
bottom.- Returns:
- A modified copy of the
thisobject
-
withLabelEdge
Returns a copy ofthisimmutable component with the specifiedlabelEdge.Sets the label edge. Decides the direction to show the label of fisheye. Allowed values:
"center", "top", "bottom", "left", "right"Note that
"left","right"apply for getOrient() is"vertical"- Parameters:
labelEdge- TheIFisheyebar.EdgeDefault:
bottom.- Returns:
- A modified copy of the
thisobject
-
getItemWidth
default int getItemWidth()Returns the item width ofIFisheye.Default:
50. -
withItemWidth
Returns a copy ofthisimmutable component with the specifieditemWidth.Sets the item width of
IFisheye.- Parameters:
itemWidth- The width ofIFisheyeDefault:
50.- Returns:
- A modified copy of the
thisobject
-
getItemHeight
default int getItemHeight()Returns the item height ofIFisheye.Default:
50. -
withItemHeight
Returns a copy ofthisimmutable component with the specifieditemHeight.Sets the item height of
IFisheye.- Parameters:
itemHeight- The height ofIFisheyeDefault:
50.- Returns:
- A modified copy of the
thisobject
-
getItemMaxWidth
default int getItemMaxWidth()Returns the item maximal width ofIFisheye.Default:
200. -
withItemMaxWidth
Returns a copy ofthisimmutable component with the specifieditemMaxWidth.Sets the item maximal width of
IFisheye.- Parameters:
itemMaxWidth- The maximal width ofIFisheyeDefault:
200.- Returns:
- A modified copy of the
thisobject
-
getItemMaxHeight
default int getItemMaxHeight()Returns the item maximal height ofIFisheye.Default:
200. -
withItemMaxHeight
Returns a copy ofthisimmutable component with the specifieditemMaxHeight.Sets the item maximal height of
IFisheye.- Parameters:
itemMaxHeight- The maximal height ofIFisheyeDefault:
200.- Returns:
- A modified copy of the
thisobject
-
getItemPadding
default int getItemPadding()Returns the item padding ofIFisheye.Default:
10. -
withItemPadding
Returns a copy ofthisimmutable component with the specifieditemPadding.Sets the item padding of
IFisheye.- Parameters:
itemPadding- The padding ofIFisheyeDefault:
10.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the givenIFisheyechildren.- Parameters:
children- The children ofIFisheye
-
of
Returns the instance with the givenIFisheyechildren.- Parameters:
children- The children ofIFisheye
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-