public abstract class DefaultHintHandler extends Object implements HintHandler
Constructor and Description |
---|
DefaultHintHandler() |
Modifier and Type | Method and Description |
---|---|
Node |
getContent(String item)
Returns the node to be inserted to the editor when selecting a
suggestion.
OPTIONAL: defaults to simple text node for suggestion item. |
String |
getTemplate(String item)
Returns the suggestion item's template on suggestion pop-over.
OPTIONAL: defaults to the suggestion item. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSearch
public DefaultHintHandler()
public String getTemplate(String item)
HintHandler
getTemplate
in interface HintHandler
item
- suggestion itempublic Node getContent(String item)
HintHandler
getContent
in interface HintHandler
item
- selected suggestion itemCopyright © 2017. All rights reserved.