API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicFormattedTextFieldUI View Source
Author(s)
Since
1.4
Version
1.5 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          TextUI
              BasicTextUI
                  BasicTextFieldUI
                      BasicFormattedTextFieldUI
Implements
Subclasses
Description
public class BasicFormattedTextFieldUI
  Provides the look and feel implementation for JFormattedTextField.
See also:   
Constructors
public BasicFormattedTextFieldUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
public View create (Element elem) [Inherited From BasicTextFieldUI]
  Creates a view (FieldView) based on an element.
public View create (Element elem, int p0, int p1) [Inherited From BasicTextUI]
  Creates a view for an element.
pack-private ActionMap createActionMap () [Inherited From BasicTextUI]
  Create a default action map.
protected Caret createCaret () [Inherited From BasicTextUI]
  Creates the object to use for a caret.
protected Highlighter createHighlighter () [Inherited From BasicTextUI]
  Creates the object to use for adding highlights.
protected Keymap createKeymap () [Inherited From BasicTextUI]
  Creates the keymap to use for the text component, and installs any necessary bindings into it.
publicstatic ComponentUI createUI (JComponent c) [Overrides BasicTextFieldUI]
  Creates a UI for a JFormattedTextField.
public void damageRange (JTextComponent tc, int p0, int p1) [Inherited From BasicTextUI] [Specified in TextUI]
  Causes the portion of the view responsible for the given part of the model to be repainted.
public void damageRange (JTextComponent t, int p0, int p1, Bias p0Bias, Bias p1Bias) [Inherited From BasicTextUI] [Specified in TextUI]
  Causes the portion of the view responsible for the given part of the model to be repainted.
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
pack-private ActionMap getActionMap () [Inherited From BasicTextUI]
Fetch an action map to use.
public int getBaseline (JComponent c, int width, int height) [Inherited From BasicTextFieldUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From BasicTextFieldUI]
  Returns an enum indicating how the baseline of the component changes as the size changes.
protectedfinal JTextComponent getComponent () [Inherited From BasicTextUI]
  Fetches the text component associated with this UI implementation.
public EditorKit getEditorKit (JTextComponent tc) [Inherited From BasicTextUI] [Specified in TextUI]
  Fetches the EditorKit for the UI.
pack-private InputMap getInputMap () [Inherited From BasicTextUI]
Get the InputMap to use for the UI.
protected String getKeymapName () [Inherited From BasicTextUI]
  Fetches the name of the keymap that will be installed/used by default for this UI.
public Dimension getMaximumSize (JComponent c) [Inherited From BasicTextUI]
  Gets the maximum size for the editor component.
public Dimension getMinimumSize (JComponent c) [Inherited From BasicTextUI]
  Gets the minimum size for the editor component.
public int getNextVisualPositionFrom (JTextComponent t, int pos, Bias b, int direction, Bias biasRet) throws BadLocationException [Inherited From BasicTextUI] [Specified in TextUI]
  Provides a way to determine the next visually represented model location that one might place a caret.
public Dimension getPreferredSize (JComponent c) [Inherited From BasicTextUI]
  Gets the preferred size for the editor component.
protected String getPropertyPrefix () [Overrides BasicTextFieldUI] [Specified in BasicTextUI]
  Fetches the name used as a key to lookup properties through the UIManager.
public View getRootView (JTextComponent tc) [Inherited From BasicTextUI] [Specified in TextUI]
  Fetches a View with the allocation of the associated text component (i.e.
public String getToolTipText (JTextComponent t, Point pt) [Inherited From BasicTextUI]
  Returns the string to be used as the tooltip at the passed in location.
pack-private TransferHandler getTransferHandler () [Inherited From BasicTextUI]
Returns the TransferHandler that will be installed if their isn't one installed on the JTextComponent.
protected Rectangle getVisibleEditorRect () [Inherited From BasicTextUI]
  Gets the allocation to give the root View.
protected void installDefaults () [Inherited From BasicTextUI]
  Initializes component properties, e.g.
protected void installKeyboardActions () [Inherited From BasicTextUI]
protected void installListeners () [Inherited From BasicTextUI]
Installs listeners for the UI.
public void installUI (JComponent c) [Inherited From BasicTextUI]
  Installs the UI for a component.
protected void modelChanged () [Inherited From BasicTextUI]
  Flags model changes.
public Rectangle modelToView (JTextComponent tc, int pos) throws BadLocationException [Inherited From BasicTextUI] [Specified in TextUI]
  Converts the given location in the model to a place in the view coordinate system.
public Rectangle modelToView (JTextComponent tc, int pos, Bias bias) throws BadLocationException [Inherited From BasicTextUI] [Specified in TextUI]
  Converts the given location in the model to a place in the view coordinate system.
publicfinal void paint (Graphics g, JComponent c) [Inherited From BasicTextUI]
  Paints the interface.
protected void paintBackground (Graphics g) [Inherited From BasicTextUI]
  Paints a background for the view.
protected void paintSafely (Graphics g) [Inherited From BasicTextUI]
  Paints the interface safely with a guarantee that the model won't change from the view of this thread.
protected void propertyChange (PropertyChangeEvent evt) [Inherited From BasicTextUI]
  This method gets called when a bound property is changed on the associated JTextComponent.
protectedfinal void setView (View v) [Inherited From BasicTextUI]
  Sets the current root of the view hierarchy and calls invalidate().
protected void uninstallDefaults () [Inherited From BasicTextUI]
  Sets the component properties that haven't been explicitly overridden to null.
protected void uninstallKeyboardActions () [Inherited From BasicTextUI]
protected void uninstallListeners () [Inherited From BasicTextUI]
Uninstalls listeners for the UI.
public void uninstallUI (JComponent c) [Inherited From BasicTextUI]
  Deinstalls the UI for a component.
public void update (Graphics g, JComponent c) [Inherited From BasicTextUI]
  Superclass paints background in an uncontrollable way (i.e.
pack-private void updateFocusAcceleratorBinding (boolean changed) [Inherited From BasicTextUI]
Invoked when the focus accelerator changes, this will update the key bindings as necessary.
pack-private void updateFocusTraversalKeys () [Inherited From BasicTextUI]
  Invoked when editable property is changed.
public int viewToModel (JTextComponent tc, Point pt) [Inherited From BasicTextUI] [Specified in TextUI]
  Converts the given place in the view coordinate system to the nearest representative location in the model.
public int viewToModel (JTextComponent tc, Point pt, Bias biasReturn) [Inherited From BasicTextUI] [Specified in TextUI]
  Converts the given place in the view coordinate system to the nearest representative location in the model.
Fields
Hide/Show inherited fields
pack-privatetransient JTextComponent editor [Inherited From BasicTextUI]
pack-privatetransient boolean painted [Inherited From BasicTextUI]
pack-privatetransient RootView rootView [Inherited From BasicTextUI]
pack-privatetransient UpdateHandler updateHandler [Inherited From BasicTextUI]
Nested Classes
  BasicTextFieldUI.I18nFieldView
A field view that support bidirectional text via the support provided by ParagraphView.
  BasicTextUI.BasicCaret
  BasicTextUI.BasicHighlighter
  BasicTextUI.BasicCursor
  BasicTextUI.RootView
Root view that acts as a gateway between the component and the View hierarchy.
  BasicTextUI.UpdateHandler
Handles updates from various places.
  BasicTextUI.TextActionWrapper
Wrapper for text actions to return isEnabled false in case editor is non editable
  BasicTextUI.FocusAction
Registered in the ActionMap.
  BasicTextUI.DragListener
Listens for mouse events for the purposes of detecting drag gestures.
  BasicTextUI.TextTransferHandler
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar