Searched refs:editor (Results 1 - 25 of 64) sorted by relevance

123

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DEditorCommands.java33 public void windowClosed(Editor editor); argument
36 public void toggleBreakpointAtLine(Editor editor, int lineNumber); argument
H A DCommandProcessorPanel.java44 private JTextArea editor; field in class:CommandProcessorPanel
61 editor = new JTextArea();
62 editor.setDocument(new EditableAtEndDocument());
63 editor.setFont(GraphicsUtilities.lookupFont("Courier"));
65 scroller.getViewport().add(editor);
73 editor.getDocument().addDocumentListener(new DocumentListener() {
80 editor.setCaretPosition(editor.getDocument().getLength());
93 Document d = editor.getDocument();
101 editor
[all...]
H A DDebuggerConsolePanel.java42 private JTextComponent editor; field in class:DebuggerConsolePanel
59 editor = new JTextArea();
60 editor.setDocument(new EditableAtEndDocument());
61 editor.setFont(GraphicsUtilities.lookupFont("Courier"));
63 scroller.getViewport().add(editor);
66 editor.getDocument().addDocumentListener(new DocumentListener() {
73 editor.setCaretPosition(editor.getDocument().getLength());
109 editor.addCaretListener(new CaretListener() {
111 int len = editor
[all...]
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/
H A Dlinewrap.js44 * of the editor.
49 var wrap = application.editor.lineWrap;
50 application.editor.lineWrap = !wrap;
H A Dtextcolor.js48 var color = application.editor.selectedTextColor;
50 application.editor.selectedTextColor = color;
H A Dinsertfile.js60 var pos = application.editor.caretPosition;
61 var doc = application.editor.document;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicComboBoxEditor.java36 * The default editor for editable combo boxes. The editor is implemented as a JTextField.
42 protected JTextField editor; field in class:BasicComboBoxEditor
46 editor = createEditorComponent();
50 return editor;
54 * Creates the internal editor component. Override this to provide
57 * @return a new editor component
61 JTextField editor = new BorderlessTextField("",9);
62 editor.setBorder(null);
63 return editor;
[all...]
H A DBasicTextUI.java48 * basic editor view and controller services that may be useful
177 Object o = DefaultLookup.get(editor, this,
305 Font f = editor.getFont();
307 editor.setFont(UIManager.getFont(prefix + ".font"));
310 Color bg = editor.getBackground();
312 editor.setBackground(UIManager.getColor(prefix + ".background"));
315 Color fg = editor.getForeground();
317 editor.setForeground(UIManager.getColor(prefix + ".foreground"));
320 Color color = editor.getCaretColor();
322 editor
1300 transient JTextComponent editor; field in class:BasicTextUI
[all...]
H A DBasicSpinnerUI.java79 * missing (null) editor/nextButton/previousButton children.
159 JComponent editor = spinner.getEditor();
160 if (editor != null && editor instanceof JSpinner.DefaultEditor) {
161 JTextField tf = ((JSpinner.DefaultEditor)editor).getTextField();
181 JComponent editor = spinner.getEditor();
182 removeEditorBorderListener(editor);
183 if (editor instanceof JSpinner.DefaultEditor) {
184 JTextField tf = ((JSpinner.DefaultEditor)editor).getTextField();
271 * Creates a <code>LayoutManager</code> that manages the <code>editor</cod
414 updateEditorAlignment(JComponent editor) argument
427 maybeRemoveEditorBorder(JComponent editor) argument
446 installEditorBorderListener(JComponent editor) argument
462 removeEditorBorderListener(JComponent editor) argument
849 private Component editor = null; field in class:BasicSpinnerUI.Handler
[all...]
/openjdk7/jdk/test/javax/swing/text/html/parser/Parser/6990651/
H A Dbug6990651.java34 private static volatile JEditorPane editor; field in class:bug6990651
39 editor = new JEditorPane("text/html", "Hello world!");
50 editor.setText("Hello world!");
/openjdk7/jdk/test/java/beans/PropertyEditor/
H A DTestEditor.java28 private final PropertyEditor editor; field in class:TestEditor
33 this.editor = PropertyEditorManager.findEditor(type);
34 if (this.editor == null)
35 throw new Error("could not find editor for " + type);
37 System.out.println("PropertyEditor class: " + this.editor.getClass());
42 this.editor.setValue(value);
44 Object object = execute("Executor", "execute", this.editor.getJavaInitializationString());
54 this.editor.setValue(value);
59 this.editor.setAsText(text);
64 if (!areEqual(value, this.editor
[all...]
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/
H A DScriptShellPanel.java71 // editor component for command editing
72 private JTextComponent editor; field in class:ScriptShellPanel
83 this.editor = new JTextArea();
84 editor.setDocument(new EditableAtEndDocument());
86 scroller.getViewport().add(editor);
89 editor.getDocument().addDocumentListener(new DocumentListener() {
98 editor.setCaretPosition(editor.getDocument().getLength());
140 editor.addCaretListener(new CaretListener() {
143 int len = editor
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/actions/
H A DExpandPredecessorsAction.java37 EditorTopComponent editor = EditorTopComponent.getActive();
38 if (editor != null) {
39 editor.expandPredecessors();
H A DExpandSuccessorsAction.java37 EditorTopComponent editor = EditorTopComponent.getActive();
38 if (editor != null) {
39 editor.expandSuccessors();
H A DExtractAction.java41 EditorTopComponent editor = EditorTopComponent.getActive();
42 if (editor != null) {
43 editor.extract();
H A DHideAction.java41 EditorTopComponent editor = EditorTopComponent.getActive();
42 if (editor != null) {
43 editor.hideNodes();
H A DShowAllAction.java41 EditorTopComponent editor = EditorTopComponent.getActive();
42 if (editor != null) {
43 editor.showAll();
H A DZoomInAction.java41 EditorTopComponent editor = EditorTopComponent.getActive();
42 if (editor != null) {
43 editor.zoomIn();
H A DZoomOutAction.java41 EditorTopComponent editor = EditorTopComponent.getActive();
42 if (editor != null) {
43 editor.zoomOut();
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4274639.java59 throw new Error("unexpected property editor type: " + type);
61 PropertyEditor editor = pd.createPropertyEditor(bean);
62 if (editor == null)
63 throw new Error("property editor cannot be created");
65 if (STRING_VALUE != editor.getValue())
66 throw new Error("unexpected value: " + editor.getValue());
68 Object source = ((PropertyEditorSupport) editor).getSource();
79 throw new Error("unexpected property editor type: " + type);
81 PropertyEditor editor = pd.createPropertyEditor(bean);
82 if (editor
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DLayeredHighlighter.java46 * @param editor JTextComponent
51 JTextComponent editor,
60 Shape viewBounds,JTextComponent editor,
49 paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) argument
59 paintLayer(Graphics g, int p0, int p1, Shape viewBounds,JTextComponent editor, View view) argument
H A DStyledEditorKit.java40 * to be a reasonably functioning editor for some <em>type</em>
85 * Fetches the command list for the editor. This is
98 * that is appropriate for this type of editor.
158 * Creates a copy of the editor kit.
390 * Gets the target editor for an action.
393 * @return the editor
404 * Gets the document associated with an editor pane.
406 * @param e the editor
419 * Gets the editor kit associated with an editor pan
445 setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace) argument
472 setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DPropertyEditorFinder.java69 public void register(Class<?> type, Class<?> editor) { argument
71 this.registry.put(type, editor);
81 PropertyEditor editor = instantiate(predefined, null);
82 if (editor == null) {
83 editor = super.find(type);
84 if ((editor == null) && (null != type.getEnumConstants())) {
85 editor = new EnumEditor(type);
88 return editor;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSpinnerUI.java47 * repainted whenever the editor component (typically a text field) becomes
49 * is composed of an editor and two buttons, it is necessary that all three
52 * in the new focused or unfocused state, mirroring that of the editor.
74 JComponent editor = spinner.getEditor();
75 if (editor instanceof JSpinner.DefaultEditor) {
76 JTextField tf = ((JSpinner.DefaultEditor)editor).getTextField();
90 JComponent editor = spinner.getEditor();
91 if (editor instanceof JSpinner.DefaultEditor) {
92 JTextField tf = ((JSpinner.DefaultEditor)editor).getTextField();
192 * This method is called by installUI to get the editor componen
256 updateEditorAlignment(JComponent editor) argument
354 private Component editor = null; field in class:SynthSpinnerUI.SpinnerLayout
[all...]
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java87 protected JTextComponent editor; field in class:ElementTreePanel
94 public ElementTreePanel(JTextComponent editor) { argument
95 this.editor = editor;
97 Document document = editor.getDocument();
170 editor.addPropertyChangeListener(this);
173 editor.addCaretListener(this);
190 * Resets the JTextComponent to <code>editor</code>. This will update
193 public void setEditor(JTextComponent editor) { argument
194 if (this.editor
[all...]

Completed in 101 milliseconds

123