Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| public static final int | padSpaceBetweenStrings
The space between strings. |
| pack-priv static MetalToolTipUI | |
| private Font | |
| private JToolTip |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public static ComponentUI | Returns: an instance of theMetalToolTipUI.a component c)Hides javax. Returns an instance of the |
| private String | |
| public String | |
| public Dimension | getPreferredSize(JComponent c)
Overrides javax. Returns the specified component's preferred size appropriate for the look and feel. |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| protected boolean | Returns: true if the accelerator is hidden.If the accelerator is hidden, the method returns |
| public void | paint(Graphics g, JComponent c)
Overrides javax. Paints the specified component appropriately for the look and feel. |
| public void | uninstallUI(JComponent c)
Overrides javax. Reverses configuration which was done on the specified component during
|
| acceleratorDelimiter | back to summary |
|---|---|
| private String acceleratorDelimiter | |
| padSpaceBetweenStrings | back to summary |
|---|---|
| public static final int padSpaceBetweenStrings The space between strings. | |
| sharedInstance | back to summary |
|---|---|
| pack-priv static MetalToolTipUI sharedInstance | |
| smallFont | back to summary |
|---|---|
| private Font smallFont | |
| tip | back to summary |
|---|---|
| private JToolTip tip | |
| MetalToolTipUI | back to summary |
|---|---|
| public MetalToolTipUI() Constructs an instance of the | |
| calcAccelSpacing | back to summary |
|---|---|
| private int calcAccelSpacing(JComponent c, FontMetrics fm, String accel) | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Returns an instance of the
| |
| getAcceleratorString | back to summary |
|---|---|
| private String getAcceleratorString(JToolTip tip) | |
| getAcceleratorString | back to summary |
|---|---|
| public String getAcceleratorString() Returns the accelerator string.
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's preferred size appropriate for
the look and feel. If | |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| isAcceleratorHidden | back to summary |
|---|---|
| protected boolean isAcceleratorHidden() If the accelerator is hidden, the method returns
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, JComponent c) Overrides javax. Doc from javax. Paints the specified component appropriately for the look and feel.
This method is invoked from the | |
| uninstallUI | back to summary |
|---|---|
| public void uninstallUI(JComponent c) Overrides javax. Doc from javax. Reverses configuration which was done on the specified component during
| |