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

The following examples show how to use com.sun.java.swing.plaf.gtk.GTKConstants.ExpanderStyle. These examples are extracted from open source projects. 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 Project: jdk1.8-source-analysis   Source File: GTKEngine.java    License: 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 2
Source Project: dragonwell8_jdk   Source File: GTKEngine.java    License: 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 Project: TencentKona-8   Source File: GTKEngine.java    License: 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 Project: jdk8u60   Source File: GTKEngine.java    License: 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 Project: JDKSourceCode1.8   Source File: GTKEngine.java    License: 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 6
Source Project: openjdk-jdk8u   Source File: GTKEngine.java    License: 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
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 Project: Bytecoder   Source File: GTKEngine.java    License: 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 9
Source Project: openjdk-jdk9   Source File: GTKEngine.java    License: 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 Project: jdk8u-jdk   Source File: GTKEngine.java    License: 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 Project: hottub   Source File: GTKEngine.java    License: 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 Project: openjdk-8-source   Source File: GTKEngine.java    License: 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 Project: openjdk-8   Source File: GTKEngine.java    License: 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 14
Source Project: jdk8u_jdk   Source File: GTKEngine.java    License: 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 Project: jdk8u-jdk   Source File: GTKEngine.java    License: 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 Project: jdk8u-dev-jdk   Source File: GTKEngine.java    License: 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 Project: jdk1.8-source-analysis   Source File: GTKPainter.java    License: Apache License 2.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 18
Source Project: jdk1.8-source-analysis   Source File: GTKPainter.java    License: Apache License 2.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 Project: dragonwell8_jdk   Source File: GTKPainter.java    License: 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 20
Source Project: dragonwell8_jdk   Source File: GTKPainter.java    License: 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 21
Source Project: TencentKona-8   Source File: GTKPainter.java    License: 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 Project: TencentKona-8   Source File: GTKPainter.java    License: 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 23
Source Project: jdk8u60   Source File: GTKPainter.java    License: 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 Project: jdk8u60   Source File: GTKPainter.java    License: 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 25
Source Project: JDKSourceCode1.8   Source File: GTKPainter.java    License: MIT License 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 26
Source Project: JDKSourceCode1.8   Source File: GTKPainter.java    License: MIT License 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 Project: openjdk-jdk8u   Source File: GTKPainter.java    License: 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 28
Source Project: openjdk-jdk8u   Source File: GTKPainter.java    License: 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 29
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
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);
}