public final class DatasetsItemsSelectorOptions extends NativeObjectContainer
Constructor and Description |
---|
DatasetsItemsSelectorOptions()
Builds the object with a new java script object setting the default value of plugin.
|
Modifier and Type | Method and Description |
---|---|
IsColor |
getBorderColor()
Returns the color.
|
String |
getBorderColorAsString()
Returns the color.
|
List<Integer> |
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of
lines and gaps which describe the pattern.
|
int |
getBorderWidth()
Returns the border width of the selection.
|
ClearSelection |
getClearSelection()
Returns the clear selection element.
|
IsColor |
getColor()
Returns the color.
|
String |
getColorAsString()
Returns the color.
|
NativeObject |
getObject()
Returns the java script object of this options.
|
String |
getXAxisID()
Returns the ID of the x axis to plot this dataset on.
|
boolean |
isFireEventOnClearSelection()
Returns
true if it will fire event after clear of selection, otherwise false . |
void |
setBorderColor(IsColor color)
Sets the color.
|
void |
setBorderColor(String color)
Sets the color.
|
void |
setBorderDash(int... borderDash)
Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines
and gaps which describe the pattern.
|
void |
setBorderWidth(int borderWidth)
Sets the border width of the selection.
|
void |
setColor(IsColor color)
Sets the color.
|
void |
setColor(String color)
Sets the color.
|
void |
setFireEventOnClearSelection(boolean fireEvent)
Sets
true if it will fire event after clear of selection, otherwise false . |
void |
setXAxisID(String xAxisID)
Sets the ID of the x axis to plot this dataset on.
|
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 DatasetsItemsSelectorOptions()
public ClearSelection getClearSelection()
public void setXAxisID(String xAxisID)
xAxisID
- the ID of the x axis to plot this dataset on. If not specified, this defaults to the ID of the first found
x axis.public String getXAxisID()
public String getColorAsString()
public IsColor getColor()
public void setColor(String color)
color
- the color.public void setColor(IsColor color)
color
- the color.public void setBorderDash(int... borderDash)
borderDash
- the line dash pattern used when stroking linespublic List<Integer> getBorderDash()
public void setBorderWidth(int borderWidth)
borderWidth
- the border width of the selection.public int getBorderWidth()
public String getBorderColorAsString()
public IsColor getBorderColor()
public void setBorderColor(String color)
color
- the color.public void setBorderColor(IsColor color)
color
- the color.public void setFireEventOnClearSelection(boolean fireEvent)
true
if it will fire event after clear of selection, otherwise false
.fireEvent
- true
if it will fire event after clear of selection, otherwise false
public boolean isFireEventOnClearSelection()
true
if it will fire event after clear of selection, otherwise false
.true
if it will fire event after clear of selection, otherwise false
public NativeObject getObject()