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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static WordDTO
    create(String type, com.google.gwt.core.client.JsArray<GlyphDTO> glyphs)
    Replacement constructor.
    static WordDTO
    from(com.levigo.jadice.document.internal.text.Word word)
     
    com.google.gwt.core.client.JsArray<GlyphDTO>
     
     
    void
    setGlyphs(com.google.gwt.core.client.JsArray<GlyphDTO> glyphs)
     
    void
     
    static com.levigo.jadice.document.internal.text.Word
    to(WordDTO 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

    • WordDTO

      protected WordDTO()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getGlyphs

      public com.google.gwt.core.client.JsArray<GlyphDTO> getGlyphs()
    • setGlyphs

      public void setGlyphs(com.google.gwt.core.client.JsArray<GlyphDTO> glyphs)
    • create

      public static WordDTO create(String type, com.google.gwt.core.client.JsArray<GlyphDTO> glyphs)
      Replacement constructor. Creates a new native WordDTO.
      Returns:
      The new instance.
    • from

      public static WordDTO from(com.levigo.jadice.document.internal.text.Word word)
    • to

      public static com.levigo.jadice.document.internal.text.Word to(WordDTO dto)