Class TextSearchResultDTO
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.levigo.jadice.web.client.messaging.TextSearchResultDTO
public final class TextSearchResultDTO
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextSearchResultDTO
create
(int pageIndex, String resultText, RectangularShapeDTO bounds, ShapeDTO shape, String selectedText, String textBefore, String textAfter) Replacement constructor.int
getShape()
void
setBounds
(RectangularShapeDTO bounds) void
setPageIndex
(int pageIndex) void
setResultText
(String resultText) void
setSelectedText
(String selectedText) void
void
setTextAfter
(String textAfter) void
setTextBefore
(String textBefore) static com.levigo.jadice.web.shared.service.internal.textsearch.SearchResult
to
(TextSearchResultDTO dto) Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
TextSearchResultDTO
protected TextSearchResultDTO()
-
-
Method Details
-
getPageIndex
public int getPageIndex() -
setPageIndex
public void setPageIndex(int pageIndex) -
getResultText
-
setResultText
-
getBounds
-
setBounds
-
getShape
-
setShape
-
getSelectedText
-
setSelectedText
-
getTextBefore
-
setTextBefore
-
getTextAfter
-
setTextAfter
-
create
public static TextSearchResultDTO create(int pageIndex, String resultText, RectangularShapeDTO bounds, ShapeDTO shape, String selectedText, String textBefore, String textAfter) Replacement constructor. Creates a new nativeTextSearchResultDTO
.- Returns:
- The new instance.
-
to
public static com.levigo.jadice.web.shared.service.internal.textsearch.SearchResult to(TextSearchResultDTO dto)
-