public class HintHint
extends java.lang.Object
Constructor and Description |
---|
HintHint() |
HintHint(java.awt.Component originalComponent,
java.awt.Point originalPoint) |
HintHint(Editor editor,
java.awt.Point point) |
HintHint(java.awt.event.MouseEvent e) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBorderColor() |
java.awt.Insets |
getBorderInsets() |
int |
getCalloutShift() |
javax.swing.border.Border |
getComponentBorder() |
java.awt.Color |
getLinkForeground() |
java.awt.Component |
getOriginalComponent() |
java.awt.Point |
getOriginalPoint() |
int |
getPositionChangeX() |
int |
getPositionChangeY() |
Balloon.Position |
getPreferredPosition() |
RelativePoint |
getTargetPoint() |
java.awt.Color |
getTextBackground() |
java.awt.Font |
getTextFont() |
java.awt.Color |
getTextForeground() |
java.lang.String |
getUlImg() |
void |
initStyle(java.awt.Component c,
boolean includeChildren) |
void |
initStyleFrom(javax.swing.JComponent component) |
boolean |
isAnimationEnabled() |
boolean |
isAwtTooltip() |
boolean |
isContentActive() |
boolean |
isExplicitClose() |
boolean |
isHighlighterType() |
boolean |
isMayCenterTooltip() |
boolean |
isOpaqueAllowed() |
boolean |
isOwnBorderAllowed() |
boolean |
isPopupForced() |
boolean |
isRequestFocus() |
boolean |
isShowImmediately() |
HintHint |
setAnimationEnabled(boolean enabled) |
HintHint |
setAwtTooltip(boolean awtTooltip) |
HintHint |
setBorderColor(java.awt.Color borderColor) |
HintHint |
setBorderInsets(java.awt.Insets insets) |
HintHint |
setCalloutShift(int calloutShift) |
void |
setComponentBorder(javax.swing.border.Border border) |
HintHint |
setContentActive(boolean active) |
HintHint |
setExplicitClose(boolean explicitClose) |
HintHint |
setFont(java.awt.Font font) |
HintHint |
setForcePopup(boolean forcePopup) |
HintHint |
setHighlighterType(boolean highlighter) |
HintHint |
setMayCenterPosition(boolean mayCenter) |
HintHint |
setPositionChangeShift(int x,
int y) |
HintHint |
setPreferredPosition(Balloon.Position position) |
HintHint |
setRequestFocus(boolean requestFocus) |
HintHint |
setShowImmediately(boolean showImmediately)
Make sense if and only if isAwtTooltip set to
true |
HintHint |
setTextBg(java.awt.Color textBg) |
HintHint |
setTextFg(java.awt.Color textFg) |
public HintHint()
public HintHint(java.awt.event.MouseEvent e)
public HintHint(Editor editor, java.awt.Point point)
public HintHint(java.awt.Component originalComponent, java.awt.Point originalPoint)
public HintHint setAwtTooltip(boolean awtTooltip)
public HintHint setMayCenterPosition(boolean mayCenter)
public boolean isMayCenterTooltip()
public HintHint setPreferredPosition(Balloon.Position position)
public boolean isAwtTooltip()
public boolean isPopupForced()
public HintHint setForcePopup(boolean forcePopup)
public java.awt.Component getOriginalComponent()
public java.awt.Point getOriginalPoint()
public RelativePoint getTargetPoint()
public javax.swing.border.Border getComponentBorder()
public void setComponentBorder(javax.swing.border.Border border)
public Balloon.Position getPreferredPosition()
public java.awt.Color getTextForeground()
public java.awt.Color getTextBackground()
public java.awt.Color getLinkForeground()
public boolean isOwnBorderAllowed()
public java.awt.Color getBorderColor()
public java.awt.Insets getBorderInsets()
public boolean isOpaqueAllowed()
public java.awt.Font getTextFont()
public java.lang.String getUlImg()
public boolean isContentActive()
public boolean isExplicitClose()
public HintHint setContentActive(boolean active)
public HintHint setHighlighterType(boolean highlighter)
public boolean isHighlighterType()
public void initStyle(java.awt.Component c, boolean includeChildren)
public void initStyleFrom(javax.swing.JComponent component)
public HintHint setTextFg(java.awt.Color textFg)
public HintHint setTextBg(java.awt.Color textBg)
public HintHint setFont(java.awt.Font font)
public HintHint setBorderColor(java.awt.Color borderColor)
public HintHint setBorderInsets(java.awt.Insets insets)
public int getCalloutShift()
public HintHint setCalloutShift(int calloutShift)
public HintHint setExplicitClose(boolean explicitClose)
public HintHint setPositionChangeShift(int x, int y)
public int getPositionChangeX()
public int getPositionChangeY()
public boolean isShowImmediately()
public HintHint setShowImmediately(boolean showImmediately)
true
showImmediately
- true or falsepublic boolean isAnimationEnabled()
public HintHint setAnimationEnabled(boolean enabled)
enabled
- is true
by default and balloon appears with transparency animation. false
means instant opaque showing.public boolean isRequestFocus()
public HintHint setRequestFocus(boolean requestFocus)