public class ParameterHintsPresentationManager extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
Inlay |
addHint(Editor editor,
int offset,
boolean relatesToPrecedingText,
java.lang.String hintText,
HintWidthAdjustment widthAdjuster,
boolean useAnimation) |
void |
deleteHint(Editor editor,
Inlay hint,
boolean useAnimation) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.lang.String |
getHintText(Inlay inlay) |
static ParameterHintsPresentationManager |
getInstance() |
java.util.List<Inlay> |
getParameterHintsInRange(Editor editor,
int startOffset,
int endOffset) |
boolean |
isAnimationInProgress(Editor editor) |
boolean |
isCurrent(Inlay hint) |
boolean |
isHighlighted(Inlay hint) |
boolean |
isParameterHint(Inlay inlay) |
void |
replaceHint(Editor editor,
Inlay hint,
java.lang.String newText,
HintWidthAdjustment widthAdjuster,
boolean useAnimation) |
void |
setCurrent(Inlay hint,
boolean current) |
void |
setHighlighted(Inlay hint,
boolean highlighted) |
public static ParameterHintsPresentationManager getInstance()
public java.util.List<Inlay> getParameterHintsInRange(Editor editor, int startOffset, int endOffset)
public boolean isParameterHint(Inlay inlay)
public java.lang.String getHintText(Inlay inlay)
public Inlay addHint(Editor editor, int offset, boolean relatesToPrecedingText, java.lang.String hintText, HintWidthAdjustment widthAdjuster, boolean useAnimation)
public void replaceHint(Editor editor, Inlay hint, java.lang.String newText, HintWidthAdjustment widthAdjuster, boolean useAnimation)
public void setHighlighted(Inlay hint, boolean highlighted)
public boolean isHighlighted(Inlay hint)
public void setCurrent(Inlay hint, boolean current)
public boolean isCurrent(Inlay hint)
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isAnimationInProgress(Editor editor)