| javax.swing.plaf.TextUI javax.swing.plaf.basic.BasicTextUI org.netbeans.editor.BaseTextUI
Method Summary | |
public void | changedUpdate(DocumentEvent evt) The change in document notification. | public View | create(Element elem) Creates a view for an element. | public View | create(Element elem, int p0, int p1) Creates a view for an element. | public void | damageRange(JTextComponent t, int p0, int p1, Bias p0Bias, Bias p1Bias) | public int | getBaseX(int y) | public EditorKit | getEditorKit(JTextComponent c) Fetches the EditorKit for the UI. | public EditorUI | getEditorUI() Get extended UI. | public static JTextComponent | getFocusedComponent() | public int | getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) Next visually represented model location where caret can be placed. | public int | getPosFromY(int y) | protected String | getPropertyPrefix() | public int | getYFromPos(int pos) | public void | insertUpdate(DocumentEvent evt) Insert to document notification. | protected void | installKeyboardActions() | public void | installUI(JComponent c) Installs the UI for a component. | public void | invalidateStartY() | boolean | isFoldingEnabled() | protected boolean | isRootViewReplaceNecessary() | protected void | modelChanged() | public void | preferenceChanged(boolean width, boolean height) Specifies that some preference has changed. | public void | propertyChange(PropertyChangeEvent evt) This method gets called when a bound property is changed. | protected void | refresh() | public void | removeUpdate(DocumentEvent evt) Remove from document notification. | protected void | rootViewReplaceNotify() | public void | settingsChange(SettingsChangeEvent evt) | public void | uninstallUI(JComponent c) | static void | uninstallUIWatcher(JTextComponent c) | public int | viewToModel(JTextComponent c, int x, int y) |
PROP_DEFAULT_CARET_BLINK_RATE | final static String PROP_DEFAULT_CARET_BLINK_RATE(Code) | | |
componentID | int componentID(Code) | | ID of the component in registry
|
BaseTextUI | public BaseTextUI()(Code) | | |
changedUpdate | public void changedUpdate(DocumentEvent evt)(Code) | | The change in document notification.
Parameters: evt - The change notification from the currently associated document. |
create | public View create(Element elem)(Code) | | Creates a view for an element.
Parameters: elem - the element the newly created view or null |
create | public View create(Element elem, int p0, int p1)(Code) | | Creates a view for an element.
Parameters: elem - the element Parameters: p0 - the starting offset >= 0 Parameters: p1 - the ending offset >= p0 the view |
damageRange | public void damageRange(JTextComponent t, int p0, int p1, Bias p0Bias, Bias p1Bias)(Code) | | |
getBaseX | public int getBaseX(int y)(Code) | | |
getEditorUI | public EditorUI getEditorUI()(Code) | | Get extended UI. This is called from views to get correct extended UI.
|
installKeyboardActions | protected void installKeyboardActions()(Code) | | |
installUI | public void installUI(JComponent c)(Code) | | Installs the UI for a component.
|
invalidateStartY | public void invalidateStartY()(Code) | | |
isFoldingEnabled | boolean isFoldingEnabled()(Code) | | |
isRootViewReplaceNecessary | protected boolean isRootViewReplaceNecessary()(Code) | | |
modelChanged | protected void modelChanged()(Code) | | Called when the model of component is changed
|
preferenceChanged | public void preferenceChanged(boolean width, boolean height)(Code) | | Specifies that some preference has changed.
|
propertyChange | public void propertyChange(PropertyChangeEvent evt)(Code) | | This method gets called when a bound property is changed.
We are looking for document changes on the component.
|
refresh | protected void refresh()(Code) | | |
removeUpdate | public void removeUpdate(DocumentEvent evt)(Code) | | Remove from document notification.
|
rootViewReplaceNotify | protected void rootViewReplaceNotify()(Code) | | |
uninstallUI | public void uninstallUI(JComponent c)(Code) | | Deinstalls the UI for a component
|
Methods inherited from javax.swing.plaf.basic.BasicTextUI | public View create(Element elem)(Code)(Java Doc) public View create(Element elem, int p0, int p1)(Code)(Java Doc) protected Caret createCaret()(Code)(Java Doc) protected Highlighter createHighlighter()(Code)(Java Doc) protected Keymap createKeymap()(Code)(Java Doc) public void damageRange(JTextComponent tc, int p0, int p1)(Code)(Java Doc) public void damageRange(JTextComponent t, int p0, int p1, Position.Bias p0Bias, Position.Bias p1Bias)(Code)(Java Doc) final protected JTextComponent getComponent()(Code)(Java Doc) public EditorKit getEditorKit(JTextComponent tc)(Code)(Java Doc) protected String getKeymapName()(Code)(Java Doc) public Dimension getMaximumSize(JComponent c)(Code)(Java Doc) public Dimension getMinimumSize(JComponent c)(Code)(Java Doc) public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException(Code)(Java Doc) public Dimension getPreferredSize(JComponent c)(Code)(Java Doc) abstract protected String getPropertyPrefix()(Code)(Java Doc) public View getRootView(JTextComponent tc)(Code)(Java Doc) public String getToolTipText(JTextComponent t, Point pt)(Code)(Java Doc) protected Rectangle getVisibleEditorRect()(Code)(Java Doc) protected void installDefaults()(Code)(Java Doc) protected void installKeyboardActions()(Code)(Java Doc) protected void installListeners()(Code)(Java Doc) public void installUI(JComponent c)(Code)(Java Doc) protected void modelChanged()(Code)(Java Doc) public Rectangle modelToView(JTextComponent tc, int pos) throws BadLocationException(Code)(Java Doc) public Rectangle modelToView(JTextComponent tc, int pos, Position.Bias bias) throws BadLocationException(Code)(Java Doc) final public void paint(Graphics g, JComponent c)(Code)(Java Doc) protected void paintBackground(Graphics g)(Code)(Java Doc) protected void paintSafely(Graphics g)(Code)(Java Doc) protected void propertyChange(PropertyChangeEvent evt)(Code)(Java Doc) final protected void setView(View v)(Code)(Java Doc) protected void uninstallDefaults()(Code)(Java Doc) protected void uninstallKeyboardActions()(Code)(Java Doc) protected void uninstallListeners()(Code)(Java Doc) public void uninstallUI(JComponent c)(Code)(Java Doc) public void update(Graphics g, JComponent c)(Code)(Java Doc) public int viewToModel(JTextComponent tc, Point pt)(Code)(Java Doc) public int viewToModel(JTextComponent tc, Point pt, Position.Bias[] biasReturn)(Code)(Java Doc)
|
Methods inherited from javax.swing.plaf.TextUI | abstract public void damageRange(JTextComponent t, int p0, int p1)(Code)(Java Doc) abstract public void damageRange(JTextComponent t, int p0, int p1, Position.Bias firstBias, Position.Bias secondBias)(Code)(Java Doc) abstract public EditorKit getEditorKit(JTextComponent t)(Code)(Java Doc) abstract public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException(Code)(Java Doc) abstract public View getRootView(JTextComponent t)(Code)(Java Doc) public String getToolTipText(JTextComponent t, Point pt)(Code)(Java Doc) abstract public Rectangle modelToView(JTextComponent t, int pos) throws BadLocationException(Code)(Java Doc) abstract public Rectangle modelToView(JTextComponent t, int pos, Position.Bias bias) throws BadLocationException(Code)(Java Doc) abstract public int viewToModel(JTextComponent t, Point pt)(Code)(Java Doc) abstract public int viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn)(Code)(Java Doc)
|
|
|