Java Code Examples for sun.swing.plaf.synth.DefaultSynthStyle#StateInfo

The following examples show how to use sun.swing.plaf.synth.DefaultSynthStyle#StateInfo . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ParsedSynthStyle.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 2
Source File: ParsedSynthStyle.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 3
Source File: ParsedSynthStyle.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 4
Source File: ParsedSynthStyle.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 5
Source File: ParsedSynthStyle.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 6
Source File: ParsedSynthStyle.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 7
Source File: ParsedSynthStyle.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 8
Source File: ParsedSynthStyle.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 9
Source File: ParsedSynthStyle.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 10
Source File: ParsedSynthStyle.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 11
Source File: ParsedSynthStyle.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 12
Source File: ParsedSynthStyle.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public DefaultSynthStyle.StateInfo addTo(
                   DefaultSynthStyle.StateInfo info) {
    if (!(info instanceof StateInfo)) {
        info = new StateInfo(info);
    }
    else {
        info = super.addTo(info);
        StateInfo si = (StateInfo)info;
        si._painterInfo = mergePainterInfo(si._painterInfo,
                                           _painterInfo);
    }
    return info;
}
 
Example 13
Source File: ParsedSynthStyle.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 14
Source File: ParsedSynthStyle.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 15
Source File: ParsedSynthStyle.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 16
Source File: ParsedSynthStyle.java    From Java8CN with Apache License 2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 17
Source File: ParsedSynthStyle.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 18
Source File: ParsedSynthStyle.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 19
Source File: ParsedSynthStyle.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}
 
Example 20
Source File: ParsedSynthStyle.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public StateInfo(DefaultSynthStyle.StateInfo info) {
    super(info);
    if (info instanceof StateInfo) {
        _painterInfo = ((StateInfo)info)._painterInfo;
    }
}