com.sun.java.swing.plaf.gtk.GTKConstants.ExpanderStyle Java Examples

The following examples show how to use com.sun.java.swing.plaf.gtk.GTKConstants.ExpanderStyle. 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: GTKEngine.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #2
Source File: GTKEngine.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #3
Source File: GTKEngine.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #4
Source File: GTKEngine.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #5
Source File: GTKEngine.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #6
Source File: GTKEngine.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #7
Source File: GTKEngine.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #8
Source File: GTKEngine.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #9
Source File: GTKEngine.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #10
Source File: GTKEngine.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #11
Source File: GTKEngine.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #12
Source File: GTKEngine.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #13
Source File: GTKEngine.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #14
Source File: GTKEngine.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #15
Source File: GTKEngine.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #16
Source File: GTKEngine.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public void paintExpander(Graphics g, SynthContext context,
        Region id, int state, ExpanderStyle expanderStyle, String detail,
        int x, int y, int w, int h) {

    state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
    int widget = getWidgetType(context.getComponent(), id).ordinal();
    native_paint_expander(widget, state, detail, x - x0, y - y0, w, h,
                          expanderStyle.ordinal());
}
 
Example #17
Source File: GTKPainter.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "treeview", x, y, w, h);
}
 
Example #18
Source File: GTKPainter.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "treeview", x, y, w, h);
}
 
Example #19
Source File: GTKPainter.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "treeview", x, y, w, h);
}
 
Example #20
Source File: GTKPainter.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "expander", x, y, w, h);
}
 
Example #21
Source File: GTKPainter.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "expander", x, y, w, h);
}
 
Example #22
Source File: GTKPainter.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "treeview", x, y, w, h);
}
 
Example #23
Source File: GTKPainter.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "treeview", x, y, w, h);
}
 
Example #24
Source File: GTKPainter.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "treeview", x, y, w, h);
}
 
Example #25
Source File: GTKPainter.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "treeview", x, y, w, h);
}
 
Example #26
Source File: GTKPainter.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "treeview", x, y, w, h);
}
 
Example #27
Source File: GTKPainter.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeCollapsedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.COLLAPSED, "expander", x, y, w, h);
}
 
Example #28
Source File: GTKPainter.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "treeview", x, y, w, h);
}
 
Example #29
Source File: GTKPainter.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "treeview", x, y, w, h);
}
 
Example #30
Source File: GTKPainter.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void paintTreeExpandedIcon(SynthContext context,
        Graphics g, int state, int x, int y, int w, int h) {
    ENGINE.paintExpander(g, context, Region.TREE,
            GTKLookAndFeel.synthStateToGTKState(context.getRegion(), state),
            ExpanderStyle.EXPANDED, "expander", x, y, w, h);
}