Package com.formdev.flatlaf.ui
Class FlatFormattedTextFieldUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextFieldUI
-
- com.formdev.flatlaf.ui.FlatTextFieldUI
-
- com.formdev.flatlaf.ui.FlatFormattedTextFieldUI
-
- All Implemented Interfaces:
javax.swing.text.ViewFactory
public class FlatFormattedTextFieldUI extends FlatTextFieldUI
Provides the Flat LaF UI delegate forJFormattedTextField.- 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, TextComponent.selectAllOnMouseClick boolean
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.ui.FlatTextFieldUI
isIntelliJTheme, minimumWidth, placeholderForeground
-
-
Constructor Summary
Constructors Constructor Description FlatFormattedTextFieldUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)protected java.lang.StringgetPropertyPrefix()-
Methods inherited from class com.formdev.flatlaf.ui.FlatTextFieldUI
createCaret, getMinimumSize, getPreferredSize, installDefaults, installListeners, paintBackground, paintSafely, propertyChange, uninstallDefaults, uninstallListeners
-
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
-
-