|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.docking.theme.DockingWindowsTheme
net.infonode.docking.theme.ShapedGradientDockingTheme
A theme with tabs with rounded edges, gradient backgrounds and support for slopes on left/right side of tab.
Constructor Summary | |
ShapedGradientDockingTheme()
Creates a default theme with sloped border on the right side of the tab (excluding tabs on window bars) and with colors based on the active look and feel |
|
ShapedGradientDockingTheme(float leftSlope,
float rightSlope)
Creates a theme with the given slopes on the left and right side of the tab (excluding tabs on window bars) and with colors based on the active look and feel |
|
ShapedGradientDockingTheme(float leftSlope,
float rightSlope,
ColorProvider lineColor,
ColorProvider highlightColor,
boolean focusHighlighterEnabled)
Creates a theme with the given slopes on the left and right side of the tab (excluding tabs on window bars) and with the given colors |
|
ShapedGradientDockingTheme(float leftSlope,
float rightSlope,
int slopeHeight,
ColorProvider lineColor,
ColorProvider highlightColor,
boolean focusHighlighterEnabled)
Creates a theme with the given slopes on the left and right side of the tab (excluding tabs on window bars) and with the given colors |
Method Summary | |
String |
getName()
Gets the theme name |
RootWindowProperties |
getRootWindowProperties()
Gets the theme RootWindowProperties |
Methods inherited from class net.infonode.docking.theme.DockingWindowsTheme |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ShapedGradientDockingTheme()
public ShapedGradientDockingTheme(float leftSlope, float rightSlope)
leftSlope
- leaning of left slope defined as left slope width divided by left slope heightrightSlope
- leaning of right slope defined as right slope width divided by right slope heightpublic ShapedGradientDockingTheme(float leftSlope, float rightSlope, ColorProvider lineColor, ColorProvider highlightColor, boolean focusHighlighterEnabled)
leftSlope
- leaning of left slope defined as left slope width divided
by left slope heightrightSlope
- leaning of right slope defined as right slope width divided
by right slope heightlineColor
- color provider for the lineshighlightColor
- color provider for the highlighting, null for no highlightingfocusHighlighterEnabled
- if true the currently focused tab is highlightedpublic ShapedGradientDockingTheme(float leftSlope, float rightSlope, int slopeHeight, ColorProvider lineColor, ColorProvider highlightColor, boolean focusHighlighterEnabled)
leftSlope
- leaning of left slope defined as left slope width divided
by left slope heightrightSlope
- leaning of right slope defined as right slope width divided
by right slope heightslopeHeight
- slope height in pixels, used when estimating slope widthlineColor
- color provider for the lineshighlightColor
- color provider for the highlighting, null for no highlightingfocusHighlighterEnabled
- if true the currently focused tab is highlightedMethod Detail |
public String getName()
getName
in class DockingWindowsTheme
public RootWindowProperties getRootWindowProperties()
getRootWindowProperties
in class DockingWindowsTheme
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |