Example usage for com.google.gwt.core.client JavaScriptObject createObject

List of usage examples for com.google.gwt.core.client JavaScriptObject createObject

Introduction

In this page you can find the example usage for com.google.gwt.core.client JavaScriptObject createObject.

Prototype

public static native JavaScriptObject createObject() ;

Source Link

Document

Returns a new object.

Usage

From source file:com.googlecode.gflot.client.options.InteractionOptions.java

License:Open Source License

/**
 * Creates a {@link com.googlecode.gflot.client.options.InteractionOptions}
 *//* w  w w.  j  a v a2  s.c o  m*/
public static final InteractionOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.LegendOptions.java

License:Open Source License

/**
 * Creates a {@link LegendOptions}
 */
public static final LegendOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.LineSeriesOptions.java

License:Open Source License

/**
 * Creates a {@link LineSeriesOptions}/*from   www.j  ava2 s. c o m*/
 */
public static final LineSeriesOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.Marking.java

License:Open Source License

/**
 * Creates a {@link Marking}
 */
public static final Marking create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.PanOptions.java

License:Open Source License

/**
 * Creates a {@link PanOptions}
 */
public static final PanOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.PieSeriesOptions.java

License:Open Source License

/**
 * Creates a {@link PieSeriesOptions}/*from   www . ja va 2 s .c  o m*/
 */
public static final PieSeriesOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.PlotOptions.java

License:Open Source License

/**
 * Creates a {@link PlotOptions}
 */
public static final PlotOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.PointsSeriesOptions.java

License:Open Source License

/**
 * Creates a {@link PointsSeriesOptions}
 *//* w  w w  . ja  v  a 2  s  .  c  om*/
public static final PointsSeriesOptions create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.Range.java

License:Open Source License

/**
 * Creates a {@link Range}
 */
public static final Range create() {
    return JavaScriptObject.createObject().cast();
}

From source file:com.googlecode.gflot.client.options.Range.java

License:Open Source License

/**
 * Creates a {@link Range} with specified range
 *///from   www . j  a  v a  2s. co m
public static final Range of(double from, double to) {
    Range range = JavaScriptObject.createObject().cast();
    range.setFrom(from);
    range.setTo(to);
    return range;
}