Class HasAxisName.NameTextStyle
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractText<T>
io.jmix.chartsflowui.kit.component.model.shared.AbstractRichText<HasAxisName.NameTextStyle>
io.jmix.chartsflowui.kit.component.model.axis.HasAxisName.NameTextStyle
- All Implemented Interfaces:
HasAlign<HasAxisName.NameTextStyle>
,HasBorder<HasAxisName.NameTextStyle>
,HasShadow<HasAxisName.NameTextStyle>
,HasText<HasAxisName.NameTextStyle>
,HasPadding<HasAxisName.NameTextStyle>
,Serializable
- Enclosing interface:
- HasAxisName<T>
public static class HasAxisName.NameTextStyle
extends AbstractRichText<HasAxisName.NameTextStyle>
implements HasBorder<HasAxisName.NameTextStyle>, HasShadow<HasAxisName.NameTextStyle>, HasAlign<HasAxisName.NameTextStyle>, HasPadding<HasAxisName.NameTextStyle>
Font text style of axis name.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Align
protected Color
protected Color
protected Integer
protected Integer
protected String
protected Integer
protected Padding
protected Integer
protected Color
protected Integer
protected Integer
protected VerticalAlign
Fields inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractRichText
richStyles
Fields inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractText
color, ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, lineHeight, overflow, textBorderColor, textBorderDashOffset, textBorderType, textBorderWidth, textShadowBlur, textShadowColor, textShadowOffsetX, textShadowOffsetY, width
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
void
Sets horizontal alignment of component or replaces an existing one.void
setBackgroundColor
(Color backgroundColor) void
setBorderColor
(Color borderColor) Sets a border color or replaces an existing one.void
setBorderDashOffset
(Integer borderDashOffset) void
setBorderRadius
(Integer borderRadius) Sets a border radius of the text fragment or replaces an existing one.void
setBorderType
(String borderType) void
setBorderWidth
(Integer borderWidth) Sets a border width or replaces an existing one.void
setPadding
(Integer padding) Sets padding on each of the four sides or replaces an existing one.void
setPadding
(Integer vertical, Integer horizontal) Sets the top/bottom and left/right paddings or replaces an existing one.void
setPadding
(Integer top, Integer right, Integer bottom, Integer left) Sets each of the four paddings separately.void
setShadowBlur
(Integer shadowBlur) Sets depth of shadow blur or replaces an existing one.void
setShadowColor
(Color shadowColor) Sets a color for shadow or replaces an existing one.void
setShadowOffsetX
(Integer shadowOffsetX) Sets horizontal offset for shadow or replaces an existing one.void
setShadowOffsetY
(Integer shadowOffsetY) Sets vertical offset for shadow or replaces an existing one.void
setVerticalAlign
(VerticalAlign verticalAlign) Sets vertical alignment of component or replaces an existing one.withBackgroundColor
(Color backgroundColor) withBorderDashOffset
(Integer borderDashOffset) withBorderType
(String borderType) Methods inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractRichText
addRichStyle, getRichStyles, removeRichStyle, withRichStyle
Methods inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractText
getColor, getEllipsis, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHeight, getLineHeight, getOverflow, getTextBorderColor, getTextBorderDashOffset, getTextBorderType, getTextBorderWidth, getTextShadowBlur, getTextShadowColor, getTextShadowOffsetX, getTextShadowOffsetY, getWidth, setColor, setEllipsis, setFontFamily, setFontSize, setFontStyle, setFontWeight, setHeight, setLineHeight, setOverflow, setTextBorderColor, setTextBorderDashOffset, setTextBorderType, setTextBorderWidth, setTextShadowBlur, setTextShadowColor, setTextShadowOffsetX, setTextShadowOffsetY, setWidth, withColor, withEllipsis, withFontFamily, withFontSize, withFontStyle, withFontWeight, withHeight, withLineHeight, withOverflow, withWidth
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasAlign
withAlign, withVerticalAlign
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasBorder
withBorderColor, withBorderRadius, withBorderWidth
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPadding
withPadding, withPadding, withPadding
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasText
withTextBorderColor, withTextBorderDashOffset, withTextBorderType, withTextBorderWidth, withTextShadowBlur, withTextShadowColor, withTextShadowOffsetX, withTextShadowOffsetY
-
Field Details
-
align
-
verticalAlign
-
backgroundColor
-
borderColor
-
borderWidth
-
borderType
-
borderDashOffset
-
borderRadius
-
padding
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
-
Constructor Details
-
NameTextStyle
public NameTextStyle()
-
-
Method Details
-
getAlign
- Specified by:
getAlign
in interfaceHasAlign<HasAxisName.NameTextStyle>
- Returns:
- horizontal alignment of component
-
getVerticalAlign
- Specified by:
getVerticalAlign
in interfaceHasAlign<HasAxisName.NameTextStyle>
- Returns:
- vertical alignment of component
-
getBackgroundColor
-
getBorderColor
- Specified by:
getBorderColor
in interfaceHasBorder<HasAxisName.NameTextStyle>
- Returns:
- border color
-
getBorderWidth
- Specified by:
getBorderWidth
in interfaceHasBorder<HasAxisName.NameTextStyle>
- Returns:
- border width in pixels
-
setBorderWidth
Description copied from interface:HasBorder
Sets a border width or replaces an existing one.- Specified by:
setBorderWidth
in interfaceHasBorder<HasAxisName.NameTextStyle>
- Parameters:
borderWidth
- border width in pixels
-
getBorderType
-
setBorderType
-
getBorderDashOffset
-
setBorderDashOffset
-
getBorderRadius
- Specified by:
getBorderRadius
in interfaceHasBorder<HasAxisName.NameTextStyle>
- Returns:
- border radius of the text fragment
-
setBorderRadius
Description copied from interface:HasBorder
Sets a border radius of the text fragment or replaces an existing one.- Specified by:
setBorderRadius
in interfaceHasBorder<HasAxisName.NameTextStyle>
- Parameters:
borderRadius
- border radius to set in pixels
-
getPadding
- Specified by:
getPadding
in interfaceHasPadding<HasAxisName.NameTextStyle>
- Returns:
- space around content
-
setPadding
Description copied from interface:HasPadding
Sets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
setPadding
in interfaceHasPadding<HasAxisName.NameTextStyle>
- Parameters:
padding
- padding to set
-
setPadding
Description copied from interface:HasPadding
Sets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
setPadding
in interfaceHasPadding<HasAxisName.NameTextStyle>
- Parameters:
vertical
- top and bottom padding to sethorizontal
- left and right padding to set
-
setPadding
Description copied from interface:HasPadding
Sets each of the four paddings separately. The unit is px.- Specified by:
setPadding
in interfaceHasPadding<HasAxisName.NameTextStyle>
- Parameters:
top
- top padding to setright
- right padding to setbottom
- bottom padding to setleft
- left padding to set
-
getShadowBlur
- Specified by:
getShadowBlur
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadow
Sets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlur
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Parameters:
shadowBlur
- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColor
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetX
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Returns:
- horizontal offset for shadow in pixels
-
setShadowOffsetX
Description copied from interface:HasShadow
Sets horizontal offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetX
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Parameters:
shadowOffsetX
- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetY
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Returns:
- vertical offset for shadow in pixels
-
setShadowOffsetY
Description copied from interface:HasShadow
Sets vertical offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetY
in interfaceHasShadow<HasAxisName.NameTextStyle>
- Parameters:
shadowOffsetY
- offset to set in pixels
-
withBorderType
-
withBorderDashOffset
-