Class FlatFormattedTextFieldUI

  • All Implemented Interfaces:
    javax.swing.text.ViewFactory

    public class FlatFormattedTextFieldUI
    extends FlatTextFieldUI
    Provides the Flat LaF UI delegate for JFormattedTextField.
    UiDefault:
    FormattedTextField.font Font, FormattedTextField.background Color, FormattedTextField.foreground Color also used if not editable, FormattedTextField.caretForeground Color, FormattedTextField.selectionBackground Color, FormattedTextField.selectionForeground Color, FormattedTextField.disabledBackground Color used if not enabled, FormattedTextField.inactiveBackground Color used if not editable, FormattedTextField.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground), FormattedTextField.border Border, FormattedTextField.margin Insets, FormattedTextField.caretBlinkRate int default is 500 milliseconds , TextComponent.arc int, Component.focusWidth int, Component.minimumWidth int, Component.isIntelliJTheme boolean, FormattedTextField.placeholderForeground Color, TextComponent.selectAllOnFocusPolicy String never, once (default) or always
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI

        javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter
    • 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)  
      protected java.lang.String getPropertyPrefix()  
      • Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI

        create, getBaseline, getBaselineResizeBehavior
      • Methods inherited from class javax.swing.plaf.basic.BasicTextUI

        create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, setView, uninstallKeyboardActions, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
      • Methods inherited from class javax.swing.plaf.TextUI

        getToolTipText2D
      • Methods inherited from class javax.swing.plaf.ComponentUI

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

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

      • FlatFormattedTextFieldUI

        public FlatFormattedTextFieldUI()
    • Method Detail

      • createUI

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

        protected java.lang.String getPropertyPrefix()
        Overrides:
        getPropertyPrefix in class javax.swing.plaf.basic.BasicTextFieldUI