|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.editor.tool.autocomplete.Hints
public class Hints
Represents a list of hints that are returned.
| Constructor Summary | |
|---|---|
Hints()
|
|
| Method Summary | |
|---|---|
SortedSet<HintData> |
getHints()
|
int |
getStartOffset()
|
boolean |
isEmpty()
|
Hints |
withHints(Collection<HintData> values)
Build an instance of Hints. |
Hints |
withHints(HintData... values)
Build an instance of Hints. |
Hints |
withHints(Hints otherHints)
Build an instance of Hints. |
Hints |
withStartOffset(int startOffset)
Build an instance of Hints. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hints()
| Method Detail |
|---|
public SortedSet<HintData> getHints()
public Hints withHints(HintData... values)
Hints.
values - the autocompletion hints to populate the instance with
Hints containing the passed hintspublic Hints withHints(Collection<HintData> values)
Hints.
values - the autocompletion hints to populate the instance with
Hints containing the passed hintspublic int getStartOffset()
public Hints withStartOffset(int startOffset)
Hints.
startOffset - the start of the user input that needs to be replaced on the client side with the selected
autocompletion hint.
Hints containing the passed hintspublic Hints withHints(Hints otherHints)
Hints.
otherHints - another instance to populate this instance with
Hints containing also the hints from the passed instancepublic boolean isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||