KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > basic > BasicTextUI

javax.swing.plaf.basic
Class BasicTextUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by javax.swing.plaf.basic.BasicTextUI
All Implemented Interfaces:
ViewFactory
Direct Known Subclasses:
BasicEditorPaneUI, BasicTextAreaUI, BasicTextFieldUI, DefaultTextUI
See Also:
Source Code, XMLEncoder, create(javax.swing.text.Element), getPropertyPrefix()

public BasicTextUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public View create(Element elem)
See Also:
ViewFactory
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public View create(Element elem,
                   int p0,
                   int p1)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Caret createCaret()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Highlighter createHighlighter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Keymap createKeymap()
See Also:
JTextComponent, getKeymapName(), getPropertyPrefix()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void damageRange(JTextComponent tc,
                        int p0,
                        int p1)
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void damageRange(JTextComponent t,
                        int p0,
                        int p1,
                        Position.Bias p0Bias,
                        Position.Bias p1Bias)
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final JTextComponent getComponent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public EditorKit getEditorKit(JTextComponent tc)
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String getKeymapName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMaximumSize(JComponent c)
See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container), JComponent.getMaximumSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMinimumSize(JComponent c)
See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent), LayoutManager.minimumLayoutSize(java.awt.Container), JComponent.getMinimumSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getNextVisualPositionFrom(JTextComponent t,
                                     int pos,
                                     Position.Bias b,
                                     int direction,
                                     Position.Bias[] biasRet)
                              throws BadLocationException
See Also:
IllegalArgumentException, TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize(JComponent c)
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container), JComponent.getPreferredSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract String getPropertyPrefix()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public View getRootView(JTextComponent tc)
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getToolTipText(JTextComponent t,
                             Point pt)
See Also:
View.getToolTipText(float, float, java.awt.Shape), JTextComponent.getToolTipText(java.awt.event.MouseEvent), TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Rectangle getVisibleEditorRect()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installDefaults()
See Also:
installUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void installUI(JComponent c)
See Also:
ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void modelChanged()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Rectangle modelToView(JTextComponent tc,
                             int pos)
                      throws BadLocationException
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Rectangle modelToView(JTextComponent tc,
                             int pos,
                             Position.Bias bias)
                      throws BadLocationException
See Also:
TextUI.modelToView(javax.swing.text.JTextComponent, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void paint(Graphics g,
                        JComponent c)
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintBackground(Graphics g)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintSafely(Graphics g)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void propertyChange(PropertyChangeEvent evt)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void setView(View v)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallDefaults()
See Also:
uninstallUI(javax.swing.JComponent), installDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void uninstallUI(JComponent c)
See Also:
ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void update(Graphics g,
                   JComponent c)
See Also:
JComponent.paintComponent(java.awt.Graphics), ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int viewToModel(JTextComponent tc,
                       Point pt)
See Also:
TextUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int viewToModel(JTextComponent tc,
                       Point pt,
                       Position.Bias[] biasReturn)
See Also:
TextUI.viewToModel(javax.swing.text.JTextComponent, java.awt.Point)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags