Package org.zkoss.stateless.sul
Interface ISeparatorBase<I extends ISeparatorBase>
-
- All Superinterfaces:
IComponent<I>,IHtmlBasedComponent<I>,IXulElement<I>
- All Known Subinterfaces:
ISeparator,ISpace
public interface ISeparatorBase<I extends ISeparatorBase> extends IXulElement<I>
ImmutableSeparatorcomponent- Author:
- katherine
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classISeparatorBase.OrientSpecifies the orient withwithOrient(Orient)
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringgetOrient()Returns the orient.java.lang.StringgetSpacing()Returns the spacing.default booleanisBar()Returns whether to display a visual bar as the separator.IwithBar(boolean bar)Returns a copy ofthisimmutable component with the specifiedbar.IwithOrient(java.lang.String orient)Returns a copy ofthisimmutable component with the specifiedorient.default IwithOrient(ISeparatorBase.Orient orient)Returns a copy ofthisimmutable component with the specifiedorient.IwithSpacing(java.lang.String spacing)Returns a copy ofthisimmutable component with the specifiedspacing.-
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, 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
-
-
-
-
Method Detail
-
getSpacing
@Nullable java.lang.String getSpacing()
Returns the spacing.Default:
null(depending on CSS).
-
withSpacing
I withSpacing(@Nullable java.lang.String spacing)
Returns a copy ofthisimmutable component with the specifiedspacing.Sets the spacing.
- Parameters:
spacing- The spacing (such as "0", "5px", "3pt")Default:
null.- Returns:
- A modified copy of the
thisobject
-
getOrient
default java.lang.String getOrient()
Returns the orient.Default:
"horizontal".
-
withOrient
I withOrient(java.lang.String orient)
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient.
- Parameters:
orient- Either"horizontal"or"vertical".Default:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
withOrient
default I withOrient(ISeparatorBase.Orient orient)
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient to layout image.
- Parameters:
orient- the orient to layout image., either"horizontal"or"vertical"Default:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
isBar
default boolean isBar()
Returns whether to display a visual bar as the separator.Default:
false
-
withBar
I withBar(boolean bar)
Returns a copy ofthisimmutable component with the specifiedbar.Sets whether to display a visual bar as the separator.
- Parameters:
bar- Whether to display a visual bar as the separator..Default:
false.- Returns:
- A modified copy of the
thisobject
-
-