|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.title.BaseHeaderPainter
public abstract class BaseHeaderPainter
Field Summary | |
---|---|
protected boolean |
isPaintingGeneralDecorationAreas
Indicates whether this painter is used to paint the background of general decoration areas. |
protected boolean |
isPaintingToolbars
Indicates whether this painter is used to paint the toolbar background. |
Constructor Summary | |
---|---|
BaseHeaderPainter()
Creates a new header painter that is used to paint title panes, menubars and toolbars. |
|
BaseHeaderPainter(boolean isPaintingToolbars,
boolean isPaintingGeneralDecorationAreas)
Creates a new header painter |
Method Summary | |
---|---|
boolean |
isPaintingContainer(java.awt.Container cont)
Returns indication whether this painter is used to paint the background of the specified container. |
boolean |
isPaintingToolbarDropShadows()
Returns indication whether this painter will cause drop shadows to appear on the top portion of the toolbars that are not painted by this painter (that is, this method is relevant only when #isPaintingContainer() returns false when called
with JToolBar parameter). |
void |
setPaintingGeneralDecorationAreas(boolean isPaintingGeneralDecorationAreas)
Sets indication whether this painter is used to paint the general decoration areas. |
void |
setPaintingToolbarDropShadows(boolean isPaintingToolbarDropShadows)
Sets indication whether this painter will cause drop shadows to appear on the top portion of the toolbars that are not painted by this painter. |
void |
setPaintingToolbars(boolean isPaintingToolbars)
Sets indication whether this painter is used to paint the toolbar background. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jvnet.substance.title.SubstanceHeaderPainter |
---|
getSecondaryPainter, paintExtraBackground |
Methods inherited from interface org.jvnet.substance.title.SubstanceTitlePainter |
---|
getDisplayName, paintTitleBackground |
Field Detail |
---|
protected boolean isPaintingToolbars
protected boolean isPaintingGeneralDecorationAreas
Constructor Detail |
---|
public BaseHeaderPainter()
public BaseHeaderPainter(boolean isPaintingToolbars, boolean isPaintingGeneralDecorationAreas)
isPaintingToolbars
- If true
, this painter will be used to paint
toolbars in addition to painting title panes and menubars.isPaintingGeneralDecorationAreas
- If true
, this painter will be used to paint
additional general decoration areas.Method Detail |
---|
public boolean isPaintingContainer(java.awt.Container cont)
SubstanceHeaderPainter
isPaintingContainer
in interface SubstanceHeaderPainter
cont
- Container.
true
if this painter is used to paint the
background of the specified container, false
otherwise.public boolean isPaintingToolbarDropShadows()
SubstanceHeaderPainter
#isPaintingContainer()
returns false
when called
with JToolBar
parameter).
isPaintingToolbarDropShadows
in interface SubstanceHeaderPainter
true
if this painter will cause drop shadows to
appear on the top portion of the toolbars that are not
painted by this painter, false
otherwise.public void setPaintingToolbarDropShadows(boolean isPaintingToolbarDropShadows)
isPaintingToolbarDropShadows
- Indication whether this painter will cause drop shadows to
appear on the top portion of the toolbars that are not
painted by this painter.public void setPaintingToolbars(boolean isPaintingToolbars)
isPaintingToolbars
- Indication whether this painter is used to paint the toolbar
background.public void setPaintingGeneralDecorationAreas(boolean isPaintingGeneralDecorationAreas)
isPaintingGeneralDecorationAreas
- Indication whether this painter is used to paint the general
decoration areas.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |