- BalloonTip - Class in net.java.balloontip
-
A balloon tip Swing component that is attached to a JComponent and uses another JComponent as contents
- BalloonTip(JComponent, String) - Constructor for class net.java.balloontip.BalloonTip
-
Constructor
The simplest constructor, a balloon tip with some text and a default look
- BalloonTip(JComponent, String, BalloonTipStyle, boolean) - Constructor for class net.java.balloontip.BalloonTip
-
Constructor
A simple constructor for a balloon tip containing text, a custom look and optionally a close button
- BalloonTip(JComponent, JComponent, BalloonTipStyle, boolean) - Constructor for class net.java.balloontip.BalloonTip
-
Constructor
- BalloonTip(JComponent, JComponent, BalloonTipStyle, BalloonTip.Orientation, BalloonTip.AttachLocation, int, int, boolean) - Constructor for class net.java.balloontip.BalloonTip
-
Constructor
- BalloonTip(JComponent, JComponent, BalloonTipStyle, BalloonTipPositioner, JButton) - Constructor for class net.java.balloontip.BalloonTip
-
Constructor - the most customizable balloon tip constructor
- BalloonTip() - Constructor for class net.java.balloontip.BalloonTip
-
- balloonTip - Variable in class net.java.balloontip.positioners.BalloonTipPositioner
-
- BalloonTip.AttachLocation - Enum in net.java.balloontip
-
Where should the balloon's tip be located, relative to the attached component
; ALIGNED makes sure the balloon's edge is aligned with the attached component
- BalloonTip.NestedViewportListener - Class in net.java.balloontip
-
- BalloonTip.NestedViewportListener() - Constructor for class net.java.balloontip.BalloonTip.NestedViewportListener
-
- BalloonTip.Orientation - Enum in net.java.balloontip
-
Should the balloon be placed above, below, right or left of the attached component?
- BalloonTip.VisibilityControl - Class in net.java.balloontip
-
- BalloonTip.VisibilityControl() - Constructor for class net.java.balloontip.BalloonTip.VisibilityControl
-
- BalloonTipPositioner - Class in net.java.balloontip.positioners
-
A BalloonTipPositioner is used to determine the position of a BalloonTip
Note: If you change a positioner's settings, the changes may not be visible until the balloon tip is redrawn.
- BalloonTipPositioner() - Constructor for class net.java.balloontip.positioners.BalloonTipPositioner
-
Default constructor
- BalloonTipStyle - Class in net.java.balloontip.styles
-
A balloon tip style defines what a balloon tip should look like
- BalloonTipStyle() - Constructor for class net.java.balloontip.styles.BalloonTipStyle
-
- balloonToToolTip(BalloonTip, int, int) - Static method in class net.java.balloontip.utils.ToolTipUtils
-
Turns a balloon tip into a tooltip
This is done by adding a mouse listener to the attached component.
- BasicBalloonTipPositioner - Class in net.java.balloontip.positioners
-
Provides common functionality for the positioner classes
LeftAbovePositioner, LeftBelowPositioner, RightAbovePositioner and RightBelowPositioner
- BasicBalloonTipPositioner(int, int) - Constructor for class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Constructor
- getAttachedComponent() - Method in class net.java.balloontip.BalloonTip
-
Retrieve the component this balloon tip is attached to
- getAttachedRectangle() - Method in class net.java.balloontip.BalloonTip
-
Retrieves the rectangle to which this balloon tip is attached
- getAttachedRectangle() - Method in class net.java.balloontip.CustomBalloonTip
-
- getAttachLocationX() - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Returns the percentage that determines the X-coordinate of the tip within the attached component
(whereas 0.0 is the left side and 1.0 is the right side)
- getAttachLocationY() - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Returns the percentage that determines the Y-coordinate of the tip within the attached component
(whereas 0.0 is the top and 1.0 is the bottom)
- getAttachLocationY() - Method in class net.java.balloontip.positioners.CenteredPositioner
-
Returns the percentage that determines the Y-coordinate of the tip within the attached component
(whereas 0.0 is the top and 1.0 is the bottom)
- getBalloonTip() - Method in class net.java.balloontip.positioners.BalloonTipPositioner
-
Retrieve the balloon tip that uses this positioner
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.BalloonTipStyle
-
Retrieve the balloon tip's border insets
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.EdgedBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.IsometricBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.MinimalBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.ModernBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.RoundedBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.TexturedBalloonStyle
-
- getBorderInsets(Component) - Method in class net.java.balloontip.styles.ToolTipBalloonStyle
-
- getCloseButton() - Method in class net.java.balloontip.BalloonTip
-
Retrieve this balloon tip's close button
- getContents() - Method in class net.java.balloontip.BalloonTip
-
Retrieve this balloon tip's contents
- getDefaultCloseButton() - Static method in class net.java.balloontip.BalloonTip
-
Creates a default close button (without any behaviour)
- getMinimalHorizontalOffset() - Method in class net.java.balloontip.styles.BalloonTipStyle
-
Get the minimum value of the horizontal offset
(Also useful as a maximum; maximum horizontaloffset = balloon tip width - minimum horizontal offset)
- getMinimalHorizontalOffset() - Method in class net.java.balloontip.styles.MinimalBalloonStyle
-
- getMinimalHorizontalOffset() - Method in class net.java.balloontip.styles.ModernBalloonStyle
-
- getMinimalHorizontalOffset() - Method in class net.java.balloontip.styles.RoundedBalloonStyle
-
- getMinimalHorizontalOffset() - Method in class net.java.balloontip.styles.TexturedBalloonStyle
-
- getOffset() - Method in class net.java.balloontip.CustomBalloonTip
-
Get the offset within the attached component
- getOpacity() - Method in class net.java.balloontip.BalloonTip
-
Get the opacity of this balloon tip
- getPadding() - Method in class net.java.balloontip.BalloonTip
-
Get the amount of padding in this balloon tip
- getPositioner() - Method in class net.java.balloontip.BalloonTip
-
Retrieve the BalloonTipPositioner that is used by this balloon tip
- getPreferredHorizontalOffset() - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Retrieve the preferred horizontal offset (in pixels)
- getPreferredVerticalOffset() - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Retrieve the preferred vertical offset
- getPreferredVerticalOffset() - Method in class net.java.balloontip.positioners.CenteredPositioner
-
Retrieve the preferred vertical offset
- getStyle() - Method in class net.java.balloontip.BalloonTip
-
Get the balloon tip's style
- getTipLocation() - Method in class net.java.balloontip.positioners.BalloonTipPositioner
-
Find the current location of the balloon's tip, relative to the top-level container
- getTipLocation() - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
- getTipLocation() - Method in class net.java.balloontip.positioners.CenteredPositioner
-
- getTopLevelContainer() - Method in class net.java.balloontip.BalloonTip
-
Retrieve the container this balloon tip is drawn on
If the balloon tip hasn't determined this container yet, null is returned
- setAttachedComponent(JComponent) - Method in class net.java.balloontip.BalloonTip
-
Change the component this balloon tip is attached to
(The top-level container will be re-determined during this process;
if you set it manually, you'll have to set it again...)
- setAttachLocation(float, float) - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Set where the tip should be located, relative to the component the balloon is attached to.
- setAttachLocation(float, float) - Method in class net.java.balloontip.positioners.CenteredPositioner
-
Set where the tip should be located, relative to the component the balloon is attached to.
- setBalloonTip(BalloonTip) - Method in class net.java.balloontip.positioners.BalloonTipPositioner
-
This method is meant only to be used by BalloonTip!
- setBorderThickness(int) - Method in class net.java.balloontip.styles.ModernBalloonStyle
-
Set the thickness of the balloon tip's border
- setCellPosition(int, int) - Method in class net.java.balloontip.TableCellBalloonTip
-
Set the table cell the balloon tip should attach to
- setCloseButton(JButton) - Method in class net.java.balloontip.BalloonTip
-
Sets this balloon tip's close button
Note that this method will not alter the button's behaviour.
- setCloseButton(JButton, boolean) - Method in class net.java.balloontip.BalloonTip
-
Sets this balloon tip's close button and sets its behaviour to either close or hide the balloon tip
- setContents(JComponent) - Method in class net.java.balloontip.BalloonTip
-
Sets the contents of this balloon tip
(Calling this method will fire a "contents" property change event.)
- setCornerStyles(boolean, boolean, boolean, boolean) - Method in class net.java.balloontip.styles.ModernBalloonStyle
-
Sets the style for each corner.
- setCriterionAndUpdate(String, Boolean) - Method in class net.java.balloontip.BalloonTip.VisibilityControl
-
Sets the value of a particular visibility criterion and checks whether the balloon tip should still be visible or not
- setDefaultCloseButtonIcons(Icon, Icon, Icon) - Static method in class net.java.balloontip.BalloonTip
-
Set the icons for the default close button
(This only affects balloon tips created after calling this method.)
- setHorizontalOffset(int) - Method in class net.java.balloontip.styles.BalloonTipStyle
-
Sets a new value for the horizontal offset.
- setItemPosition(int) - Method in class net.java.balloontip.ListItemBalloonTip
-
Set the list item the balloon tip should attach to
- setOffset(Rectangle) - Method in class net.java.balloontip.CustomBalloonTip
-
Set the offset within the attached component
- setOpacity(float) - Method in class net.java.balloontip.BalloonTip
-
Sets the opacity of this balloon tip and repaints it
Note: Setting the opacity to 0 won't make isVisible() return false.
- setPadding(int) - Method in class net.java.balloontip.BalloonTip
-
Set the amount of padding in this balloon tip
(by attaching an empty border to the balloon tip's contents...)
- setPositioner(BalloonTipPositioner) - Method in class net.java.balloontip.BalloonTip
-
Set a new BalloonTipPositioner, repsonsible for the balloon tip's positioning
(Calling this method will fire a "positioner" property change event.)
- setPreferredHorizontalOffset(int) - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Set the preferred horizontal offset
- setPreferredVerticalOffset(int) - Method in class net.java.balloontip.positioners.BasicBalloonTipPositioner
-
Set the preferred horizontal offset
- setPreferredVerticalOffset(int) - Method in class net.java.balloontip.positioners.CenteredPositioner
-
Set the preferred horizontal offset
- setStyle(BalloonTipStyle) - Method in class net.java.balloontip.BalloonTip
-
Set the balloon tip's style
(Calling this method will fire a "style" property change event.)
- setTextContents(String) - Method in class net.java.balloontip.BalloonTip
-
Sets the contents of this balloon tip
(Calling this method will fire a "contents" property change event.)
- setTopLevelContainer(JLayeredPane) - Method in class net.java.balloontip.BalloonTip
-
Set the container on which this balloon tip should be drawn
- setTreePath(TreePath) - Method in class net.java.balloontip.TreeNodeBalloonTip
-
Set the tree node the balloon tip should attach to
- setup(JComponent, JComponent, BalloonTipStyle, BalloonTipPositioner, JButton) - Method in class net.java.balloontip.BalloonTip
-
- setupPositioner(BalloonTip.Orientation, BalloonTip.AttachLocation, int, int) - Method in class net.java.balloontip.BalloonTip
-
- setVerticalOffset(int) - Method in class net.java.balloontip.styles.BalloonTipStyle
-
Sets a new value for the vertical offset.
- setVisible(boolean) - Method in class net.java.balloontip.BalloonTip
-
Set this balloon tip's visibility
- showTimedBalloon(BalloonTip, int) - Static method in class net.java.balloontip.utils.TimingUtils
-
Displays a balloon tip for a certain time, then close it.
- showTimedBalloon(BalloonTip, int, ActionListener) - Static method in class net.java.balloontip.utils.TimingUtils
-
Displays a balloon tip for a certain time
- stateChanged(ChangeEvent) - Method in class net.java.balloontip.BalloonTip.NestedViewportListener
-
- style - Variable in class net.java.balloontip.BalloonTip
-