Searched refs:newEditor (Results 1 - 5 of 5) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthSpinnerUI.java228 * spinner.add(newEditor, "Editor");
237 protected void replaceEditor(JComponent oldEditor, JComponent newEditor) { argument
239 spinner.add(newEditor, "Editor");
246 if (newEditor instanceof JSpinner.DefaultEditor) {
247 JTextField tf = ((JSpinner.DefaultEditor)newEditor).getTextField();
H A DSynthComboBoxUI.java751 ComboBoxEditor newEditor = comboBox.getEditor();
752 if (editor != newEditor){
756 editor = newEditor;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicSpinnerUI.java408 * spinner.add(newEditor, "Editor");
414 * @param newEditor a new instance of editor
418 protected void replaceEditor(JComponent oldEditor, JComponent newEditor) { argument
420 maybeRemoveEditorBorder(newEditor);
421 installEditorBorderListener(newEditor);
422 newEditor.setInheritsPopupMenu(true);
423 spinner.add(newEditor, "Editor");
986 JComponent newEditor = (JComponent)e.getNewValue();
987 ui.replaceEditor(oldEditor, newEditor);
997 if (newEditor instanceo
[all...]
H A DBasicTreeUI.java2030 TreeCellEditor newEditor;
2034 newEditor = null;
2037 newEditor = tree.getCellEditor();
2038 if(newEditor == null) {
2039 newEditor = createDefaultCellEditor();
2040 if(newEditor != null) {
2041 tree.setCellEditor(newEditor);
2047 newEditor = null;
2049 if(newEditor != cellEditor) {
2052 cellEditor = newEditor;
[all...]
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaSpinnerUI.java249 protected void replaceEditor(final JComponent oldEditor, final JComponent newEditor) { argument
251 fixupEditor(newEditor);
252 spinner.add(newEditor, "Editor");
717 final JComponent newEditor = (JComponent) e.getNewValue();
718 ui.replaceEditor(oldEditor, newEditor);

Completed in 184 milliseconds