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, waitonSearchpublic DefaultHintHandler()
public String getTemplate(String item)
HintHandlergetTemplate in interface HintHandleritem - suggestion itempublic Node getContent(String item)
HintHandlergetContent in interface HintHandleritem - selected suggestion itemCopyright © 2017. All rights reserved.