Class AbstractVisualMap<T extends AbstractVisualMap<T>>
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMap<T>
- Type Parameters:
- T- origin class type
- All Implemented Interfaces:
- HasPosition<T>,- HasPadding<T>,- Serializable
- Direct Known Subclasses:
- ContinuousVisualMap,- PiecewiseVisualMap
public abstract class AbstractVisualMap<T extends AbstractVisualMap<T>>
extends ChartObservableObject
implements HasPadding<T>, HasPosition<T>
Base class for component type for visual encoding.
 Multiple 
visualMap component could be defined in a chart instance, which enable
 that different dimensions of a series data are mapped to different visual channels.
 More detailed information is provided in the documentation.- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe layout relationship between the graphical elements for pieces and their labels.static classController forAbstractVisualMap.VisualMapController.inRangeandAbstractVisualMap.VisualMapController.outOfRangeproperties.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectChartObservableObject.ObjectChangeEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected AbstractVisualMap.MapAlignprotected Colorprotected Colorprotected Doubleprotected Stringprotected AbstractVisualMap.VisualMapControllerprotected Stringprotected Stringprotected JsFunctionprotected Booleanprotected Stringprotected VisualEffectprotected Booleanprotected Doubleprotected Doubleprotected Stringprotected Doubleprotected Doubleprotected Orientationprotected VisualEffectprotected Paddingprotected Doubleprotected Stringprotected Integer[]protected Booleanprotected String[]protected Doubleprotected TextStyleprotected Stringprotected VisualMapTypeprotected Doubleprotected DoubleFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectchildren, dirty, listener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAlign()getId()getLeft()getMax()getMin()getRight()Integer[]getShow()String[]getText()getTop()getType()getZ()voidvoidsetBackgroundColor(Color backgroundColor) voidsetBorderColor(Color borderColor) voidsetBorderWidth(Double borderWidth) voidSets a distance between component and the bottom side of the container.
 Possible values are: A pixel value like"20".voidsetController(AbstractVisualMap.VisualMapController controller) voidsetDimension(String dimension) voidsetFormatter(String formatter) voidsetFormatterFunction(JsFunction formatterFunction) voidsetFormatterFunction(String formatterFunction) voidsetHoverLink(Boolean hoverLink) voidvoidsetInRange(VisualEffect inRange) voidsetInverse(Boolean inverse) voidsetItemHeight(Double itemHeight) voidsetItemWidth(Double itemWidth) voidSets a distance between component and the left side of the container.
 Possible values are: A pixel value like"20".voidvoidvoidsetOrientation(Orientation orientation) voidsetOutOfRange(VisualEffect outOfRange) voidsetPadding(Integer padding) Sets padding on each of the four sides or replaces an existing one.voidsetPadding(Integer vertical, Integer horizontal) Sets the top/bottom and left/right paddings or replaces an existing one.voidsetPadding(Integer top, Integer right, Integer bottom, Integer left) Sets each of the four paddings separately.voidsetPrecision(Double precision) voidSets a distance between component and the right side of the container.
 Possible values are: A pixel value like"20".voidsetSeriesIndex(Integer... seriesIndex) voidvoidvoidsetTextGap(Double textGap) voidsetTextStyle(TextStyle textStyle) voidSets a distance between component and the top side of the container.
 Possible values are: A pixel value like"20".voidvoidwithBackgroundColor(Color backgroundColor) withBorderColor(Color borderColor) withBorderWidth(Double borderWidth) withController(AbstractVisualMap.VisualMapController controller) withDimension(String dimension) withFormatter(String formatter) withFormatterFunction(JsFunction formatterFunction) withFormatterFunction(String formatterFunction) withHoverLink(Boolean hoverLink) withInRange(VisualEffect inRange) withInverse(Boolean inverse) withItemHeight(Double itemHeight) withItemWidth(Double itemWidth) withOrientation(Orientation orient) withOutOfRange(VisualEffect outOfRange) withPrecision(Double precision) withSeriesIndex(Integer... seriesIndex) withTextGap(Double textGap) withTextStyle(TextStyle textStyle) withZLevel(Double zLevel) Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectaddChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPaddingwithPadding, withPadding, withPaddingMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasPositionwithBottom, withLeft, withRight, withTop
- 
Field Details- 
id
- 
type
- 
min
- 
max
- 
inverse
- 
precision
- 
itemWidth
- 
itemHeight
- 
align
- 
text
- 
textGap
- 
show
- 
dimension
- 
seriesIndex
- 
hoverLink
- 
inRange
- 
outOfRange
- 
controller
- 
zLevel
- 
z
- 
left
- 
top
- 
right
- 
bottom
- 
padding
- 
backgroundColor
- 
borderColor
- 
borderWidth
- 
textStyle
- 
formatter
- 
formatterFunction
- 
orientation
 
