Lines Matching refs:JTextComponent

79  * <code>JTextComponent</code> is the base class for swing text
134 * <code>TextAction</code> can determine which <code>JTextComponent</code>
143 * <code>JTextComponent</code> is an <em>active client</em> of
180 * <td headers="ime">input method handling in JTextComponent</tr>
197 * that is shared by all JTextComponent instances as the default keymap.
303 public abstract class JTextComponent extends JComponent implements Scrollable, Accessible
306 * Creates a new <code>JTextComponent</code>.
312 public JTextComponent() {
765 public TransferHandler.DropLocation dropLocationForPoint(JTextComponent textComp,
770 public Object setDropLocation(JTextComponent textComp,
1160 * JTextComponent. A code fragment to accomplish
1164 * static final JTextComponent.KeyBinding[] defaultBindings = {
1165 * new JTextComponent.KeyBinding(
1168 * new JTextComponent.KeyBinding(
1171 * new JTextComponent.KeyBinding(
1176 * JTextComponent c = new JTextPane();
1178 * JTextComponent.loadKeymap(k, defaultBindings, c.getActions());
1203 * Returns true if <code>klass</code> is NOT a JTextComponent and it or
1204 * one of its superclasses (stoping at JTextComponent) overrides
1207 * assumed <code>klass</code> extends <code>JTextComponent</code>.
1210 if (klass == JTextComponent.class) {
1393 UIManager.getLookAndFeel().provideErrorFeedback(JTextComponent.this);
1725 UIManager.getLookAndFeel().provideErrorFeedback(JTextComponent.this);
1950 * By default <code>JTextComponent</code> does not register
2104 * prints this {@code JTextComponent} in <i>interactive</i> mode with no
2130 * prints this {@code JTextComponent} in <i>interactive</i> mode with
2159 * Prints the content of this {@code JTextComponent}. Note: this method
2221 * dialog and then prints the {@code JTextComponent} in <i>interactive</i> mode
2443 * {@code JTextComponent}. The returned {@code Printable} prints
2453 * {@code JTextComponent}. It is the responsibility of the developer to
2490 * {@code JTextComponent}
2513 * <code>JTextComponent</code>. For text components,
2521 * <code>JTextComponent</code>
2532 * <code>JTextComponent</code> class. It provides an implementation of
2557 Document doc = JTextComponent.this.getDocument();
2561 JTextComponent.this.addCaretListener(this);
2573 JTextComponent.this.addComponentListener(new ComponentAdapter() {
2688 * Gets the state set of the JTextComponent.
2702 if (JTextComponent.this.isEditable()) {
2752 return JTextComponent.this.viewToModel(p);
2763 Rectangle alloc = JTextComponent.this.getBounds();
2766 Insets insets = JTextComponent.this.getInsets();
2783 * if the JTextComponent is contained in a JScrollPane in which
2796 * Note: the JTextComponent must have a valid size (e.g. have
2821 View rootView = ui.getRootView(JTextComponent.this);
2861 return JTextComponent.this.getCaretPosition();
2899 return JTextComponent.this.getSelectionStart();
2912 return JTextComponent.this.getSelectionEnd();
2921 return JTextComponent.this.getSelectedText();
3154 JTextComponent.this.setText(s);
3166 Document doc = JTextComponent.this.getDocument();
3177 UIManager.getLookAndFeel().provideErrorFeedback(JTextComponent.this);
3196 Document doc = JTextComponent.this.getDocument();
3224 UIManager.getLookAndFeel().provideErrorFeedback(JTextComponent.this);
3237 JTextComponent.this.cut();
3249 JTextComponent.this.paste();
3263 JTextComponent.this.replaceSelection(s);
3274 JTextComponent.this.select(startIndex, endIndex);
3290 Document doc = JTextComponent.this.getDocument();
3415 Utilities.getRowStart(JTextComponent.this, index);
3417 Utilities.getRowEnd(JTextComponent.this, index);
3426 Utilities.getRowEnd(JTextComponent.this,
3429 Utilities.getRowStart(JTextComponent.this,
3441 Utilities.getRowStart(JTextComponent.this,
3444 Utilities.getRowEnd(JTextComponent.this,
3705 View rootView = ui.getRootView(JTextComponent.this);
3742 Action [] actions = JTextComponent.this.getActions();
3755 Action [] actions = JTextComponent.this.getActions();
3771 Action [] actions = JTextComponent.this.getActions();
3776 new ActionEvent(JTextComponent.this,
3862 * Represents a drop location for <code>JTextComponent</code>s.
3925 * Returns a string representation of this <code>JTextComponent</code>.
3934 * @return a string representation of this <code>JTextComponent</code>
3970 if (comp instanceof JTextComponent) {
3971 JTextComponent text = (JTextComponent)comp;
3993 if (comp instanceof JTextComponent) {
4004 ((JTextComponent)comp).replaceSelection(data);
4015 JTextComponent c = (JTextComponent)comp;
4037 * Returns the JTextComponent that most recently had focus. The returned
4040 static final JTextComponent getFocusedComponent() {
4041 return (JTextComponent)AppContext.getAppContext().
4395 * <code>JTextComponent</code> instances unless they
4407 MutableCaretEvent(JTextComponent c) {
4412 JTextComponent c = (JTextComponent) getSource();
4681 String selection = JTextComponent.this.getSelectedText();
4972 JTextComponent.this.getClass());
4995 public void install(JTextComponent c) {
5033 JTextComponent host = component;
5061 JTextComponent host;
5064 DoSetCaretPosition(JTextComponent host, Position newPos) {