| javax.swing.JPanel net.sourceforge.squirrel_sql.client.gui.session.MainPanel
MainPanel | public class MainPanel extends JPanel (Code) | | This tabbed panel is the main panel within the session window.
author: Colin Bell |
Inner Class :public interface ITabIndexes | |
addMainPanelTab | public int addMainPanelTab(IMainPanelTab tab)(Code) | | Add a tab to this panel. If a tab with this title already exists it is
removed from the tabbed pane and the passed tab inserted in its
place. New tabs are inserted at the end.
Parameters: tab - The tab to be added. The index of th added tab throws: IllegalArgumentException - Thrown if a null ITablePanelTab passed. |
addNotify | public void addNotify()(Code) | | |
getTabbedPane | JTabbedPane getTabbedPane()(Code) | | Retrieve the tabbed pane for this component.
The tabbed pane. |
insertMainPanelTab | public void insertMainPanelTab(IMainPanelTab tab, int idx, boolean selectInsertedTab)(Code) | | Add a tab to this panel at the specified index.
Parameters: tab - The tab to be added. Parameters: idx - The index to add the tab at. Parameters: selectInsertedTab - throws: IllegalArgumentException - Thrown if a null ITablePanelTab passed. throws: IllegalArgumentException - Thrown if a tab already exists with the same title as the onepassed in. |
removeNotify | public void removeNotify()(Code) | | |
sessionClosing | void sessionClosing(ISession session)(Code) | | The passed session is closing so tell each tab.
Parameters: session - Session being closed. |
sessionWindowClosing | public void sessionWindowClosing()(Code) | | |
|
|