- 
- 
Constructor Details- 
AbstractVisualMap
 
- 
- 
Method Details- 
getId
- 
setId
- 
getType
- 
getMin
- 
setMin
- 
getMax
- 
setMax
- 
getInverse
- 
setInverse
- 
getPrecision
- 
setPrecision
- 
getItemWidth
- 
setItemWidth
- 
getItemHeight
- 
setItemHeight
- 
getAlign
- 
setAlign
- 
getText
- 
setText
- 
getTextGap
- 
setTextGap
- 
getShow
- 
setShow
- 
getDimension
- 
setDimension
- 
getSeriesIndex
- 
setSeriesIndex
- 
getHoverLink
- 
setHoverLink
- 
getInRange
- 
getOutOfRange
- 
getController
- 
setController
- 
getZLevel
- 
setZLevel
- 
getZ
- 
setZ
- 
getLeft- Specified by:
- getLeftin interface- HasPosition<T extends AbstractVisualMap<T>>
- Returns:
- distance between component and the left side of the container
 
- 
setLeftDescription copied from interface:HasPositionSets a distance between component and the left side of the container.
 Possible values are:- 
        A pixel value like "20".
- 
        Percentage value relative to container width like "20%".
- 
        Predefined values like "left","center","right".
 - Specified by:
- setLeftin interface- HasPosition<T extends AbstractVisualMap<T>>
- Parameters:
- left- distance to set
 
- 
        A pixel value like 
- 
getTop- Specified by:
- getTopin interface- HasPosition<T extends AbstractVisualMap<T>>
- Returns:
- distance between component and the top side of the container
 
- 
setTopDescription copied from interface:HasPositionSets a distance between component and the top side of the container.
 Possible values are:- 
        A pixel value like "20".
- 
        Percentage value relative to container width like "20%".
- 
        Predefined values like "top","middle","bottom".
 - Specified by:
- setTopin interface- HasPosition<T extends AbstractVisualMap<T>>
- Parameters:
- top- distance to set
 
- 
        A pixel value like 
- 
getRight- Specified by:
- getRightin interface- HasPosition<T extends AbstractVisualMap<T>>
- Returns:
- distance between component and the right side of the container
 
- 
setRightDescription copied from interface:HasPositionSets a distance between component and the right side of the container.
 Possible values are:- 
        A pixel value like "20".
- 
        Percentage value relative to container width like "20%".
 - Specified by:
- setRightin interface- HasPosition<T extends AbstractVisualMap<T>>
- Parameters:
- right- distance to set
 
- 
        A pixel value like 
- 
getBottom- Specified by:
- getBottomin interface- HasPosition<T extends AbstractVisualMap<T>>
- Returns:
- distance between component and the bottom side of the container
 
- 
setBottomDescription copied from interface:HasPositionSets a distance between component and the bottom side of the container.
 Possible values are:- 
        A pixel value like "20".
- 
        Percentage value relative to container width like "20%".
 - Specified by:
- setBottomin interface- HasPosition<T extends AbstractVisualMap<T>>
- Parameters:
- bottom- distance to set
 
- 
        A pixel value like 
- 
getPadding- Specified by:
- getPaddingin interface- HasPadding<T extends AbstractVisualMap<T>>
- Returns:
- space around content
 
- 
setPaddingDescription copied from interface:HasPaddingSets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends AbstractVisualMap<T>>
- Parameters:
- padding- padding to set
 
- 
setPaddingDescription copied from interface:HasPaddingSets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends AbstractVisualMap<T>>
- Parameters:
- vertical- top and bottom padding to set
- horizontal- left and right padding to set
 
- 
setPaddingDescription copied from interface:HasPaddingSets each of the four paddings separately. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends AbstractVisualMap<T>>
- Parameters:
- top- top padding to set
- right- right padding to set
- bottom- bottom padding to set
- left- left padding to set
 
- 
getBackgroundColor
- 
getBorderColor
- 
getBorderWidth
- 
setBorderWidth
- 
getTextStyle
- 
getFormatter
- 
setFormatter
- 
getFormatterFunction
- 
setFormatterFunction
- 
getOrientation
- 
withId
- 
withMin
- 
withMax
- 
withInverse
- 
withPrecision
- 
withItemWidth
- 
withItemHeight
- 
withAlign
- 
withText
- 
withTextGap
- 
withShow
- 
withDimension
- 
withSeriesIndex
- 
withHoverLink
- 
withController
- 
withZLevel
- 
withZ
- 
withBorderWidth
- 
withFormatter
- 
withFormatterFunction
 
-