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:org.gwtnode.modules.mailcomposer.Alternative.java

License:Apache License

public final static Alternative create() {
    return JavaScriptObject.createObject().<Alternative>cast();
}

From source file:org.gwtnode.modules.mailcomposer.Attachment.java

License:Apache License

public final static Attachment create() {
    return JavaScriptObject.createObject().<Attachment>cast();
}

From source file:org.gwtnode.modules.mailcomposer.MailOptions.java

License:Apache License

public final static MailOptions create() {
    return JavaScriptObject.createObject().<MailOptions>cast();
}

From source file:org.gwtnode.modules.mailcomposer.MessageOptions.java

License:Apache License

public final static MessageOptions create() {
    return JavaScriptObject.createObject().<MessageOptions>cast();
}

From source file:org.gwtnode.modules.mysql.ConnectionOptions.java

License:Apache License

/**
 * Useful for {@link Connection#changeUser(ConnectionOptions, com.parsci.node.mysql.events.MySQLErrorEventHandler)}
 *//*from  www.  j  ava2  s  .c o m*/
public static final ConnectionOptions create(String user, String password, String database, String charset) {
    ConnectionOptions o = JavaScriptObject.createObject().cast();
    o.setUser(user);
    o.setPassword(password);
    o.setDatabase(database);
    o.setCharset(charset);
    return o;
}

From source file:org.gwtnode.modules.mysql.ConnectionOptions.java

License:Apache License

public static final ConnectionOptions create(String host, int port, String user, String password,
        String database, String charset, String timezone, String flags) {
    ConnectionOptions o = JavaScriptObject.createObject().cast();
    o.setHost(host);/*from   w  w w  .  j av  a 2s.com*/
    o.setPort(port);
    o.setUser(user);
    o.setPassword(password);
    o.setDatabase(database);
    o.setCharset(charset);
    o.setTimezone(timezone);
    o.setFlags(flags);
    return o;
}

From source file:org.gwtnode.modules.mysql.ConnectionOptions.java

License:Apache License

public static final ConnectionOptions create(String socketPath, String user, String password, String database,
        String charset, String timezone, String flags) {
    ConnectionOptions o = JavaScriptObject.createObject().cast();
    o.setSocketPath(socketPath);/*from   w w w  . j a  va2  s.co  m*/
    o.setUser(user);
    o.setPassword(password);
    o.setDatabase(database);
    o.setCharset(charset);
    o.setTimezone(timezone);
    o.setFlags(flags);
    return o;
}

From source file:org.gwtnode.modules.nodemailer.SendmailOptions.java

License:Apache License

public final static SendmailOptions create() {
    return JavaScriptObject.createObject().<SendmailOptions>cast();
}

From source file:org.gwtnode.modules.nodemailer.SESOptions.java

License:Apache License

public final static SESOptions create() {
    return JavaScriptObject.createObject().<SESOptions>cast();
}

From source file:org.gwtnode.modules.nodemailer.SMTPOptions.java

License:Apache License

public final static SMTPOptions create() {
    return JavaScriptObject.createObject().<SMTPOptions>cast();
}