public interface TabPainter
TabPainter is used to setup the basic graphical elements
of a EclipseTabPane.| Modifier and Type | Method and Description |
|---|---|
TabPanePainter |
createDecorationPainter(EclipseTabPane pane)
Creates a new painter for the component which contains the tabs.
|
InvisibleTab |
createInvisibleTab(InvisibleTabPane pane,
Dockable dockable)
Creates a new invisible tab for
pane representing dockable. |
TabComponent |
createTabComponent(EclipseTabPane pane,
Dockable dockable)
Creates a new tab for an
EclipseTabPane. |
Border |
getFullBorder(BorderedComponent owner,
DockController controller,
Dockable dockable)
Gets the border which will be around
pane when dockable
is selected. |
TabPanePainter createDecorationPainter(EclipseTabPane pane)
pane - the panel for which this painter will be usednullTabComponent createTabComponent(EclipseTabPane pane, Dockable dockable)
EclipseTabPane. At the time this method
is called the EclipseTabPane is connected to a DockController
which will not change as long as the created TabComponent is
in use. The EclipseTabPane is also connected to a DockStation
which will neither change as long as the tab is in use.pane - the panel for which this tab is requireddockable - the element for which the tab is shownnullInvisibleTab createInvisibleTab(InvisibleTabPane pane, Dockable dockable)
pane representing dockable.pane - the owner of the new tabdockable - what the new tab representsnullBorder getFullBorder(BorderedComponent owner, DockController controller, Dockable dockable)
pane when dockable
is selected.owner - the component on which the border will be showncontroller - the current controller, never nulldockable - the element which might influence the border, never nulldockable or nullCopyright © 2017 Docking Frames. All rights reserved.