Searched refs:JTextComponent (Results 51 - 75 of 88) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTextFieldUI.java67 private void updateStyle(JTextComponent comp) {
84 static void updateStyle(JTextComponent comp, SynthContext context,
226 * on the associated JTextComponent. This is a hook
228 * UI displays bound properties of JTextComponent subclasses.
230 * properties in JTextComponent itself are handled prior
238 updateStyle((JTextComponent)evt.getSource());
H A DSynthStyle.java35 import javax.swing.text.JTextComponent;
770 if (c instanceof JTextComponent) {
771 JTextComponent txt = (JTextComponent)c;
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java62 import javax.swing.text.JTextComponent;
74 * a node will result in reseting the selection of the JTextComponent.
87 protected JTextComponent editor;
94 public ElementTreePanel(JTextComponent editor) {
190 * Resets the JTextComponent to <code>editor</code>. This will update
193 public void setEditor(JTextComponent editor) {
357 * @return JTextComponent showing elements for.
359 protected JTextComponent getEditor() {
H A DNotepad.java116 // create the embedded JTextComponent
173 * of actions supported by the embedded JTextComponent
183 protected JTextComponent createEditor() {
184 JTextComponent c = new JTextArea();
193 protected JTextComponent getEditor() {
443 private JTextComponent editor;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DUtilities.java496 public static final int getRowStart(JTextComponent c, int offs) throws BadLocationException {
526 public static final int getRowEnd(JTextComponent c, int offs) throws BadLocationException {
558 public static final int getPositionAbove(JTextComponent c, int offs, int x) throws BadLocationException {
595 public static final int getPositionBelow(JTextComponent c, int offs, int x) throws BadLocationException {
629 public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException {
663 public static final int getWordEnd(JTextComponent c, int offs) throws BadLocationException {
696 public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException {
717 static int getNextWordInParagraph(JTextComponent c, Element line, int offs, boolean first) throws BadLocationException {
774 public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException {
795 static int getPrevWordInParagraph(JTextComponent
[all...]
H A DDefaultHighlighter.java82 * interface of a JTextComponent. Installs the editor, and
88 public void install(JTextComponent c) {
95 * a JTextComponent.
100 public void deinstall(JTextComponent c) {
294 * @param editor JTextComponent
299 JTextComponent editor, View view) {
353 private JTextComponent component;
375 * the JTextComponent will be queried for its selection color.
403 public void paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) {
453 Shape bounds, JTextComponent
[all...]
H A DGlyphView.java388 fg = (c instanceof JTextComponent ?
389 ((JTextComponent)c).getDisabledTextColor() :
396 if (c instanceof JTextComponent) {
397 JTextComponent tc = (JTextComponent) c;
408 } else if(c instanceof JTextComponent) {
409 JTextComponent tc = (JTextComponent) c;
1268 if (container instanceof JTextComponent) {
1269 Caret c = ((JTextComponent)containe
[all...]
H A DWrappedPlainView.java358 JTextComponent host = (JTextComponent) getContainer();
583 JTextComponent host = (JTextComponent)getContainer();
H A DDefaultCaret.java43 * of the associated JTextComponent. It can blink at the rate specified
229 protected final JTextComponent getComponent() {
442 JTextComponent c = (JTextComponent) e.getSource();
675 * interface of a JTextComponent. This can be used
684 public void install(JTextComponent c) {
721 * interface of a JTextComponent. This is used to
727 public void deinstall(JTextComponent c) {
1560 JTextComponent component;
H A DView.java515 JTextComponent target = (JTextComponent) getContainer();
1028 * @see JTextComponent#getToolTipText
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicBorders.java31 import javax.swing.text.JTextComponent;
367 } else if (c instanceof JTextComponent) {
368 JTextComponent t = (JTextComponent)c;
403 if (c instanceof JTextComponent) {
404 margin = ((JTextComponent)c).getMargin();
H A DBasicEditorPaneUI.java111 public EditorKit getEditorKit(JTextComponent tc) {
141 * on the associated JTextComponent. This is a hook
143 * UI displays bound properties of JTextComponent subclasses.
299 JTextComponent component = getComponent();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextField.java74 * In the <code>JTextComponent</code> based
164 public class JTextField extends JTextComponent implements SwingConstants {
833 JTextComponent target = getFocusedComponent();
841 JTextComponent target = getFocusedComponent();
H A DJFormattedTextField.java1111 JTextComponent target = getFocusedComponent();
1128 JTextComponent target = getFocusedComponent();
1153 JTextComponent target = getFocusedComponent();
1162 JTextComponent target = getFocusedComponent();
/openjdk7/jdk/make/javax/swing/beaninfo/
H A DFILES.gmk78 BEANS_TEXT = JTextComponent \
120 ..\..\..\..\..\src\share\classes\javax\swing\text\JTextComponent.java \
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTextUI.java95 public void paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) {
168 Shape bounds, JTextComponent c, View view) {
H A DXPStyle.java51 import javax.swing.text.JTextComponent;
324 } else if (c instanceof JTextComponent) {
325 margin = ((JTextComponent)c).getMargin();
390 } else if (c instanceof JTextComponent) {
391 margin = ((JTextComponent)c).getMargin();
428 } else if (c instanceof JTextComponent) {
429 margin = ((JTextComponent)c).getMargin();
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDragSourceContextPeer.java207 if (component instanceof JTextComponent) {
208 this.setDefaultDragImage((JTextComponent) component);
226 private void setDefaultDragImage(JTextComponent component) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DDebuggerConsolePanel.java42 private JTextComponent editor;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextPasswordFieldUI.java76 final JTextComponent component = getComponent();
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/
H A DScriptShellPanel.java72 private JTextComponent editor;
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DAccessibleHTML.java325 if (comp instanceof JTextComponent &&
326 ((JTextComponent)comp).isEditable()) {
746 if (comp instanceof JTextComponent) {
747 if (((JTextComponent)comp).isEditable()) {
767 if (comp instanceof JTextComponent) {
775 ((JTextComponent)comp).setCaretPosition(elem.getStartOffset());
975 if (c instanceof JTextComponent) {
976 return ((JTextComponent)c).getCaretPosition();
H A DHTMLEditorKit.java1902 if (src instanceof JTextComponent) {
1903 JTextComponent comp = (JTextComponent) src;
1922 JTextComponent comp = getTextComponent(e);
1988 private void moveCaretPosition(JTextComponent comp, HTMLEditorKit kit,
2006 private HTMLEditorKit getHTMLEditorKit(JTextComponent comp) {
2040 Shape bounds, JTextComponent c, View view) {
2201 JTextComponent c = getTextComponent(e);
2247 private static int getBodyElementStart(JTextComponent comp) {
2274 JTextComponent targe
[all...]
H A DImageView.java253 * @see JTextComponent#getToolTipText
405 if (container instanceof JTextComponent) {
406 JTextComponent tc = (JTextComponent)container;
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java43 import javax.swing.text.JTextComponent;
1049 public static boolean useSelectedTextColor(Highlighter.Highlight h, JTextComponent c) {
1633 * if it is an instance of {@code JTextComponent} with a
1639 if (comp instanceof JTextComponent
1640 && ((JTextComponent) comp).getCaret() instanceof DefaultCaret) {
1642 ((JTextComponent) comp).putClientProperty(SKIP_CLICK_COUNT, count);
1654 public static int getAdjustedClickCount(JTextComponent comp, MouseEvent e) {

Completed in 546 milliseconds

1234