| javax.swing.plaf.TextUI javax.swing.plaf.basic.BasicTextUI
All known Subclasses: javax.swing.plaf.basic.BasicTextAreaUI, javax.swing.plaf.basic.TextCompUI, javax.swing.plaf.basic.BasicEditorPaneUI, javax.swing.plaf.basic.BasicTextFieldUI,
Constructor Summary | |
public | BasicTextUI() Creates parent of all view hierarchy. |
Method Summary | |
final String | addPrefix(String property) | public View | create(Element elem) | public View | create(Element elem, int p0, int p1) | protected Caret | createCaret() | protected Highlighter | createHighlighter() | protected Keymap | createKeymap() | public void | damageRange(JTextComponent c, int p0, int p1) | public void | damageRange(JTextComponent c, int p0, int p1, Position.Bias b1, Position.Bias b2) Calculates rectangle(r, for example), corresponding these position and
biases. | final protected JTextComponent | getComponent() | final Set<AWTKeyStroke> | getDefaultFocusTraversalKeys(int mode) | public EditorKit | getEditorKit(JTextComponent comp) | final boolean | getI18nProperty() | protected String | getKeymapName() | public Dimension | getMaximumSize(JComponent c) | public Dimension | getMinimumSize(JComponent c) | public int | getNextVisualPositionFrom(JTextComponent c, int p0, Position.Bias bias, int p1, Position.Bias[] biasRet) Calls getNextVisualPosition on root view. | public Dimension | getPreferredSize(JComponent c) | abstract protected String | getPropertyPrefix() | public View | getRootView(JTextComponent c) | public String | getToolTipText(JTextComponent c, Point p) | protected Rectangle | getVisibleEditorRect() Returns, component getSize, excluding insets. | protected void | installDefaults() | protected void | installKeyboardActions() Sets InputMap(JComponent.WHEN_FOCUSED), ActionMap, Keymap on
TextComponent. | protected void | installListeners() | public void | installUI(JComponent c) | final void | installUIActionMap() | final void | installUIInputMap() | protected void | modelChanged() Rebuilts view hierarchy. | public Rectangle | modelToView(JTextComponent c, int p) | public Rectangle | modelToView(JTextComponent comp, int p, Position.Bias b) | final public void | paint(Graphics g, JComponent c) | protected void | paintBackground(Graphics g) | protected void | paintSafely(Graphics g) | protected void | propertyChange(PropertyChangeEvent e) | void | propertyChangeImpl(PropertyChangeEvent e) | final void | putActionToActionMap(Action a, ActionMap map) | final protected void | setView(View v) | protected void | uninstallDefaults() | protected void | uninstallKeyboardActions() Sets ActionMap and Keymap of TextComponent to null. | protected void | uninstallListeners() | public void | uninstallUI(JComponent c) | public void | update(Graphics g, JComponent c) | final void | updateFocusAcceleratorBinding(boolean changed) | void | updateFocusTraversalKeys() | public int | viewToModel(JTextComponent c, Point p) | public int | viewToModel(JTextComponent c, Point p, Position.Bias[] b) |
BasicTextUI | public BasicTextUI()(Code) | | Creates parent of all view hierarchy.
|
damageRange | public void damageRange(JTextComponent c, int p0, int p1, Position.Bias b1, Position.Bias b2)(Code) | | Calculates rectangle(r, for example), corresponding these position and
biases. Then call component.repaint(r.x, r.y, r.width, r.height)
|
getI18nProperty | final boolean getI18nProperty()(Code) | | |
getMinimumSize | public Dimension getMinimumSize(JComponent c)(Code) | | Uses getMinimumSpan of View Hierarchy and getInsets of TextComponent
|
getPreferredSize | public Dimension getPreferredSize(JComponent c)(Code) | | Uses getPrefferedSpan of View Hierarchy and getInsets of TextComponent
|
getPropertyPrefix | abstract protected String getPropertyPrefix()(Code) | | |
getVisibleEditorRect | protected Rectangle getVisibleEditorRect()(Code) | | Returns, component getSize, excluding insets.
|
installDefaults | protected void installDefaults()(Code) | | |
installKeyboardActions | protected void installKeyboardActions()(Code) | | Sets InputMap(JComponent.WHEN_FOCUSED), ActionMap, Keymap on
TextComponent.
|
installListeners | protected void installListeners()(Code) | | |
installUIActionMap | final void installUIActionMap()(Code) | | |
installUIInputMap | final void installUIInputMap()(Code) | | |
modelChanged | protected void modelChanged()(Code) | | Rebuilts view hierarchy.
|
setView | final protected void setView(View v)(Code) | | Replaces child of the root view
|
uninstallDefaults | protected void uninstallDefaults()(Code) | | |
uninstallKeyboardActions | protected void uninstallKeyboardActions()(Code) | | Sets ActionMap and Keymap of TextComponent to null.
|
uninstallListeners | protected void uninstallListeners()(Code) | | |
updateFocusAcceleratorBinding | final void updateFocusAcceleratorBinding(boolean changed)(Code) | | |
updateFocusTraversalKeys | void updateFocusTraversalKeys()(Code) | | |
Methods inherited from javax.swing.plaf.TextUI | abstract public void damageRange(JTextComponent a0, int a1, int a2)(Code)(Java Doc) abstract public void damageRange(JTextComponent a0, int a1, int a2, Position.Bias a3, Position.Bias a4)(Code)(Java Doc) abstract public EditorKit getEditorKit(JTextComponent a0)(Code)(Java Doc) abstract public int getNextVisualPositionFrom(JTextComponent a0, int a1, Position.Bias a2, int a3, Position.Bias[] a4) throws BadLocationException(Code)(Java Doc) abstract public View getRootView(JTextComponent a0)(Code)(Java Doc) public String getToolTipText(JTextComponent a0, Point a1)(Code)(Java Doc) abstract public Rectangle modelToView(JTextComponent a0, int a1) throws BadLocationException(Code)(Java Doc) abstract public Rectangle modelToView(JTextComponent a0, int a1, Position.Bias a2) throws BadLocationException(Code)(Java Doc) abstract public int viewToModel(JTextComponent a0, Point a1)(Code)(Java Doc) abstract public int viewToModel(JTextComponent a0, Point a1, Position.Bias[] a2)(Code)(Java Doc)
|
|
|