API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. DefaultTextUI View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ComponentUI
          TextUI
              BasicTextUI
                  DefaultTextUI
Implements
Subclasses
Description
@Deprecated
publicabstract abstract class DefaultTextUI
  This class has been deprecated and should no longer be used.
See also:   
Constructors
public DefaultTextUI ()
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 BasicTextUI]
  Creates a view for an element.
public View create (Element elem, int p0, int p1) [Inherited From BasicTextUI]
  Creates a view for an element.
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) [Inherited From ComponentUI]
  Returns an instance of the UI delegate for the specified component.
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.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he 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.
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.
protectedabstract String getPropertyPrefix () [Inherited From BasicTextUI]
  Gets the name used as a key to look up 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.
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.
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
Nested Classes
  BasicTextUI.BasicCaret
  BasicTextUI.BasicHighlighter
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar