public abstract class HintManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
HintManager.HideFlags |
static interface |
HintManager.PositionFlags |
Modifier and Type | Field and Description |
---|---|
static short |
ABOVE |
static short |
DEFAULT |
static int |
DONT_CONSUME_ESCAPE |
static int |
HIDE_BY_ANY_KEY |
static int |
HIDE_BY_CARET_MOVE |
static int |
HIDE_BY_ESCAPE |
static int |
HIDE_BY_LOOKUP_ITEM_CHANGE |
static int |
HIDE_BY_MOUSEOVER |
static int |
HIDE_BY_OTHER_HINT |
static int |
HIDE_BY_SCROLLING |
static int |
HIDE_BY_TEXT_CHANGE |
static int |
HIDE_IF_OUT_OF_EDITOR |
static short |
LEFT |
static short |
RIGHT |
static short |
RIGHT_UNDER |
static short |
UNDER |
static int |
UPDATE_BY_SCROLLING |
Constructor and Description |
---|
HintManager() |
Modifier and Type | Method and Description |
---|---|
static HintManager |
getInstance() |
abstract boolean |
hasShownHintsThatWillHideByOtherHint(boolean willShowTooltip) |
abstract void |
hideAllHints() |
abstract boolean |
hideHints(int mask,
boolean onlyOne,
boolean editorChanged) |
abstract void |
setRequestFocusForNextHint(boolean requestFocus) |
abstract void |
showErrorHint(Editor editor,
java.lang.String text) |
abstract void |
showErrorHint(Editor editor,
java.lang.String hintText,
int offset1,
int offset2,
short constraint,
int flags,
int timeout) |
abstract void |
showErrorHint(Editor editor,
java.lang.String text,
short position) |
abstract void |
showHint(javax.swing.JComponent component,
RelativePoint p,
int flags,
int timeout) |
abstract void |
showInformationHint(Editor editor,
javax.swing.JComponent component) |
void |
showInformationHint(Editor editor,
java.lang.String text) |
abstract void |
showInformationHint(Editor editor,
java.lang.String text,
javax.swing.event.HyperlinkListener listener) |
abstract void |
showInformationHint(Editor editor,
java.lang.String text,
short position) |
abstract void |
showQuestionHint(Editor editor,
java.lang.String hintText,
int offset1,
int offset2,
QuestionAction action) |
public static final short ABOVE
public static final short UNDER
public static final short LEFT
public static final short RIGHT
public static final short RIGHT_UNDER
public static final short DEFAULT
public static final int HIDE_BY_ESCAPE
public static final int HIDE_BY_ANY_KEY
public static final int HIDE_BY_LOOKUP_ITEM_CHANGE
public static final int HIDE_BY_TEXT_CHANGE
public static final int HIDE_BY_OTHER_HINT
public static final int HIDE_BY_SCROLLING
public static final int HIDE_IF_OUT_OF_EDITOR
public static final int UPDATE_BY_SCROLLING
public static final int HIDE_BY_MOUSEOVER
public static final int DONT_CONSUME_ESCAPE
public static final int HIDE_BY_CARET_MOVE
public static HintManager getInstance()
public abstract void showHint(javax.swing.JComponent component, RelativePoint p, int flags, int timeout)
public abstract void showErrorHint(Editor editor, java.lang.String text)
public abstract void showErrorHint(Editor editor, java.lang.String text, short position)
public void showInformationHint(Editor editor, java.lang.String text)
public abstract void showInformationHint(Editor editor, java.lang.String text, short position)
public abstract void showInformationHint(Editor editor, java.lang.String text, javax.swing.event.HyperlinkListener listener)
public abstract void showInformationHint(Editor editor, javax.swing.JComponent component)
public abstract void showQuestionHint(Editor editor, java.lang.String hintText, int offset1, int offset2, QuestionAction action)
public abstract boolean hideHints(int mask, boolean onlyOne, boolean editorChanged)
public abstract void showErrorHint(Editor editor, java.lang.String hintText, int offset1, int offset2, short constraint, int flags, int timeout)
public abstract void hideAllHints()
public abstract boolean hasShownHintsThatWillHideByOtherHint(boolean willShowTooltip)
public abstract void setRequestFocusForNextHint(boolean requestFocus)