public final class ClearSelection extends NativeObjectContainer
Modifier and Type | Method and Description |
---|---|
Align |
getAlign()
Returns the clear selection align.
|
IsColor |
getFontColor()
Returns the the clear selection label font color.
|
String |
getFontColorAsString()
Returns the the clear selection label font color.
|
String |
getFontFamily()
Returns the font family, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size.
|
FontStyle |
getFontStyle()
Returns the font style, follows CSS font-style options (i.e.
|
ImageElement |
getImage()
Returns the clear selection image.
|
String |
getLabel()
Returns the clear selection label.
|
int |
getMargin()
Returns the margin from canvas border.
|
int |
getPadding()
Returns the padding of clear selection element.
|
Position |
getPosition()
Returns the clear selection label position.
|
Render |
getRender()
Returns the clear selection render.
|
int |
getSpacing()
Returns the spacing between label and image for clear selection element.
|
boolean |
isDisplay()
Returns
true if clear of selection label will be applied into chart, otherwise false . |
boolean |
isUseSelectionStyle()
Returns
true if clear selection element will apply style of selection area, otherwise false . |
void |
setAlign(Align align)
Sets the clear selection align.
|
void |
setDisplay(boolean display)
Sets
true if clear of selection label will e applied into chart, otherwise false . |
void |
setFontColor(IsColor color)
Set the clear selection label font color.
|
void |
setFontColor(String color)
Sets the clear selection label font color.
|
void |
setFontFamily(String fontFamily)
Sets the font family, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style, follows CSS font-style options (i.e.
|
void |
setImage(Image image)
Sets the clear selection image.
|
void |
setImage(ImageElement image)
Sets the clear selection image.
|
void |
setImage(ImageResource image)
Sets the clear selection image.
|
void |
setLabel(String label)
Sets the clear selection label.
|
void |
setMargin(int margin)
Sets the margin from canvas border.
|
void |
setPadding(int padding)
Sets the padding of clear selection element.
|
void |
setPosition(Position position)
Sets the clear selection label position.
|
void |
setRender(Render render)
Sets the clear selection render.
|
void |
setSpacing(int spacing)
Sets the spacing between label and image for clear selection element.
|
void |
setUseSelectionStyle(boolean useSelectionStyle)
Sets
true if clear of selection label will e applied into chart, otherwise false . |
getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public void setDisplay(boolean display)
true
if clear of selection label will e applied into chart, otherwise false
.display
- true
if clear of selection label will e applied into chart, otherwise false
public boolean isDisplay()
true
if clear of selection label will be applied into chart, otherwise false
.true
if clear of selection label will be applied into chart, otherwise false
public void setLabel(String label)
label
- the clear selection labelpublic String getLabel()
public void setFontSize(int fontSize)
fontSize
- the font size.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle
- Font style, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).public FontStyle getFontStyle()
public void setFontFamily(String fontFamily)
fontFamily
- Font family, follows CSS font-family options.public String getFontFamily()
public String getFontColorAsString()
public IsColor getFontColor()
public void setFontColor(String color)
color
- the clear selection label font color.public void setFontColor(IsColor color)
color
- the clear selection label font color.public void setAlign(Align align)
align
- the clear selection alignpublic Align getAlign()
public void setRender(Render render)
render
- the clear selection renderpublic Render getRender()
public void setPosition(Position position)
position
- the clear selection label positionpublic Position getPosition()
public void setImage(ImageResource image)
image
- the clear selection imagepublic void setImage(Image image)
image
- the clear selection imagepublic void setImage(ImageElement image)
image
- the clear selection imagepublic ImageElement getImage()
null
if not setpublic void setMargin(int margin)
margin
- margin from canvas borderpublic int getMargin()
public void setPadding(int padding)
padding
- padding of clear selection elementpublic int getPadding()
public void setSpacing(int spacing)
spacing
- spacing between label and image for clear selection elementpublic int getSpacing()
public void setUseSelectionStyle(boolean useSelectionStyle)
true
if clear of selection label will e applied into chart, otherwise false
.useSelectionStyle
- true
if clear of selection label will e applied into chart, otherwise false
public boolean isUseSelectionStyle()
true
if clear selection element will apply style of selection area, otherwise false
.true
if clear selection element will apply style of selection area, otherwise false