public void dispose() { selectionModel.removeTreeSelectionListener(selectionListener); }
public void removeTreeSelectionListener(final TreeSelectionListener _l) { selection_.removeTreeSelectionListener(_l); }
public void dispose() { selectionModel.removeTreeSelectionListener(selectionListener); }
public void dispose() { selectionModel.removeTreeSelectionListener(selectionListener); }
public void dispose() { selectionModel.removeTreeSelectionListener(selectionListener); }
public void run() { tree.getSelectionModel().removeTreeSelectionListener(tsl); } });
/** Deinitializes listeners. */ public void removeNotify () { super.removeNotify (); tree.getSelectionModel().removeTreeSelectionListener(managerListener); }
/** Deinitializes listeners. */ public void removeNotify () { super.removeNotify (); tree.getSelectionModel().removeTreeSelectionListener(managerListener); }
/** Deinitializes listeners. */ @Override public void removeNotify() { super.removeNotify(); tree.getSelectionModel().removeTreeSelectionListener(managerListener); }
/** Synchronize the selected nodes from the manager of this Explorer. * The default implementation does nothing. */ final void synchronizeSelectedNodes() { // #40152: if there is any scheduled change to view, perform it now VisualizerNode.runQueue(); Node[] arr = manager.getSelectedNodes (); TreePath[] paths = new TreePath[arr.length]; for (int i = 0; i < arr.length; i++) { TreePath treePath = new TreePath (treeModel.getPathToRoot (VisualizerNode.getVisualizer (null, arr[i]))); paths[i] = treePath; } tree.getSelectionModel().removeTreeSelectionListener(managerListener); showSelection (paths); tree.getSelectionModel().addTreeSelectionListener(managerListener); }
/** Synchronize the selected nodes from the manager of this Explorer. * The default implementation does nothing. */ final void synchronizeSelectedNodes() { // #40152: if there is any scheduled change to view, perform it now VisualizerNode.runQueue(); Node[] arr = manager.getSelectedNodes (); TreePath[] paths = new TreePath[arr.length]; for (int i = 0; i < arr.length; i++) { TreePath treePath = new TreePath (treeModel.getPathToRoot (VisualizerNode.getVisualizer (null, arr[i]))); paths[i] = treePath; } tree.getSelectionModel().removeTreeSelectionListener(managerListener); showSelection (paths); tree.getSelectionModel().addTreeSelectionListener(managerListener); }
void disconnect() { errorTree.removeKeyListener(this); errorTree.removeMouseListener(this); errorTree.getSelectionModel().removeTreeSelectionListener(this); severityComboBox.removeActionListener(this); tasklistCheckBox.removeChangeListener(this); componentsSetEnabled( false ); }
@Override protected void uninstallListeners() { this.tree.removeMouseListener(this.substanceRowSelectionListener); this.substanceRowSelectionListener = null; this.tree.getSelectionModel().removeTreeSelectionListener( this.substanceSelectionFadeListener); this.substanceSelectionFadeListener = null; this.tree .removePropertyChangeListener(this.substancePropertyChangeListener); this.substancePropertyChangeListener = null; // Remove listener for the fade animation this.tree.removeMouseMotionListener(this.substanceFadeRolloverListener); this.tree.removeMouseListener(this.substanceFadeRolloverListener); this.substanceFadeRolloverListener = null; super.uninstallListeners(); }
public void uninstallUI(JComponent c) { debug("uninstallUI"); HelpModel model = favorites.getModel(); favorites.removePropertyChangeListener(this); TreeSelectionModel tsm = tree.getSelectionModel(); tsm.removeTreeSelectionListener(this); favorites.setLayout(null); favorites.removeAll(); if (model != null) { model.removeHelpModelListener(this); } favorites = null; }
public void uninstallUI(JComponent c) { HelpModel helpmodel = searchnav.getModel(); searchnav.removeComponentListener(this); searchnav.removePropertyChangeListener(this); TreeSelectionModel tsm = tree.getSelectionModel(); tsm.removeTreeSelectionListener(this); searchnav.setLayout(null); searchnav.removeAll(); if (helpmodel != null) { helpmodel.removeHelpModelListener(this); } searchnav = null; }
@Override protected void uninstallListeners() { this.tree.removeMouseListener(this.substanceRowSelectionListener); this.substanceRowSelectionListener = null; this.tree.getSelectionModel().removeTreeSelectionListener( this.substanceSelectionFadeListener); this.substanceSelectionFadeListener = null; this.tree .removePropertyChangeListener(this.substancePropertyChangeListener); this.substancePropertyChangeListener = null; // Remove listener for the fade animation this.tree.removeMouseMotionListener(this.substanceFadeRolloverListener); this.tree.removeMouseListener(this.substanceFadeRolloverListener); this.substanceFadeRolloverListener = null; super.uninstallListeners(); }
/** * Uninstalls UI */ public void uninstallUI(JComponent c) { debug("uninstallUI"); HelpModel model = glossary.getModel(); glossary.removePropertyChangeListener(this); TreeSelectionModel tsm = tree.getSelectionModel(); tsm.removeTreeSelectionListener(this); glossary.setLayout(null); glossary.removeAll(); if (model != null) { model.removeHelpModelListener(this); } glossary = null; }
public void uninstallUI(JComponent c) { debug (this + " " + "unistallUI"); HelpModel model = toc.getModel(); toc.removeComponentListener(this); toc.removePropertyChangeListener(this); TreeSelectionModel tsm = tree.getSelectionModel(); tsm.removeTreeSelectionListener(this); toc.setLayout(null); toc.removeAll(); if (model != null) { model.removeHelpModelListener(this); } toc = null; }
public void uninstallUI(JComponent c) { debug ("uninstallUI"); HelpModel model = index.getModel(); index.removeComponentListener(this); index.removePropertyChangeListener(this); TreeSelectionModel tsm = tree.getSelectionModel(); tsm.removeTreeSelectionListener(this); index.setLayout(null); index.removeAll(); if (model != null) { model.removeHelpModelListener(this); } index = null; }
private void detach() { KeyboardFocusManager.getCurrentKeyboardFocusManager().removePropertyChangeListener(this); if (tree != null) { tree.getSelectionModel().removeTreeSelectionListener(this); tree.getModel().removeTreeModelListener(this); tree.removeHierarchyBoundsListener(this); tree.removeHierarchyListener(this); tree.removeComponentListener(this); } else { list.getSelectionModel().removeListSelectionListener(this); list.getModel().removeListDataListener(this); list.removeHierarchyBoundsListener(this); list.removeHierarchyListener(this); list.removeComponentListener(this); } pane.getHorizontalScrollBar().getModel().removeChangeListener(this); pane.getVerticalScrollBar().getModel().removeChangeListener(this); detached = true; }