Class BasicTimeZoneFieldUI

All Implemented Interfaces:
ViewFactory

public class BasicTimeZoneFieldUI extends BasicTextFieldUI
  • Field Details

    • cachedMinimumSize

      protected Dimension cachedMinimumSize
  • Constructor Details

    • BasicTimeZoneFieldUI

      public BasicTimeZoneFieldUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • getPropertyPrefix

      protected String getPropertyPrefix()
      Fetches the name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.
      Overrides:
      getPropertyPrefix in class BasicTextFieldUI
      Returns:
      the name ("TextField")
    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class BasicTextUI
    • installDefaults

      protected void installDefaults()
      Overrides:
      installDefaults in class BasicTextUI
    • getVisibleEditorRect

      protected Rectangle getVisibleEditorRect()
      Gets the allocation to give the root View. Due to an unfortunate set of historical events this method is inappropriately named. The Rectangle returned has nothing to do with visibility.
      Overrides:
      getVisibleEditorRect in class BasicTextUI
      Returns:
      the bounding box for the root view
    • paintSafely

      protected void paintSafely(Graphics g)
      Overrides:
      paintSafely in class BasicTextUI
    • createEllipsesButton

      protected JButton createEllipsesButton()
      Creates the ellipses button. Subclasses can create any button they like. The default behavior of this class is to attach various listeners to the button returned by this method. Returns an instance of BasicEllipsesButton.
    • configureEllipsesButton

      public void configureEllipsesButton()
      Configures the ellipses button by adding listeners.
    • createLayoutManager

      protected LayoutManager createLayoutManager()
    • getInsets

      protected Insets getInsets()
    • getPreferredSize

      public Dimension getPreferredSize(JComponent c)
      Overrides:
      getPreferredSize in class BasicTextUI
    • getMinimumSize

      public Dimension getMinimumSize(JComponent c)
      Overrides:
      getMinimumSize in class BasicTextUI
    • getMaximumSize

      public Dimension getMaximumSize(JComponent c)
      Overrides:
      getMaximumSize in class BasicTextUI