|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.theme.SubstanceTheme
org.jvnet.substance.theme.SubstanceMixTheme
org.jvnet.substance.theme.SubstanceMixBiTheme
SubstanceMixTheme
.
@Deprecated public class SubstanceMixBiTheme
Mixed theme. Mixed theme is based on two original themes, using the first
theme for the left part of the painting, the second theme for the right part
of the painting, and the theme blend gradient in the middle. Here is how you
can create and set a mixed theme:
SubstanceTheme mixed = new SubstanceMixBiTheme(
SubstanceAquaTheme(), SubstanceBottleGreenTheme());
SubstanceLookAndFeel.setCurrentTheme(mixed);
for (Frame frame : Frame.getFrames()) {
SwingUtilities.updateComponentTreeUI(frame);
}
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jvnet.substance.theme.SubstanceTheme |
---|
SubstanceTheme.ThemeKind |
Field Summary |
---|
Fields inherited from class org.jvnet.substance.theme.SubstanceTheme |
---|
AQUA, GREEN, ORANGE, YELLOW |
Constructor Summary | |
---|---|
SubstanceMixBiTheme(SubstanceTheme originalFirstTheme,
SubstanceTheme originalSecondTheme)
Deprecated. Creates a new mixed theme. |
Method Summary |
---|
Methods inherited from class org.jvnet.substance.theme.SubstanceMixTheme |
---|
getDefaultTheme, getDisabledTheme, getFirstTheme, getOriginalThemes, getSecondTheme, hueShift, invert, negate, saturate, shade, tint, tone |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubstanceMixBiTheme(SubstanceTheme originalFirstTheme, SubstanceTheme originalSecondTheme)
originalFirstTheme
- The first original theme.originalSecondTheme
- The second original theme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |