net.infonode.docking
public abstract class AbstractTabWindow extends DockingWindow
Version: $Revision: 1.74 $
Constructor Summary | |
---|---|
protected | AbstractTabWindow(boolean showContent, WindowItem windowItem) |
Method Summary | |
---|---|
protected DropAction | acceptInteriorDrop(Point p, DockingWindow window) |
void | addTab(DockingWindow window)
Adds a window tab last in this tab window.
|
int | addTab(DockingWindow window, int index)
Inserts a window tab at an index in this tab window.
|
protected int | addTabNoSelect(DockingWindow window, int index) |
protected boolean | childInsideTab() |
protected void | clearChildrenFocus(DockingWindow child, View view) |
protected void | clearFocus(View view) |
protected void | doRemoveWindow(DockingWindow window) |
protected void | doReplace(DockingWindow oldWindow, DockingWindow newWindow) |
DockingWindow | getChildWindow(int index) |
int | getChildWindowCount() |
List | getCustomTabAreaComponents() Returns a list containing the custom tab area components. |
Icon | getIcon() |
protected boolean | getIgnoreSelected() |
protected DockingWindow | getLocationWindow() |
protected DockingWindow | getPreferredFocusChild() |
DockingWindow | getSelectedWindow()
Returns the currently selected window in the tabbed panel.
|
protected int | getTabAreaComponentCount() |
protected void | getTabAreaComponents(int index, JComponent[] components) |
protected TabbedPanel | getTabbedPanel() |
abstract TabWindowProperties | getTabWindowProperties()
Returns the properties for this tab window.
|
protected void | initMouseListener() |
protected boolean | isChildShowingInRootWindow(DockingWindow child) |
protected boolean | isInsideTabArea(Point p2) |
protected DockingWindow | newRead(ObjectInputStream in, ReadContext context, ViewReader viewReader) |
protected DockingWindow | oldRead(ObjectInputStream in, ReadContext context) |
void | setSelectedTab(int index)
Selects the tab with the index.
|
protected void | setTabWindowProperties(TabWindowProperties properties) |
protected void | showChildWindow(DockingWindow window) |
protected boolean | showsWindowTitle() |
protected void | tabSelected(WindowTab tab) |
protected void | updateSelectedTab() |
protected void | updateTabAreaComponents() |
protected void | write(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter) |
Parameters: window the window
Parameters: window the window index the index where to insert the tab
Returns: the index of the added tab, this might not be the same as index if the tab already is added to this tab window
Returns a list containing the custom tab area components. Changes to the list will be propagated to the tab area.
The custom tab area components will between the scroll buttons and the window buttons in the tab area components panel. The components are shown in the same order as they appear in the list. The tab area components container layout is rotated with the tab window tab orientation.
Returns: a list containing the custom tab area components, list elements are of type JComponent
Since: IDW 1.3.0
Returns: the currently selected window in the tabbed panel
Returns: the properties for this tab window
Parameters: index the tab index