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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static LineDTO
    create(com.google.gwt.core.client.JsArray<WordDTO> words)
    Replacement constructor.
    static LineDTO
    from(com.levigo.jadice.document.internal.text.Line line)
     
    com.google.gwt.core.client.JsArray<WordDTO>
     
    void
    setWords(com.google.gwt.core.client.JsArray<WordDTO> words)
     
    static com.levigo.jadice.document.internal.text.Line
    to(LineDTO 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

    • LineDTO

      protected LineDTO()
  • Method Details

    • getWords

      public com.google.gwt.core.client.JsArray<WordDTO> getWords()
    • setWords

      public void setWords(com.google.gwt.core.client.JsArray<WordDTO> words)
    • create

      public static LineDTO create(com.google.gwt.core.client.JsArray<WordDTO> words)
      Replacement constructor. Creates a new native LineDTO.
      Returns:
      The new instance.
    • from

      public static LineDTO from(com.levigo.jadice.document.internal.text.Line line)
    • to

      public static com.levigo.jadice.document.internal.text.Line to(LineDTO dto)