Class Grid
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.Grid
- All Implemented Interfaces:
HasPosition<Grid>,HasShadow<Grid>,Serializable
Grid component is used to drawing grid in rectangular coordinate. In a single grid, at most
two X and Y axes each is allowed.
LineSeries, BarSeries,
and ScatterSeries(EffectScatterSeries) can be drawn in the grid.
More detailed information is provided in the documentation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected Colorprotected Integerprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Colorprotected Integerprotected Integerprotected Booleanprotected InnerTooltipprotected Stringprotected Stringprotected Integerprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getLeft()getRight()getShow()getTop()getWidth()getZ()voidsetBackgroundColor(Color backgroundColor) voidsetBorderColor(Color borderColor) voidsetBorderWidth(Integer borderWidth) voidSets a distance between component and the bottom side of the container.
Possible values are: A pixel value like"20".voidsetContainLabel(Boolean containLabel) voidvoidvoidSets a distance between component and the left side of the container.
Possible values are: A pixel value like"20".voidSets a distance between component and the right side of the container.
Possible values are: A pixel value like"20".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.voidvoidsetTooltip(InnerTooltip tooltip) voidSets a distance between component and the top side of the container.
Possible values are: A pixel value like"20".voidvoidvoidwithBackgroundColor(Color backgroundColor) withBorderColor(Color borderColor) withBorderWidth(Integer borderWidth) withContainLabel(Boolean containLabel) withHeight(String height) withTooltip(InnerTooltip tooltip) withZLevel(Integer 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.HasPosition
withBottom, withLeft, withRight, withTopMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
-
Field Details
-
id
-
show
-
zLevel
-
z
-
left
-
top
-
right
-
bottom
-
width
-
height
-
containLabel
-
backgroundColor
-
borderColor
-
borderWidth
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
tooltip
-
-
Constructor Details
-
Grid
public Grid()
-
-
Method Details
-
getId
-
setId
-
getShow
-
setShow
-
getZLevel
-
setZLevel
-
getZ
-
setZ
-
getLeft
- Specified by:
getLeftin interfaceHasPosition<Grid>- 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<Grid>- Parameters:
left- distance to set
-
A pixel value like
-
getTop
- Specified by:
getTopin interfaceHasPosition<Grid>- 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<Grid>- Parameters:
top- distance to set
-
A pixel value like
-
getRight
- Specified by:
getRightin interfaceHasPosition<Grid>- 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<Grid>- Parameters:
right- distance to set
-
A pixel value like
-
getBottom
- Specified by:
getBottomin interfaceHasPosition<Grid>- 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<Grid>- Parameters:
bottom- distance to set
-
A pixel value like
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getContainLabel
-
setContainLabel
-
getBackgroundColor
-
getBorderColor
-
getBorderWidth
-
setBorderWidth
-
getShadowBlur
- Specified by:
getShadowBlurin interfaceHasShadow<Grid>- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadowSets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlurin interfaceHasShadow<Grid>- Parameters:
shadowBlur- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColorin interfaceHasShadow<Grid>- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetXin interfaceHasShadow<Grid>- 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<Grid>- Parameters:
shadowOffsetX- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetYin interfaceHasShadow<Grid>- 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<Grid>- Parameters:
shadowOffsetY- offset to set in pixels
-
getTooltip
-
withId
-
withShow
-
withZLevel
-
withZ
-
withWidth
-
withHeight
-
withContainLabel
-
withBorderWidth
-