bibliothek.extension.gui.dock.theme.eclipse.rex.tab
Interface TabPainter
public interface TabPainter
- Author:
- Janni Kovacs
paintTabStrip
void paintTabStrip(RexTabbedComponent tabbedComponent,
Component tabStrip,
Graphics g)
- Paints the background of
tabStrip
.
- Parameters:
tabbedComponent
- the RexTabbedComponent
for which tabStrip
is showntabStrip
- the tabs of tabbedComponent
g
- the graphics used to paint on tabStrip
createTabComponent
TabComponent createTabComponent(DockController controller,
RexTabbedComponent component,
Dockable dockable,
int index)
- Creates a new entry for the tab-strip above the contents of a
RexTabbedComponent
.
- Parameters:
controller
- the current controller, never null
component
- the owner of the tab, clients might need
component.getStation()
to get
access to the DockStation
for which the tab is intendeddockable
- the element for which the tab is shownindex
- the initial location of the tab
- Returns:
- the new tab, never
null