/** * Removes all elements from the JTabbedPane. * * @param self a JTabbedPane * @since 1.6.4 */ public static void clear(JTabbedPane self) { self.removeAll(); }
@Override public void actionPerformed(ActionEvent actionEvent) { if (actionEvent.getActionCommand().equals("comboBoxChanged")) { JComboBox comboBox = (JComboBox) actionEvent.getSource(); String currentFilter = (String) comboBox.getSelectedItem(); try { if (currentFilter.equals(Stream.IMAGE)) { requestImageShowing(); tabbedPane.removeAll(); tabbedPane.add("Image view", view.getStreamPanel()); return; } tabbedPane.removeAll(); tabbedPane.add("Text view", view.getStreamPanel()); tabbedPane.add("Hex view", hexView.getPane()); requestStreamText(currentFilter); } catch (IOException e) { e.printStackTrace(); } } }
private void initErrorTabs() { SqlEngine.TAB_ERROR.removeAll();
/** * Removes all elements from the JTabbedPane. * * @param self a JTabbedPane * @since 1.6.4 */ public static void clear(JTabbedPane self) { self.removeAll(); }
@Override public boolean clearChildren() { synchronized (lock) { tabs.removeAll(); return true; } }
/** * Removes all elements from the JTabbedPane. * * @param self a JTabbedPane * @since 1.6.4 */ public static void clear(JTabbedPane self) { self.removeAll(); }
/** * Removes all elements from the JTabbedPane. * * @param self a JTabbedPane * @since 1.6.4 */ public static void clear(JTabbedPane self) { self.removeAll(); }
/** * Del all pages to the notebook */ private void delPage() { tabbed_pane.removeAll(); pages.removeAllElements(); }
/** * Del all pages to the notebook */ private void delPage() { tabbed_pane.removeAll(); pages.removeAllElements(); }
/** * Del all pages to the notebook */ private void delPage() { tabbed_pane.removeAll(); pages.removeAllElements(); }
@Override public void actionPerformed(ActionEvent e) { wrapper.execute(); tabbedPane.removeAll(); tabbedPane.add("Variables", listEditor()); tabbedPane.add("Graph", graphicalEditor()); tabbedPane.add("Report", estimationReport()); } });
/** * Removes all the components from the CytoPanel. */ public void removeAll() { // remove all tabs and components from JTabbedPane tabbedPane.removeAll(); // send out a notification notifyListeners(NOTIFICATION_COMPONENT_REMOVED); }
/** * Removes all the components from the CytoPanel. */ @Override public void removeAll() { // remove all tabs and components from JTabbedPane tabbedPane.removeAll(); componentsById.clear(); // send out a notification notifyListeners(NOTIFICATION_COMPONENT_REMOVED); }
@Override protected void componentClosed() { tabpane.removeAll(); removeAll(); }
@Override public void removeAll(){ for( Tab tab : dockables ){ tab.setController( null ); tabDisabling.remove( tab.getDockable() ); } super.removeAll(); dockables.clear(); }
@ScriptFunction(jsDoc = CLEAR_JSDOC) @Override public void clear() { super.removeAll(); super.revalidate(); super.repaint(); }
public void removeAllColorChooserPanels() { final int count = getColorChooserPanelCount(); for ( int i = 0; i < count; i++ ) { getColorChooserPanel( i ).uninstallChooserPanel(); } multiSelectorPane.removeAll(); }
private void setPanel() { panels.removeAll(); for (Plot plot : plotCanvas.getPlots()) { panels.add(plot.getDataPanel(plotCanvas), plot.getName()); } pack(); }
private void setPanel() { panels.removeAll(); for (Plot plot : plotCanvas.getPlots()) { panels.add(plot.getDataPanel(plotCanvas), plot.getName()); } pack(); }
private void rebuildTabbedPanes() { panes.removeAll(); panelAdjustMachine = new PanelAdjustMachine(robot); panes.addTab(Translator.get("MenuSettingsMachine"),panelAdjustMachine); panelAdjustPaper = new PanelAdjustPaper(robot); panes.addTab(Translator.get("MenuAdjustPaper"),panelAdjustPaper); panelAdjustPen = new PanelAdjustPen(robot); panes.addTab(Translator.get("MenuAdjustTool"),panelAdjustPen); }