Documentation of 'org.jdesktop.swingx.plaf.BuddyTextFieldUI' Java class
BuddyTextFieldUI
org.jdesktop.swingx.plaf

Class BuddyTextFieldUI

  • Direct Known Subclasses:
    SearchFieldUI


    public class BuddyTextFieldUI
    extends PromptTextFieldUI

    TODO: queries the text components layout manager for the preferred size.

    • Constructor Detail

      • BuddyTextFieldUI

        public BuddyTextFieldUI(javax.swing.plaf.TextUI delegate)
        Creates a new BuddyTextFieldUI which delegates most work to another TextUI.
        Parameters:
        delegate -
    • Method Detail

      • installUI

        public void installUI(javax.swing.JComponent c)
        Description copied from class: PromptTextUI
        Calls TextUI#installUI(JComponent) on the delegate and installs a focus listener on c which repaints the component when it gains or loses the focus.
        Overrides:
        installUI in class PromptTextUI
      • uninstallUI

        public void uninstallUI(javax.swing.JComponent c)
        Description copied from class: PromptTextUI
        Delegates, then uninstalls the focus listener.
        Overrides:
        uninstallUI in class PromptTextUI
      • getPreferredSize

        public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
        TODO: comment
        Overrides:
        getPreferredSize in class PromptTextUI
        See Also:
        ComponentUI.getPreferredSize(javax.swing.JComponent)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.