Package mdlaf.components.textfield
Class MaterialTextFieldUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextFieldUI
-
- mdlaf.components.textfield.MaterialComponentField
-
- mdlaf.components.textfield.MaterialTextFieldUI
-
- All Implemented Interfaces:
javax.swing.text.ViewFactory
public class MaterialTextFieldUI extends MaterialComponentField
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mdlaf.components.textfield.MaterialComponentField
MaterialComponentField.FocusListenerColorLine, MaterialComponentField.MaterialPropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringProprietyPrefix-
Fields inherited from class mdlaf.components.textfield.MaterialComponentField
activeBackground, activeForeground, background, colorLine, colorLineActive, colorLineInactive, disabledBackground, disabledForeground, drawLine, focused, focusListenerColorLine, foreground, inactiveBackground, inactiveForeground, PROPERTY_ENABLED_COMPONENT, PROPERTY_LINE_COLOR, PROPERTY_SELECTION_COLOR, PROPERTY_SELECTION_TEXT_COLOR, propertyChangeListener, propertyChangeSupport, textComponent
-
-
Constructor Summary
Constructors Constructor Description MaterialTextFieldUI()MaterialTextFieldUI(boolean drawLine)
-
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()protected voidinstallDefaults()protected voidinstallListeners()voidinstallUI(javax.swing.JComponent c)voidpaintSafely(java.awt.Graphics g)protected voiduninstallDefaults()protected voiduninstallListeners()voiduninstallUI(javax.swing.JComponent c)-
Methods inherited from class mdlaf.components.textfield.MaterialComponentField
changeColorOnFocus, firePropertyChange, installMyDefaults, logicForChangeColorOnFocus, logicForPropertyChange, paintLine
-
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
create, getBaseline, getBaselineResizeBehavior
-
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, propertyChange, setView, uninstallKeyboardActions, update, viewToModel, viewToModel, viewToModel2D
-
-
-
-
Field Detail
-
ProprietyPrefix
protected static final java.lang.String ProprietyPrefix
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyPrefix
protected java.lang.String getPropertyPrefix()
- Overrides:
getPropertyPrefixin classjavax.swing.plaf.basic.BasicTextFieldUI
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.basic.BasicTextUI
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaultsin classjavax.swing.plaf.basic.BasicTextUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin classjavax.swing.plaf.basic.BasicTextUI
-
uninstallDefaults
protected void uninstallDefaults()
- Overrides:
uninstallDefaultsin classjavax.swing.plaf.basic.BasicTextUI
-
installListeners
protected void installListeners()
- Overrides:
installListenersin classjavax.swing.plaf.basic.BasicTextUI
-
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListenersin classjavax.swing.plaf.basic.BasicTextUI
-
paintSafely
public void paintSafely(java.awt.Graphics g)
- Overrides:
paintSafelyin classjavax.swing.plaf.basic.BasicTextUI
-
-