Interface IFisheyebar
-
- All Superinterfaces:
IAnyGroup<IFisheyebar>,IChildable<IFisheyebar,IFisheye>,IComponent<IFisheyebar>,IHtmlBasedComponent<IFisheyebar>,IXulElement<IFisheyebar>
public interface IFisheyebar extends IXulElement<IFisheyebar>, IAnyGroup<IFisheyebar>, IChildable<IFisheyebar,IFisheye>
ImmutableFisheyebarcomponent- Author:
- jumperchen
- See Also:
Fisheyebar
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIFisheyebar.BuilderBuilds instances of typeIFisheyebar.static classIFisheyebar.EdgeSpecifies the attach edge ofIFisheyebarcomponentstatic classIFisheyebar.OrientSpecifies the orient ofIFisheyebarcomponentstatic classIFisheyebar.UpdaterBuilds an updater of typeIFisheyebarforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Field Summary
Fields Modifier and Type Field Description static IFisheyebarDEFAULTConstant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringgetAttachEdge()Returns the attach edge.default intgetItemHeight()Returns the item height ofIFisheye.default intgetItemMaxHeight()Returns the item maximal height ofIFisheye.default intgetItemMaxWidth()Returns the item maximal width ofIFisheye.default intgetItemPadding()Returns the item padding ofIFisheye.default intgetItemWidth()Returns the item width ofIFisheye.default java.lang.StringgetLabelEdge()Returns the label edge.default java.lang.StringgetOrient()Returns the orient.default java.lang.StringgetWidgetClass()Returns the client widget class.static IFisheyebarof(java.lang.Iterable<? extends IFisheye> children)Returns the instance with the givenIFisheyechildren.static IFisheyebarof(IFisheye... children)Returns the instance with the givenIFisheyechildren.static IFisheyebarofId(java.lang.String id)Returns the instance with the given id.IFisheyebarwithAttachEdge(java.lang.String attachEdge)Returns a copy ofthisimmutable component with the specifiedattachEdge.default IFisheyebarwithAttachEdge(IFisheyebar.Edge attachEdge)Returns a copy ofthisimmutable component with the specifiedattachEdge.IFisheyebarwithItemHeight(int itemHeight)Returns a copy ofthisimmutable component with the specifieditemHeight.IFisheyebarwithItemMaxHeight(int itemMaxHeight)Returns a copy ofthisimmutable component with the specifieditemMaxHeight.IFisheyebarwithItemMaxWidth(int itemMaxWidth)Returns a copy ofthisimmutable component with the specifieditemMaxWidth.IFisheyebarwithItemPadding(int itemPadding)Returns a copy ofthisimmutable component with the specifieditemPadding.IFisheyebarwithItemWidth(int itemWidth)Returns a copy ofthisimmutable component with the specifieditemWidth.IFisheyebarwithLabelEdge(java.lang.String labelEdge)Returns a copy ofthisimmutable component with the specifiedlabelEdge.default IFisheyebarwithLabelEdge(IFisheyebar.Edge labelEdge)Returns a copy ofthisimmutable component with the specifiedlabelEdge.IFisheyebarwithOrient(java.lang.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, withChildren
-
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, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IFisheyebar DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zkex.menu.Fisheyebar"- Specified by:
getWidgetClassin interfaceIComponent<IFisheyebar>
-
getOrient
default java.lang.String getOrient()
Returns the orient.Default:
"horizontal".
-
withOrient
IFisheyebar withOrient(java.lang.String orient)
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
default IFisheyebar withOrient(IFisheyebar.Orient orient)
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
default java.lang.String getAttachEdge()
Returns the attach edge.Default:
center
-
withAttachEdge
IFisheyebar withAttachEdge(java.lang.String attachEdge)
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
default IFisheyebar withAttachEdge(IFisheyebar.Edge attachEdge)
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
default java.lang.String getLabelEdge()
Returns the label edge.Default:
bottom
-
withLabelEdge
IFisheyebar withLabelEdge(java.lang.String labelEdge)
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
default IFisheyebar withLabelEdge(IFisheyebar.Edge labelEdge)
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
IFisheyebar withItemWidth(int itemWidth)
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
IFisheyebar withItemHeight(int itemHeight)
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
IFisheyebar withItemMaxWidth(int itemMaxWidth)
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
IFisheyebar withItemMaxHeight(int itemMaxHeight)
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
IFisheyebar withItemPadding(int itemPadding)
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
static IFisheyebar of(java.lang.Iterable<? extends IFisheye> children)
Returns the instance with the givenIFisheyechildren.- Parameters:
children- The children ofIFisheye
-
of
static IFisheyebar of(IFisheye... children)
Returns the instance with the givenIFisheyechildren.- Parameters:
children- The children ofIFisheye
-
ofId
static IFisheyebar ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-