JIDE 3.5.15

com.jidesoft.tooltip
Class BalloonTipUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ToolTipUI
          extended by com.jidesoft.tooltip.BalloonTipUI

public class BalloonTipUI
extends ToolTipUI

The UI for BalloonTip.


Field Summary
protected  BalloonTip _balloonTip
           
 
Constructor Summary
BalloonTipUI(BalloonTip balloonTip)
          Creates a new instance of BalloonTipUI
 
Method Summary
 Dimension getBalloonPreferredSize()
           
 Dimension getBalloonSize()
           
 Point getHotSpot()
           
 Dimension getPreferredSize(JComponent c)
          Get the preferred size of BalloonTip, used by BalloonPopup to determine the initial size of the popup.
 void installUI(JComponent c)
           
protected  void setContent(Component content)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_balloonTip

protected BalloonTip _balloonTip
Constructor Detail

BalloonTipUI

public BalloonTipUI(BalloonTip balloonTip)
Creates a new instance of BalloonTipUI

Parameters:
balloonTip - the balloon tip.
Method Detail

getBalloonSize

public Dimension getBalloonSize()

getHotSpot

public Point getHotSpot()

getBalloonPreferredSize

public Dimension getBalloonPreferredSize()

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

setContent

protected void setContent(Component content)

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Get the preferred size of BalloonTip, used by BalloonPopup to determine the initial size of the popup.

Overrides:
getPreferredSize in class ComponentUI
Returns:
The preferredSize of the BalloonTip.

JIDE 3.5.15