Class FlatToolTipUI

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener

    public class FlatToolTipUI
    extends javax.swing.plaf.basic.BasicToolTipUI
    implements java.beans.PropertyChangeListener
    Provides the Flat LaF UI delegate for JToolTip.
    • Constructor Summary

      Constructors 
      Constructor Description
      FlatToolTipUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)  
      protected void installListeners​(javax.swing.JComponent c)  
      void installUI​(javax.swing.JComponent c)  
      private boolean isMultiLine​(javax.swing.JComponent c)  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      void propertyChange​(java.beans.PropertyChangeEvent e)  
      protected void uninstallListeners​(javax.swing.JComponent c)  
      • Methods inherited from class javax.swing.plaf.basic.BasicToolTipUI

        getMaximumSize, getMinimumSize, installDefaults, uninstallDefaults, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlatToolTipUI

        public FlatToolTipUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicToolTipUI
      • installListeners

        protected void installListeners​(javax.swing.JComponent c)
        Overrides:
        installListeners in class javax.swing.plaf.basic.BasicToolTipUI
      • uninstallListeners

        protected void uninstallListeners​(javax.swing.JComponent c)
        Overrides:
        uninstallListeners in class javax.swing.plaf.basic.BasicToolTipUI
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent e)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Since:
        2.0.1
      • getPreferredSize

        public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
        Overrides:
        getPreferredSize in class javax.swing.plaf.basic.BasicToolTipUI
      • paint

        public void paint​(java.awt.Graphics g,
                          javax.swing.JComponent c)
        Overrides:
        paint in class javax.swing.plaf.basic.BasicToolTipUI
      • isMultiLine

        private boolean isMultiLine​(javax.swing.JComponent c)