public class IdeTooltip extends ComparableObject.Impl
Modifier and Type | Class and Description |
---|---|
static interface |
IdeTooltip.Ui |
ComparableObject.Impl
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
TOOLTIP_DISMISS_DELAY_KEY |
NONE
Constructor and Description |
---|
IdeTooltip(java.awt.Component component,
java.awt.Point point,
javax.swing.JComponent tipComponent,
java.lang.Object... identity) |
equals, getEqualityObjects, hashCode
public static final java.lang.Object TOOLTIP_DISMISS_DELAY_KEY
public IdeTooltip(java.awt.Component component, java.awt.Point point, javax.swing.JComponent tipComponent, java.lang.Object... identity)
public IdeTooltip setPreferredPosition(Balloon.Position position)
public java.awt.Component getComponent()
public java.awt.Point getPoint()
public RelativePoint getShowingPoint()
public Balloon.Position getPreferredPosition()
public javax.swing.JComponent getTipComponent()
public IdeTooltip setToCenter(boolean toCenter)
public boolean isToCenter()
public boolean isToCenterIfSmall()
public IdeTooltip setToCenterIfSmall(boolean mayCenter)
protected boolean canAutohideOn(TooltipEvent event)
protected void onHidden()
protected boolean beforeShow()
public void hide()
public boolean canBeDismissedOnTimeout()
public int getShowDelay()
public int getInitialReshowDelay()
public int getDismissDelay()
public IdeTooltip setHighlighterType(boolean isHighlighter)
public IdeTooltip setTextBackground(java.awt.Color textBackground)
public IdeTooltip setTextForeground(java.awt.Color textForeground)
public IdeTooltip setBorderColor(java.awt.Color borderColor)
public IdeTooltip setBorderInsets(java.awt.Insets insets)
public java.awt.Color getTextBackground()
public java.awt.Font getFont()
public java.awt.Color getTextForeground()
public java.awt.Color getBorderColor()
public java.awt.Insets getBorderInsets()
public javax.swing.border.Border getComponentBorder()
public IdeTooltip setComponentBorder(javax.swing.border.Border value)
public IdeTooltip setFont(java.awt.Font font)
public int getCalloutShift()
public IdeTooltip setCalloutShift(int calloutShift)
public void setComponent(java.awt.Component component)
public void setPoint(java.awt.Point point)
public IdeTooltip setExplicitClose(boolean explicitClose)
public boolean isExplicitClose()
public IdeTooltip setPositionChangeShift(int positionChangeX, int positionChangeY)
public int getPositionChangeX()
public int getPositionChangeY()
public void setUi(IdeTooltip.Ui ui)
public IdeTooltip setLayer(Balloon.Layer layer)
public Balloon.Layer getLayer()
public IdeTooltip setHint(boolean hint)
public boolean isHint()
public boolean isInside(RelativePoint target)
public boolean isRequestFocus()
public IdeTooltip setRequestFocus(boolean requestFocus)