|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.stack.tab.LinePainter
@ColorCodes(value="stack.border") public class LinePainter
Paints the background of the tab by just painting a single line.
| Constructor Summary | |
|---|---|
LinePainter(EclipseTabPane pane)
Creates a new painter. |
|
| Method Summary | |
|---|---|
void |
paintBackground(Graphics g)
Paints the decorations of the EclipseTabPane with this
this painter is associated. |
void |
paintForeground(Graphics g)
Paints the decorations of the EclipseTabPane with which
this painter is associated. |
void |
setController(DockController controller)
Sets the controller for which this painter is used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinePainter(EclipseTabPane pane)
pane - the component for which this painter will work| Method Detail |
|---|
public void setController(DockController controller)
TabPanePainter
setController in interface TabPanePaintercontroller - the controller, can be nullpublic void paintBackground(Graphics g)
TabPanePainterEclipseTabPane with this
this painter is associated. This method is called before any Component
is painted. The graphics object is such that its point 0/0 falls together
with the point 0/0 of CombinedStackDockComponent.getAvailableArea().
paintBackground in interface TabPanePainterg - graphics context to use for paintingpublic void paintForeground(Graphics g)
TabPanePainterEclipseTabPane with which
this painter is associated. This method is called after the Components
have been painted. The graphics object is such that
its point 0/0 falls together with the point 0/0 of
CombinedStackDockComponent.getAvailableArea().
paintForeground in interface TabPanePainterg - the graphics used to paint on tabStrip
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||