-
public class Column extends VisualBase
Data grid column.
-
-
Method Summary
Modifier and Type Method Description static Columninstantiate()StringgetJsBase()voidbuttonCursor()ColumnbuttonCursor(Cursor valueCursor)ColumnbuttonCursor(String valueCursor)LabelsFactorycellTextSettings()ColumncellTextSettings(String value)voidcellTextSettingsOverrider()voidcollapseExpandButtons()Getter for expanding or collapse buttons. ColumncollapseExpandButtons(Boolean enabled)Setter for expanding or collapse buttons. voiddefaultWidth()Getter for the column default width. ColumndefaultWidth(Number width)Setter for the column default width. voiddepthPaddingMultiplier()Getter for the multiplier to choose a left padding. ColumndepthPaddingMultiplier(Number padding)Setter for the multiplier to choose a left padding. Columndraw()voidenabled()Getter for the element state (enabled or disabled). Columnenabled(Boolean enabled)Setter for the element enabled state. LabelsFactorylabels()Getter for labels settings of a column. voidlabelsOverrider()Getter for the labels overrider. 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. ColumnsetColumnFormat(String fieldName, ColumnFormats presetValue)Sets column format using enum. ColumnsetColumnFormat(String fieldName, String presetValue)Sets column format using enum. Titletitle()Getter for the column title. Columntitle(Boolean settings)Setter for the column title. Columntitle(String settings)Setter for the column title. 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 the column width. Columnwidth(Number width)Setter for the column width. Columnwidth(String width)Setter for the column width. voidzIndex()Getter for the Z-index of the element. ColumnzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Columncontainer(Layer element)Setter for the container. Columncontainer(Stage element)Setter for the container. Columncontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. ColumnparentBounds(Rect bounds)Setter for the parent bounds using single value. ColumnparentBounds(String bounds)Setter for the parent bounds using single value. ColumnparentBounds(Number bounds)Setter for the parent bounds using single value. ColumnparentBounds(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
-
Column
Column(String jsChart)
-
-
Method Detail
-
instantiate
static Column instantiate()
-
buttonCursor
void buttonCursor()
-
buttonCursor
Column buttonCursor(Cursor valueCursor)
-
buttonCursor
Column buttonCursor(String valueCursor)
-
cellTextSettings
LabelsFactory cellTextSettings()
-
cellTextSettings
Column cellTextSettings(String value)
-
cellTextSettingsOverrider
void cellTextSettingsOverrider()
-
collapseExpandButtons
void collapseExpandButtons()
Getter for expanding or collapse buttons.
-
collapseExpandButtons
Column collapseExpandButtons(Boolean enabled)
Setter for expanding or collapse buttons.
-
defaultWidth
void defaultWidth()
Getter for the column default width.
-
defaultWidth
Column defaultWidth(Number width)
Setter for the column default width.
-
depthPaddingMultiplier
void depthPaddingMultiplier()
Getter for the multiplier to choose a left padding.
-
depthPaddingMultiplier
Column depthPaddingMultiplier(Number padding)
Setter for the multiplier to choose a left padding.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
labels
LabelsFactory labels()
Getter for labels settings of a column.
-
labelsOverrider
void labelsOverrider()
Getter for the labels overrider.
-
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.
-
setColumnFormat
Column setColumnFormat(String fieldName, ColumnFormats presetValue)
Sets column format using enum.
-
setColumnFormat
Column setColumnFormat(String fieldName, String presetValue)
Sets column format using enum.
-
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 the column width.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Column 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
Column 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
Column 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.
-
-
-
-