Class AxisLabel
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<AxisLabel>
io.jmix.chartsflowui.kit.component.model.axis.AxisLabel
- All Implemented Interfaces:
HasAlign<AxisLabel>
,HasBorder<AxisLabel>
,HasShadow<AxisLabel>
,HasText<AxisLabel>
,HasPadding<AxisLabel>
,Serializable
public class AxisLabel
extends AbstractRichText<AxisLabel>
implements HasAlign<AxisLabel>, HasShadow<AxisLabel>, HasPadding<AxisLabel>, HasBorder<AxisLabel>
Options component related to axis label.
- 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 JsFunction
protected String
protected JsFunction
protected Boolean
protected Boolean
protected Integer
protected JsFunction
protected Integer
protected Padding
protected Integer
protected Integer
protected Color
protected Integer
protected Integer
protected Boolean
protected Boolean
protected Boolean
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()
getShow()
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
setColorFunction
(JsFunction colorFunction) void
setColorFunction
(String colorFunction) void
setFormatter
(String formatter) void
setFormatterFunction
(JsFunction formatterFunction) void
setFormatterFunction
(String formatterFunction) void
setHideOverlap
(Boolean hideOverlap) void
void
setInterval
(Integer interval) void
setIntervalFunction
(JsFunction intervalFunction) void
setIntervalFunction
(String intervalFunction) void
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
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
void
setShowMaxLabel
(Boolean showMaxLabel) void
setShowMinLabel
(Boolean showMinLabel) void
setVerticalAlign
(VerticalAlign verticalAlign) Sets vertical alignment of component or replaces an existing one.withBackgroundColor
(Color backgroundColor) withBorderDashOffset
(Integer borderDashOffset) withBorderType
(String borderType) withColorFunction
(JsFunction colorFunction) withColorFunction
(String colorFunction) withFormatter
(String formatter) withFormatterFunction
(JsFunction formatterFunction) withFormatterFunction
(String formatterFunctionCode) withHideOverlap
(Boolean hideOverlap) withInside
(Boolean inside) withInterval
(Integer interval) withIntervalFunction
(JsFunction intervalFunction) withIntervalFunction
(String intervalFunction) withMargin
(Integer margin) withRotate
(Integer rotate) withShowMaxLabel
(Boolean showMaxLabel) withShowMinLabel
(Boolean showMinLabel) 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
-
show
-
interval
-
intervalFunction
-
inside
-
rotate
-
margin
-
formatter
-
formatterFunction
-
colorFunction
-
showMinLabel
-
showMaxLabel
-
hideOverlap
-
align
-
verticalAlign
-
backgroundColor
-
borderColor
-
borderWidth
-
borderType
-
borderDashOffset
-
borderRadius
-
padding
-
shadowColor
-
shadowBlur
-
shadowOffsetX
-
shadowOffsetY
-
-
Constructor Details
-
AxisLabel
public AxisLabel()
-
-
Method Details
-
getShow
-
setShow
-
getInterval
-
setInterval
-
getIntervalFunction
-
setIntervalFunction
-
getInside
-
setInside
-
getRotate
-
setRotate
-
getMargin
-
setMargin
-
getFormatter
-
setFormatter
-
getFormatterFunction
-
setFormatterFunction
-
getColorFunction
-
setColorFunction
-
getShowMinLabel
-
setShowMinLabel
-
getShowMaxLabel
-
setShowMaxLabel
-
getHideOverlap
-
setHideOverlap
-
getAlign
-
getVerticalAlign
- Specified by:
getVerticalAlign
in interfaceHasAlign<AxisLabel>
- Returns:
- vertical alignment of component
-
getBackgroundColor
-
getBorderColor
- Specified by:
getBorderColor
in interfaceHasBorder<AxisLabel>
- Returns:
- border color
-
getBorderWidth
- Specified by:
getBorderWidth
in interfaceHasBorder<AxisLabel>
- 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<AxisLabel>
- Parameters:
borderWidth
- border width in pixels
-
getBorderType
-
setBorderType
-
getBorderDashOffset
-
setBorderDashOffset
-
getBorderRadius
- Specified by:
getBorderRadius
in interfaceHasBorder<AxisLabel>
- 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<AxisLabel>
- Parameters:
borderRadius
- border radius to set in pixels
-
getPadding
- Specified by:
getPadding
in interfaceHasPadding<AxisLabel>
- 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<AxisLabel>
- 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<AxisLabel>
- 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<AxisLabel>
- Parameters:
top
- top padding to setright
- right padding to setbottom
- bottom padding to setleft
- left padding to set
-
getShadowColor
- Specified by:
getShadowColor
in interfaceHasShadow<AxisLabel>
- Returns:
- shadow color
-
getShadowBlur
- Specified by:
getShadowBlur
in interfaceHasShadow<AxisLabel>
- 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<AxisLabel>
- Parameters:
shadowBlur
- depth of shadow blur
-
getShadowOffsetX
- Specified by:
getShadowOffsetX
in interfaceHasShadow<AxisLabel>
- 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<AxisLabel>
- Parameters:
shadowOffsetX
- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetY
in interfaceHasShadow<AxisLabel>
- 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<AxisLabel>
- Parameters:
shadowOffsetY
- offset to set in pixels
-
withShow
-
withInterval
-
withIntervalFunction
-
withInside
-
withRotate
-
withMargin
-
withFormatter
-
withFormatterFunction
-
withColorFunction
-
withShowMinLabel
-
withShowMaxLabel
-
withHideOverlap
-
withBorderType
-
withBorderDashOffset
-