-
public class VisualBaseWithBounds extends VisualBase
An extended base element that understands bounds settings and can handle percent values in it.
-
-
Constructor Summary
Constructors Constructor Description VisualBaseWithBounds(String jsChart)
-
Method Summary
Modifier and Type Method Description static VisualBaseWithBoundsinstantiate()StringgetJsBase()voidbottom()Getter for element bottom bound settings. VisualBaseWithBoundsbottom(Number bottom)Setter for element bottom bound settings. VisualBaseWithBoundsbottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. VisualBaseWithBoundsbounds(RectObj bounds)Setter for bounds of the element using one parameter. VisualBaseWithBoundsbounds(Rect bounds)Setter for bounds of the element using one parameter. VisualBaseWithBoundsbounds(Bounds bounds)Setter for bounds of the element using one parameter. VisualBaseWithBoundsbounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, Number y, Number width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, Number y, String width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, Number y, String width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, String y, Number width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, String y, Number width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, String y, String width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(Number x, String y, String width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, Number y, Number width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, Number y, Number width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, Number y, String width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, Number y, String width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, String y, Number width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, String y, Number width, String height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, String y, String width, Number height)Setter for element bounds settings. VisualBaseWithBoundsbounds(String x, String y, String width, String height)Setter for element bounds settings. voidenabled()Getter for the element state (enabled or disabled). VisualBaseWithBoundsenabled(Boolean enabled)Setter for the element enabled state. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. voidheight()Getter for element height settings. VisualBaseWithBoundsheight(Number height)Setter for element height setting. VisualBaseWithBoundsheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. VisualBaseWithBoundsleft(Number left)Setter for element left bound settings. VisualBaseWithBoundsleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. VisualBaseWithBoundsmaxHeight(Number height)Setter for the maximum height. VisualBaseWithBoundsmaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. VisualBaseWithBoundsmaxWidth(Number width)Setter for the maximum width. VisualBaseWithBoundsmaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. VisualBaseWithBoundsminHeight(Number height)Setter for the minimum height. VisualBaseWithBoundsminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. VisualBaseWithBoundsminWidth(Number width)Setter for the minimum width. VisualBaseWithBoundsminWidth(String width)Setter for the minimum width. 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. voidright()Getter for element right bound settings. VisualBaseWithBoundsright(Number right)Setter for element right bound setting. VisualBaseWithBoundsright(String right)Setter for element right bound setting. voidtop()Getter for element top bound settings. VisualBaseWithBoundstop(Number top)Setter for element top bound settings. VisualBaseWithBoundstop(String top)Setter for element top bound 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(). voidwidth()Getter for element width settings. VisualBaseWithBoundswidth(Number width)Setter for element width setting. VisualBaseWithBoundswidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. VisualBaseWithBoundszIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. VisualBaseWithBoundscontainer(Layer element)Setter for the container. VisualBaseWithBoundscontainer(Stage element)Setter for the container. VisualBaseWithBoundscontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. VisualBaseWithBoundsparentBounds(Rect bounds)Setter for the parent bounds using single value. VisualBaseWithBoundsparentBounds(String bounds)Setter for the parent bounds using single value. VisualBaseWithBoundsparentBounds(Number bounds)Setter for the parent bounds using single value. VisualBaseWithBoundsparentBounds(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
-
VisualBaseWithBounds
VisualBaseWithBounds(String jsChart)
-
-
Method Detail
-
instantiate
static VisualBaseWithBounds instantiate()
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
VisualBaseWithBounds bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
VisualBaseWithBounds bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
VisualBaseWithBounds bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
VisualBaseWithBounds bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
VisualBaseWithBounds bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
VisualBaseWithBounds bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
VisualBaseWithBounds bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
VisualBaseWithBounds enabled(Boolean enabled)
Setter for the element enabled state.
-
getPixelBounds
Rect getPixelBounds()
Returns pixel bounds of the element due to parent bounds and self bounds settings.
-
height
void height()
Getter for element height settings.
-
height
VisualBaseWithBounds height(Number height)
Setter for element height setting.
-
height
VisualBaseWithBounds height(String height)
Setter for element height setting.
-
left
void left()
Getter for element left bound settings.
-
left
VisualBaseWithBounds left(Number left)
Setter for element left bound settings.
-
left
VisualBaseWithBounds left(String left)
Setter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
VisualBaseWithBounds maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
VisualBaseWithBounds maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
VisualBaseWithBounds maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
VisualBaseWithBounds maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
VisualBaseWithBounds minHeight(Number height)
Setter for the minimum height.
-
minHeight
VisualBaseWithBounds minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
VisualBaseWithBounds minWidth(Number width)
Setter for the minimum width.
-
minWidth
VisualBaseWithBounds minWidth(String width)
Setter for the minimum width.
-
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.
-
right
void right()
Getter for element right bound settings.
-
right
VisualBaseWithBounds right(Number right)
Setter for element right bound setting.
-
right
VisualBaseWithBounds right(String right)
Setter for element right bound setting.
-
top
void top()
Getter for element top bound settings.
-
top
VisualBaseWithBounds top(Number top)
Setter for element top bound settings.
-
top
VisualBaseWithBounds top(String top)
Setter for element top bound 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().
-
width
void width()
Getter for element width settings.
-
width
VisualBaseWithBounds width(Number width)
Setter for element width setting.
-
width
VisualBaseWithBounds width(String width)
Setter for element width setting.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
VisualBaseWithBounds zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
VisualBaseWithBounds container(Layer element)
Setter for the container.
-
container
VisualBaseWithBounds container(Stage element)
Setter for the container.
-
container
VisualBaseWithBounds 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
VisualBaseWithBounds 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
VisualBaseWithBounds 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
VisualBaseWithBounds 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
VisualBaseWithBounds 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.
-
-
-
-