com.github.highcharts4gwt.model.array.jso.JsoArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
GWT wrapper for highcharts library.
package com.github.highcharts4gwt.model.array.jso;
import com.github.highcharts4gwt.model.array.api.Array;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
public class JsoArray extends JsArray implements Array
{
protected JsoArray()
{
}
@SuppressWarnings("unchecked")
@Override
public final T getItem(int index)
{
return (T) get(index);
}
@Override
final public void setValue(int index, T value)
{
set(index, (JavaScriptObject) value);
}
@Override
final public void addToEnd(T value)
{
push((JavaScriptObject) value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy