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 Summary
Nested 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.ChartObservableObject
ChartObservableObject.ObjectChangeEvent - 
Field Summary
FieldsModifier 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.ChartObservableObject
children, dirty, listener - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.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.shared.HasPadding
withPadding, withPadding, withPaddingMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasPosition
withBottom, 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 interfaceHasPosition<T extends AbstractVisualMap<T>>- Returns:
 - distance between component and the left side of the container
 
 - 
setLeft
Description 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 interfaceHasPosition<T extends AbstractVisualMap<T>>- Parameters:
 left- distance to set
 - 
        A pixel value like 
 - 
getTop
- Specified by:
 getTopin interfaceHasPosition<T extends AbstractVisualMap<T>>- Returns:
 - distance between component and the top side of the container
 
 - 
setTop
Description 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 interfaceHasPosition<T extends AbstractVisualMap<T>>- Parameters:
 top- distance to set
 - 
        A pixel value like 
 - 
getRight
- Specified by:
 getRightin interfaceHasPosition<T extends AbstractVisualMap<T>>- Returns:
 - distance between component and the right side of the container
 
 - 
setRight
Description 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 interfaceHasPosition<T extends AbstractVisualMap<T>>- Parameters:
 right- distance to set
 - 
        A pixel value like 
 - 
getBottom
- Specified by:
 getBottomin interfaceHasPosition<T extends AbstractVisualMap<T>>- Returns:
 - distance between component and the bottom side of the container
 
 - 
setBottom
Description 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 interfaceHasPosition<T extends AbstractVisualMap<T>>- Parameters:
 bottom- distance to set
 - 
        A pixel value like 
 - 
getPadding
- Specified by:
 getPaddingin interfaceHasPadding<T extends AbstractVisualMap<T>>- Returns:
 - space around content
 
 - 
setPadding
Description copied from interface:HasPaddingSets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
 setPaddingin interfaceHasPadding<T extends AbstractVisualMap<T>>- Parameters:
 padding- padding to set
 - 
setPadding
Description copied from interface:HasPaddingSets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
 setPaddingin interfaceHasPadding<T extends AbstractVisualMap<T>>- Parameters:
 vertical- top and bottom padding to sethorizontal- left and right padding to set
 - 
setPadding
Description copied from interface:HasPaddingSets each of the four paddings separately. The unit is px.- Specified by:
 setPaddingin interfaceHasPadding<T extends AbstractVisualMap<T>>- Parameters:
 top- top padding to setright- right padding to setbottom- bottom padding to setleft- 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
 
 -