Searched refs:JTextComponent (Results 1 - 25 of 88) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DTextUI.java50 public abstract Rectangle modelToView(JTextComponent t, int pos) throws BadLocationException;
61 public abstract Rectangle modelToView(JTextComponent t, int pos, Position.Bias bias) throws BadLocationException;
72 public abstract int viewToModel(JTextComponent t, Point pt);
89 public abstract int viewToModel(JTextComponent t, Point pt,
111 public abstract int getNextVisualPositionFrom(JTextComponent t,
123 public abstract void damageRange(JTextComponent t, int p0, int p1);
132 public abstract void damageRange(JTextComponent t, int p0, int p1,
144 public abstract EditorKit getEditorKit(JTextComponent t);
154 public abstract View getRootView(JTextComponent t);
159 * @see javax.swing.text.JTextComponent#getToolTipTex
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingAccessor.java32 import javax.swing.text.JTextComponent;
54 * An accessor for the JTextComponent class.
65 TransferHandler.DropLocation dropLocationForPoint(JTextComponent textComp, Point p);
70 Object setDropLocation(JTextComponent textComp, TransferHandler.DropLocation location,
75 * The javax.swing.text.JTextComponent class accessor object.
80 * Set an accessor object for the javax.swing.text.JTextComponent class.
87 * Retrieve the accessor object for the javax.swing.text.JTextComponent class.
91 unsafe.ensureClassInitialized(JTextComponent.class);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DHighlighter.java41 * interface of a JTextComponent. This can be used
45 * @param c the JTextComponent editor
47 public void install(JTextComponent c);
51 * interface of a JTextComponent. This is used to
54 * @param c the JTextComponent editor
56 public void deinstall(JTextComponent c);
123 public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c);
H A DLayeredHighlighter.java46 * @param editor JTextComponent
51 JTextComponent editor,
60 Shape viewBounds,JTextComponent editor,
H A DTextAction.java81 protected final JTextComponent getTextComponent(ActionEvent e) {
84 if (o instanceof JTextComponent) {
85 return (JTextComponent) o;
132 protected final JTextComponent getFocusedComponent() {
133 return JTextComponent.getFocusedComponent();
H A DCaret.java56 * interface of a JTextComponent. This can be used
60 * @param c the JTextComponent
62 public void install(JTextComponent c);
66 * interface of a JTextComponent. This is used to
69 * @param c the JTextComponent
71 public void deinstall(JTextComponent c);
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_DefaultCellEditor.java34 import javax.swing.text.JTextComponent;
56 String text = ((JTextComponent) after.getComponent()).getText();
57 if (!text.equals(((JTextComponent) before.getComponent()).getText()))
/openjdk7/jdk/test/javax/swing/DataTransfer/6456844/
H A Dbug6456844.java26 @summary Tests that JTextComponent doesn't create drop locations with null bias.
34 import javax.swing.text.JTextComponent;
46 JTextComponent.DropLocation location =
47 (JTextComponent.DropLocation) SwingAccessor.getJTextComponentAccessor().dropLocationForPoint(ep,
/openjdk7/jdk/test/javax/swing/LookAndFeel/6474153/
H A Dbug6474153.java33 import javax.swing.text.JTextComponent;
42 private static void checkArray(JTextComponent.KeyBinding[] keyActionArray) {
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DEditableView.java40 * JTextComponent the view is contained in is editable. The min/pref/max
77 isVisible != ((JTextComponent)host).isEditable()) {
78 isVisible = ((JTextComponent)host).isEditable();
108 if (host instanceof JTextComponent) {
109 isVisible = ((JTextComponent)host).isEditable();
H A DNoFramesView.java34 * when the JTextComponent the view is contained in is editable.
67 visible != ((JTextComponent)host).isEditable()) {
68 visible = ((JTextComponent)host).isEditable();
79 * Determines if the JTextComponent that the view
92 visible = ((JTextComponent)host).isEditable();
H A DCommentView.java41 * reset. As this inherits from EditableView if the JTextComponent is
53 if (host != null && !((JTextComponent)host).isEditable()) {
81 JTextComponent textC = getTextComponent();
99 JTextComponent getTextComponent() {
100 return (JTextComponent)getComponent();
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextAreaUI.java48 final JTextComponent c = getComponent();
57 final JTextComponent c = getComponent();
89 final JTextComponent c = getComponent();
94 final JTextComponent c = getComponent();
H A DAquaTextFieldSearch.java35 import javax.swing.text.JTextComponent;
53 protected static void installSearchFieldListener(final JTextComponent c) {
57 protected static void uninstallSearchFieldListener(final JTextComponent c) {
64 if (!(source instanceof JTextComponent)) return;
75 final JTextComponent c = (JTextComponent)source;
85 protected static boolean wantsToBeASearchField(final JTextComponent c) {
89 protected static boolean hasPopupMenu(final JTextComponent c) {
98 protected static void installSearchField(final JTextComponent c) {
112 protected static void uninstallSearchField(final JTextComponent
[all...]
H A DAquaTextFieldFormattedUI.java32 import javax.swing.text.JTextComponent;
61 final JTextComponent c = getComponent();
H A DAquaHighlighter.java68 void setColor(final JTextComponent c) {
85 public void paint(final Graphics g, final int offs0, final int offs1, final Shape bounds, final JTextComponent c) {
90 public Shape paintLayer(final Graphics g, final int offs0, final int offs1, final Shape bounds, final JTextComponent c, final View view) {
H A DAquaTextPaneUI.java66 final JTextComponent c = getComponent();
87 final JTextComponent c = getComponent();
92 final JTextComponent c = getComponent();
H A DAquaTextFieldBorder.java31 import javax.swing.text.JTextComponent;
68 if (!(c instanceof JTextComponent)) {
75 final JTextComponent jc = (JTextComponent)c;
104 static int getShrinkageFor(final JTextComponent jc, final int height) {
126 if (!(c instanceof JTextComponent) || c.isOpaque()) return new InsetsUIResource(3, 7, 3, 7);
130 protected static State getStateFor(final JTextComponent jc) {
H A DAquaCaret.java40 final JTextComponent c;
44 public AquaCaret(final Window inParentWindow, final JTextComponent inComponent) {
74 final JTextComponent comp = ((JTextComponent)evt.getSource());
90 final JTextComponent component = getComponent();
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTextUI.java129 JTextComponent c = getComponent();
156 static final JTextComponent.KeyBinding[] defaultBindings = {
157 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
160 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
163 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,
166 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT,
169 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT,
/openjdk7/jdk/test/javax/swing/text/JTextComponent/5074573/
H A Dbug5074573.java42 private static JTextComponent textComponent;
45 final static List<Class<? extends JTextComponent>> textClasses = Arrays.asList(
53 for (Class<? extends JTextComponent> clazz : textClasses) {
62 static boolean test(final Class<? extends JTextComponent> textComponentClass) throws Exception {
144 private static void initialize(Class<? extends JTextComponent> textComponentClass) {
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCAccessible.java41 import javax.swing.text.JTextComponent;
104 if (c instanceof JTextComponent) {
105 JTextComponent tc = (JTextComponent) c;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiTextUI.java30 import javax.swing.text.JTextComponent;
84 public String getToolTipText(JTextComponent a, Point b) {
99 public Rectangle modelToView(JTextComponent a, int b)
115 public Rectangle modelToView(JTextComponent a, int b, Position.Bias c)
131 public int viewToModel(JTextComponent a, Point b) {
146 public int viewToModel(JTextComponent a, Point b, Position.Bias[] c) {
161 public int getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e)
174 public void damageRange(JTextComponent a, int b, int c) {
183 public void damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e) {
195 public EditorKit getEditorKit(JTextComponent
[all...]
/openjdk7/jdk/test/javax/swing/text/DefaultHighlighter/6771184/
H A Dbug6771184.java34 import javax.swing.text.JTextComponent;
45 public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextUI.java50 * <code>JTextComponent</code>.
52 * Most state is held in the associated <code>JTextComponent</code>
60 * <code>Document</code> associated with the JTextComponent is a subclass of
158 * keymap is not found, then DEFAULT_KEYMAP from JTextComponent is used.
164 * to be <code>JTextComponent.KeyBinding[]</code>.
168 * @see javax.swing.text.JTextComponent
172 Keymap map = JTextComponent.getKeymap(nm);
174 Keymap parent = JTextComponent.getKeymap(JTextComponent.DEFAULT_KEYMAP);
175 map = JTextComponent
[all...]

Completed in 70 milliseconds

1234