com.alee.laf.text
Class WebFormattedTextFieldUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by javax.swing.plaf.basic.BasicTextUI
              extended by javax.swing.plaf.basic.BasicTextFieldUI
                  extended by com.alee.laf.text.WebTextFieldUI
                      extended by com.alee.laf.text.WebFormattedTextFieldUI
All Implemented Interfaces:
ShapeProvider, BorderMethods, SwingMethods, javax.swing.SwingConstants, javax.swing.text.ViewFactory

public class WebFormattedTextFieldUI
extends WebTextFieldUI

Custom UI for JFormattedTextField component.

Author:
Mikle Garin

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
 
Field Summary
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
WebFormattedTextFieldUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the WebFormattedTextFieldUI for the specified component.
protected  java.lang.String getPropertyPrefix()
          
 
Methods inherited from class com.alee.laf.text.WebTextFieldUI
getFieldMargin, getInputPrompt, getInputPromptFont, getInputPromptForeground, getInputPromptPosition, getLeadingComponent, getPainter, getPreferredSize, getRound, getShadeWidth, getTrailingComponent, installUI, isDrawBackground, isDrawBorder, isDrawFocus, isDrawShade, isHideInputPromptOnFocus, isWebColored, paintBackground, paintSafely, provideShape, setDrawBackground, setDrawBorder, setDrawFocus, setDrawShade, setFieldMargin, setHideInputPromptOnFocus, setInputPrompt, setInputPromptFont, setInputPromptForeground, setInputPromptPosition, setLeadingComponent, setPainter, setRound, setShadeWidth, setTrailingComponent, setWebColored, uninstallUI, updateBorder
 
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, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, update, viewToModel, viewToModel
 
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

WebFormattedTextFieldUI

public WebFormattedTextFieldUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Returns an instance of the WebFormattedTextFieldUI for the specified component. This tricky method is used by UIManager to create component UIs when needed.

Parameters:
c - component that will use UI instance
Returns:
instance of the WebFormattedTextFieldUI

getPropertyPrefix

protected java.lang.String getPropertyPrefix()

Overrides:
getPropertyPrefix in class javax.swing.plaf.basic.BasicTextFieldUI