Class AbstractBorderedTextStyle<T extends AbstractBorderedTextStyle<T>>
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractBorderedTextStyle<T>
- Type Parameters:
T- origin bordered text style class type
- All Implemented Interfaces:
HasLineStyle<T>,HasShadow<T>,Serializable
- Direct Known Subclasses:
Emphasis.IconStyle,ItemStyle,LineSeries.ItemStyle
public abstract class AbstractBorderedTextStyle<T extends AbstractBorderedTextStyle<T>>
extends ChartObservableObject
implements HasShadow<T>, HasLineStyle<T>
The base class for text with border.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEventNested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStyle
HasLineStyle.Cap, HasLineStyle.Join -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HasLineStyle.Capprotected Colorprotected Integerprotected HasLineStyle.Joinprotected Integerprotected Stringprotected Integerprotected Colorprotected Doubleprotected Integerprotected Colorprotected Integerprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCap()getColor()getJoin()voidsetBorderColor(Color borderColor) voidsetBorderDashOffset(Integer borderDashOffset) voidsetBorderType(String borderType) voidsetBorderWidth(Integer borderWidth) voidsetCap(HasLineStyle.Cap borderCap) Sets style for drawing line endpoints or replaces an existing one.voidvoidsetJoin(HasLineStyle.Join borderJoin) Sets a style that used to join two line segments where they intersect or replaces an existing one.voidsetMiterLimit(Integer borderMiterLimit) Sets miter limit ratio or replaces an existing one.voidsetOpacity(Double opacity) voidsetShadowBlur(Integer shadowBlur) Sets depth of shadow blur or replaces an existing one.voidsetShadowColor(Color shadowColor) Sets a color for shadow or replaces an existing one.voidsetShadowOffsetX(Integer shadowOffsetX) Sets horizontal offset for shadow or replaces an existing one.voidsetShadowOffsetY(Integer shadowOffsetY) Sets vertical offset for shadow or replaces an existing one.withBorderColor(Color borderColor) withBorderDashOffset(Integer borderDashOffset) withBorderType(String borderType) withBorderWidth(Integer borderWidth) withOpacity(Double opacity) Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStyle
withCap, withJoin, withMiterLimitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
-
Field Details
-
color
-
borderColor
-
borderWidth
-
borderType
-
borderDashOffset
-
borderCap
-
borderJoin
-
borderMiterLimit
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
opacity
-
-
Constructor Details
-
AbstractBorderedTextStyle
public AbstractBorderedTextStyle()
-
-
Method Details
-
getColor
-
getBorderColor
-
getBorderWidth
-
setBorderWidth
-
getBorderType
-
setBorderType
-
getBorderDashOffset
-
setBorderDashOffset
-
getCap
- Specified by:
getCapin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Returns:
- Style for drawing line endpoints
-
setCap
Description copied from interface:HasLineStyleSets style for drawing line endpoints or replaces an existing one. More detailed information is provided in the documentation.- Specified by:
setCapin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Parameters:
borderCap- cap style to set- See Also:
-
getJoin
- Specified by:
getJoinin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Returns:
- style that used to join two line segments where they intersect
-
setJoin
Description copied from interface:HasLineStyleSets a style that used to join two line segments where they intersect or replaces an existing one. More detailed information is provided in the documentation.- Specified by:
setJoinin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Parameters:
borderJoin- style to set- See Also:
-
getMiterLimit
- Specified by:
getMiterLimitin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Returns:
- miter limit ratio
-
setMiterLimit
Description copied from interface:HasLineStyleSets miter limit ratio or replaces an existing one. Only works whenHasLineStyle.Joinis set asHasLineStyle.Join.MITER. More detailed information is provided in the documentation.- Specified by:
setMiterLimitin interfaceHasLineStyle<T extends AbstractBorderedTextStyle<T>>- Parameters:
borderMiterLimit- miter limit to set- See Also:
-
getShadowBlur
- Specified by:
getShadowBlurin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadowSets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlurin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Parameters:
shadowBlur- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColorin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetXin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Returns:
- horizontal offset for shadow in pixels
-
setShadowOffsetX
Description copied from interface:HasShadowSets horizontal offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetXin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Parameters:
shadowOffsetX- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetYin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Returns:
- vertical offset for shadow in pixels
-
setShadowOffsetY
Description copied from interface:HasShadowSets vertical offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetYin interfaceHasShadow<T extends AbstractBorderedTextStyle<T>>- Parameters:
shadowOffsetY- offset to set in pixels
-
getOpacity
-
setOpacity
-
withBorderWidth
-
withBorderType
-
withBorderDashOffset
-
withOpacity
-