Class ShapeDTO

java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.levigo.jadice.web.client.messaging.ShapeDTO

public final class ShapeDTO extends com.google.gwt.core.client.JavaScriptObject
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ShapeDTO
    create(String type, com.google.gwt.core.client.JavaScriptObject data)
    Replacement constructor.
    com.google.gwt.core.client.JavaScriptObject
     
     
    void
    setData(com.google.gwt.core.client.JavaScriptObject data)
     
    void
     
    static Shape
    to(ShapeDTO dto)
     

    Methods inherited from class com.google.gwt.core.client.JavaScriptObject

    cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ShapeDTO

      protected ShapeDTO()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getData

      public com.google.gwt.core.client.JavaScriptObject getData()
    • setData

      public void setData(com.google.gwt.core.client.JavaScriptObject data)
    • create

      public static ShapeDTO create(String type, com.google.gwt.core.client.JavaScriptObject data)
      Replacement constructor. Creates a new native ShapeDTO.
      Returns:
      The new instance.
    • to

      public static Shape to(ShapeDTO dto)