|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabPainter
Method Summary | |
---|---|
TabComponent |
createTabComponent(DockController controller,
RexTabbedComponent component,
StackDockStation station,
Dockable dockable,
int index)
Creates a new entry for the tab-strip above the contents of a RexTabbedComponent . |
Border |
getFullBorder(DockController controller,
Dockable dockable)
Gets the border which will be around dockable . |
Border |
getFullBorder(DockController controller,
DockStation station,
RexTabbedComponent component)
Gets the border which will be around component , which is
a child of station . |
void |
paintTabStrip(RexTabbedComponent tabbedComponent,
Component tabStrip,
Graphics g)
Paints the background of tabStrip . |
Method Detail |
---|
void paintTabStrip(RexTabbedComponent tabbedComponent, Component tabStrip, Graphics g)
tabStrip
.
tabbedComponent
- the RexTabbedComponent
for which tabStrip
is showntabStrip
- the tabs of tabbedComponent
g
- the graphics used to paint on tabStrip
TabComponent createTabComponent(DockController controller, RexTabbedComponent component, StackDockStation station, Dockable dockable, int index)
RexTabbedComponent
.
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 intendedstation
- the station for which the tab is needed.dockable
- the element for which the tab is shownindex
- the initial location of the tab
null
Border getFullBorder(DockController controller, DockStation station, RexTabbedComponent component)
component
, which is
a child of station
.
controller
- the current controller, never null
station
- the parent of component
component
- the component whose border is determined by this method
null
Border getFullBorder(DockController controller, Dockable dockable)
dockable
.
controller
- the current controller, never null
dockable
- the element whose border is set, this element stands
alone (means: is not on a RexTabbedComponent
).
dockable
or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |