|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.infonode.gui.panel.BaseContainer
net.infonode.gui.panel.BasePanel
net.infonode.docking.DockingWindow
net.infonode.docking.AbstractTabWindow
Abstract base class for windows containing a tabbed panel.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
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. |
DockingWindow |
getChildWindow(int index)
Returns the child window with index index. |
int |
getChildWindowCount()
Returns the number of child windows. |
List |
getCustomTabAreaComponents()
Returns a list containing the custom tab area components. |
Icon |
getIcon()
Returns the icon for this window. |
DockingWindow |
getSelectedWindow()
Returns the currently selected window in the tabbed panel. |
abstract TabWindowProperties |
getTabWindowProperties()
Returns the properties for this tab window. |
void |
setSelectedTab(int index)
Selects the tab with the index. |
Methods inherited from class net.infonode.gui.panel.BaseContainer |
setBackground, setFont, setForeground, setOpaque, setUI |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, updateUI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public abstract TabWindowProperties getTabWindowProperties()
public final List getCustomTabAreaComponents()
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.
JComponent
public DockingWindow getSelectedWindow()
public void setSelectedTab(int index)
index
- the tab indexpublic void addTab(DockingWindow window)
window
- the windowpublic int addTab(DockingWindow window, int index)
window
- the windowindex
- the index where to insert the tab
public DockingWindow getChildWindow(int index)
DockingWindow
getChildWindow
in class DockingWindow
index
- the child window index
public int getChildWindowCount()
DockingWindow
getChildWindowCount
in class DockingWindow
public Icon getIcon()
DockingWindow
getIcon
in class DockingWindow
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |