|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntelliHints
IntelliHints
is an interface that defines all necessary methods to implement showing a hint popup
depending on a context and allows user to pick from a list of hints. createHintsComponent()
will create a
component that contains the hints. It will be shown in a popup window. After hint popup is created, updateHints(Object)
will update the content of hints based on the context. Once user picks a hint from the hint
popup, getSelectedHint()
will be called to find the hint that user selected and call acceptHint(Object)
to accept it.
Field Summary | |
---|---|
static String |
CLIENT_PROPERTY_INTELLI_HINTS
The key of a client property. |
Method Summary | |
---|---|
void |
acceptHint(Object hint)
Accepts the selected hint. |
JComponent |
createHintsComponent()
Creates the component which contains hints. |
Object |
getSelectedHint()
Gets the selected value. |
boolean |
updateHints(Object context)
Update hints depending on the context. |
Field Detail |
---|
static final String CLIENT_PROPERTY_INTELLI_HINTS
Method Detail |
---|
JComponent createHintsComponent()
updateHints(Object)
will update the content.
boolean updateHints(Object context)
context
- the current context
Object getSelectedHint()
void acceptHint(Object hint)
hint
- the hint to be accepted.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |