-
public class DataGridButton extends VisualBase
Collapse-expand button.
-
-
Constructor Summary
Constructors Constructor Description DataGridButton(String jsChart)
-
Method Summary
Modifier and Type Method Description static DataGridButtoninstantiate()StringgetJsBase()voidcontent()Getter for buttons content. DataGridButtoncontent(String content)Setter for buttons content. DataGridButtoncontent(Number content)Setter for buttons content. voidcursor()Getter for the cursor type. DataGridButtoncursor(String cursorType)Setter for the cursor type. DataGridButtoncursor(Cursor cursorType)Setter for the cursor type. voiddisablePointerEvents()Getter for the state of disablePointerEvents option. DataGridButtondisablePointerEvents(Boolean enabled)Setter for the text disablePointerEvents option. voidenabled()Getter for the element state (enabled or disabled). DataGridButtonenabled(Boolean enabled)Setter for the element enabled state. voidfontColor()Getter for button font color. DataGridButtonfontColor(String color)Setter for button font color settings. voidfontDecoration()Getter for the button text font decoration. DataGridButtonfontDecoration(Decoration fontDecoration)Setter for the button text font decoration. DataGridButtonfontDecoration(String fontDecoration)Setter for the button text font decoration. voidfontFamily()Getter for the button font family of text. DataGridButtonfontFamily(String fontFamily)Setter for the button font family of text. voidfontOpacity()Getter for the button text font opacity. DataGridButtonfontOpacity(Number opacity)Setter for the button text font opacity. voidfontSize()Getter for button font size. DataGridButtonfontSize(Number size)Setter for button font size settings. DataGridButtonfontSize(String size)Setter for button font size settings. voidfontStyle()Getter for the button text font style. DataGridButtonfontStyle(FontStyle style)Setter for the button text font style. DataGridButtonfontStyle(String style)Setter for the button text font style. voidfontVariant()Getter for the button text font variant. DataGridButtonfontVariant(FontVariant type)Setter for the button text font variant. DataGridButtonfontVariant(String type)Setter for the button text font variant. voidfontWeight()Getter for the button text font weight. DataGridButtonfontWeight(String weight)Setter for the button text font weight. DataGridButtonfontWeight(Number weight)Setter for the button text font weight. voidhAlign()Getter for the button text horizontal align. DataGridButtonhAlign(HAlign align)Setter for the button text horizontal align. DataGridButtonhAlign(String align)Setter for the button text horizontal align. voidheight()Getter for the buttons height. DataGridButtonheight(Number height)Setter for the buttons height. DataGridButtonheight(String height)Setter for the buttons height. StateSettingshovered()Getter for hovered state settings. DataGridButtonhovered(String settings)Setter for hovered state settings. voidletterSpacing()Getter for the button text letter spacing. DataGridButtonletterSpacing(String spacing)Setter for the button text letter spacing. DataGridButtonletterSpacing(Number spacing)Setter for the button text letter spacing. voidlineHeight()Getter for the button text line height. DataGridButtonlineHeight(String height)Setter for the button text line height. DataGridButtonlineHeight(Number height)Setter for the button text line height. StateSettingsnormal()Getter for normal state settings. DataGridButtonnormal(String settings)Setter for normal state settings. Paddingpadding()Getter for the buttons padding. DataGridButtonpadding(Array<Number> padding)Setter for the buttons padding in pixels by one value. DataGridButtonpadding(Array<String> padding)Setter for the buttons padding in pixels by one value. DataGridButtonpadding(String padding)Setter for the buttons padding in pixels by one value. DataGridButtonpadding(String value1, String value2, String value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, String value2, String value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, String value2, Number value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, String value2, Number value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, Number value2, String value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, Number value2, String value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, Number value2, Number value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(String value1, Number value2, Number value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, String value2, String value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, String value2, String value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, String value2, Number value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, String value2, Number value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, Number value2, String value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, Number value2, String value3, Number value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, Number value2, Number value3, String value4)Setter for the buttons padding in pixels using several numbers. DataGridButtonpadding(Number value1, Number value2, Number value3, Number value4)Setter for the buttons padding in pixels using several numbers. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. voidselectable()Getter for the text selectable option. DataGridButtonselectable(Boolean enabled)Setter for the text selectable. StateSettingsselected()Getter for selected state settings. DataGridButtonselected(String settings)Setter for selected state settings. voidtextDirection()Getter for the button text direction. DataGridButtontextDirection(Direction type)Setter for the button text direction. DataGridButtontextDirection(String type)Setter for the button text direction. voidtextIndent()Getter for the button text indent. DataGridButtontextIndent(Number indent)Setter for the button text indent. voidtextOverflow()Getter for the text overflow. DataGridButtontextOverflow(TextOverflow value)Setter for the text overflow settings. DataGridButtontextOverflow(String value)Setter for the text overflow settings. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). voiduseHtml()Getter for the useHtml flag. DataGridButtonuseHtml(Boolean enabled)Setter for button text as useHtml. voidvAlign()Getter for the button text vertical align. DataGridButtonvAlign(VAlign align)Setter for the button text vertical align. DataGridButtonvAlign(String align)Setter for the button text vertical align. voidwidth()Getter for the buttons width. DataGridButtonwidth(Number width)Setter for the buttons width. DataGridButtonwidth(String width)Setter for the buttons width. voidwordBreak()Getter for the word-break mode. DataGridButtonwordBreak(WordBreak type)Setter for the word-break mode. DataGridButtonwordBreak(String type)Setter for the word-break mode. voidwordWrap()Getter for the word-wrap mode. DataGridButtonwordWrap(WordWrap type)Setter for the word-wrap mode. DataGridButtonwordWrap(String type)Setter for the word-wrap mode. voidzIndex()Getter for the Z-index of the element. DataGridButtonzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. DataGridButtoncontainer(Layer element)Setter for the container. DataGridButtoncontainer(Stage element)Setter for the container. DataGridButtoncontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. DataGridButtonparentBounds(Rect bounds)Setter for the parent bounds using single value. DataGridButtonparentBounds(String bounds)Setter for the parent bounds using single value. DataGridButtonparentBounds(Number bounds)Setter for the parent bounds using single value. DataGridButtonparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DataGridButton
DataGridButton(String jsChart)
-
-
Method Detail
-
instantiate
static DataGridButton instantiate()
-
content
void content()
Getter for buttons content.
-
content
DataGridButton content(String content)
Setter for buttons content.
-
content
DataGridButton content(Number content)
Setter for buttons content.
-
cursor
void cursor()
Getter for the cursor type.
-
cursor
DataGridButton cursor(String cursorType)
Setter for the cursor type.
-
cursor
DataGridButton cursor(Cursor cursorType)
Setter for the cursor type.
-
disablePointerEvents
void disablePointerEvents()
Getter for the state of disablePointerEvents option.
-
disablePointerEvents
DataGridButton disablePointerEvents(Boolean enabled)
Setter for the text disablePointerEvents option.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
DataGridButton enabled(Boolean enabled)
Setter for the element enabled state.
-
fontColor
void fontColor()
Getter for button font color.
-
fontColor
DataGridButton fontColor(String color)
Setter for button font color settings.
-
fontDecoration
void fontDecoration()
Getter for the button text font decoration.
-
fontDecoration
DataGridButton fontDecoration(Decoration fontDecoration)
Setter for the button text font decoration.
-
fontDecoration
DataGridButton fontDecoration(String fontDecoration)
Setter for the button text font decoration.
-
fontFamily
void fontFamily()
Getter for the button font family of text.
-
fontFamily
DataGridButton fontFamily(String fontFamily)
Setter for the button font family of text.
-
fontOpacity
void fontOpacity()
Getter for the button text font opacity.
-
fontOpacity
DataGridButton fontOpacity(Number opacity)
Setter for the button text font opacity. Double value from 0 to 1.
-
fontSize
void fontSize()
Getter for button font size.
-
fontSize
DataGridButton fontSize(Number size)
Setter for button font size settings.
-
fontSize
DataGridButton fontSize(String size)
Setter for button font size settings.
-
fontStyle
void fontStyle()
Getter for the button text font style.
-
fontStyle
DataGridButton fontStyle(FontStyle style)
Setter for the button text font style.
-
fontStyle
DataGridButton fontStyle(String style)
Setter for the button text font style.
-
fontVariant
void fontVariant()
Getter for the button text font variant.
-
fontVariant
DataGridButton fontVariant(FontVariant type)
Setter for the button text font variant.
-
fontVariant
DataGridButton fontVariant(String type)
Setter for the button text font variant.
-
fontWeight
void fontWeight()
Getter for the button text font weight.
-
fontWeight
DataGridButton fontWeight(String weight)
Setter for the button text font weight. ://www.w3schools.com/cssref/pr_font_weight.asp
-
fontWeight
DataGridButton fontWeight(Number weight)
Setter for the button text font weight. ://www.w3schools.com/cssref/pr_font_weight.asp
-
hAlign
void hAlign()
Getter for the button text horizontal align.
-
hAlign
DataGridButton hAlign(HAlign align)
Setter for the button text horizontal align.
-
hAlign
DataGridButton hAlign(String align)
Setter for the button text horizontal align.
-
height
void height()
Getter for the buttons height.
-
height
DataGridButton height(Number height)
Setter for the buttons height.
-
height
DataGridButton height(String height)
Setter for the buttons height.
-
hovered
StateSettings hovered()
Getter for hovered state settings. The hovered state is a hover on the button in the normal state.
-
hovered
DataGridButton hovered(String settings)
Setter for hovered state settings. The hovered state is a hover on the button in the normal state.
-
letterSpacing
void letterSpacing()
Getter for the button text letter spacing.
-
letterSpacing
DataGridButton letterSpacing(String spacing)
Setter for the button text letter spacing. ://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
letterSpacing
DataGridButton letterSpacing(Number spacing)
Setter for the button text letter spacing. ://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
lineHeight
void lineHeight()
Getter for the button text line height.
-
lineHeight
DataGridButton lineHeight(String height)
Setter for the button text line height. ://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
lineHeight
DataGridButton lineHeight(Number height)
Setter for the button text line height. ://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
normal
StateSettings normal()
Getter for normal state settings. The normal state is the button in the collapsed state.
-
normal
DataGridButton normal(String settings)
Setter for normal state settings. The normal state is the button in the collapsed state.
-
padding
DataGridButton padding(Array<Number> padding)
Setter for the buttons padding in pixels by one value.
-
padding
DataGridButton padding(Array<String> padding)
Setter for the buttons padding in pixels by one value.
-
padding
DataGridButton padding(String padding)
Setter for the buttons padding in pixels by one value.
-
padding
DataGridButton padding(String value1, String value2, String value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, String value2, String value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, String value2, Number value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, String value2, Number value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, Number value2, String value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, Number value2, String value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, Number value2, Number value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(String value1, Number value2, Number value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, String value2, String value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, String value2, String value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, String value2, Number value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, String value2, Number value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, Number value2, String value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, Number value2, String value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, Number value2, Number value3, String value4)
Setter for the buttons padding in pixels using several numbers.
-
padding
DataGridButton padding(Number value1, Number value2, Number value3, Number value4)
Setter for the buttons padding in pixels using several numbers.
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
selectable
void selectable()
Getter for the text selectable option.
-
selectable
DataGridButton selectable(Boolean enabled)
Setter for the text selectable.
-
selected
StateSettings selected()
Getter for selected state settings. The selected state is the button in the expanded state.
-
selected
DataGridButton selected(String settings)
Setter for selected state settings. The selected state is the button in the expanded state.
-
textDirection
void textDirection()
Getter for the button text direction.
-
textDirection
DataGridButton textDirection(Direction type)
Setter for the button text direction.
-
textDirection
DataGridButton textDirection(String type)
Setter for the button text direction.
-
textIndent
void textIndent()
Getter for the button text indent.
-
textIndent
DataGridButton textIndent(Number indent)
Setter for the button text indent.
-
textOverflow
void textOverflow()
Getter for the text overflow.
-
textOverflow
DataGridButton textOverflow(TextOverflow value)
Setter for the text overflow settings.
-
textOverflow
DataGridButton textOverflow(String value)
Setter for the text overflow settings.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
useHtml
void useHtml()
Getter for the useHtml flag.
-
useHtml
DataGridButton useHtml(Boolean enabled)
Setter for button text as useHtml.
-
vAlign
void vAlign()
Getter for the button text vertical align.
-
vAlign
DataGridButton vAlign(VAlign align)
Setter for the button text vertical align.
-
vAlign
DataGridButton vAlign(String align)
Setter for the button text vertical align.
-
width
void width()
Getter for the buttons width.
-
width
DataGridButton width(Number width)
Setter for the buttons width.
-
width
DataGridButton width(String width)
Setter for the buttons width.
-
wordBreak
void wordBreak()
Getter for the word-break mode.
-
wordBreak
DataGridButton wordBreak(WordBreak type)
Setter for the word-break mode.
-
wordBreak
DataGridButton wordBreak(String type)
Setter for the word-break mode.
-
wordWrap
void wordWrap()
Getter for the word-wrap mode.
-
wordWrap
DataGridButton wordWrap(WordWrap type)
Setter for the word-wrap mode.
-
wordWrap
DataGridButton wordWrap(String type)
Setter for the word-wrap mode.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
DataGridButton zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
DataGridButton container(Layer element)
Setter for the container.
-
container
DataGridButton container(Stage element)
Setter for the container.
-
container
DataGridButton container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
DataGridButton parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
DataGridButton parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
DataGridButton parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
DataGridButton parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
-
-
-