Examples of Orientation


Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

        Region id = context.getRegion();
        int gtkState = GTKLookAndFeel.synthStateToGTKState(
                id, context.getComponentState());
        synchronized (UNIXToolkit.GTK_LOCK) {
            if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, dir)) {
                Orientation orientation = (dir == JSlider.HORIZONTAL ?
                    Orientation.HORIZONTAL : Orientation.VERTICAL);
                String detail = (dir == JSlider.HORIZONTAL ?
                    "hscale" : "vscale");
                ENGINE.startPainting(g, x, y, w, h, id, gtkState, dir);
                ENGINE.paintSlider(g, context, id, gtkState,
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

                                       int x, int y, int w, int h) {
        Region id = context.getRegion();
        int gtkState = GTKLookAndFeel.synthStateToGTKState(
                id, context.getComponentState());
        JSplitPane splitPane = (JSplitPane)context.getComponent();
        Orientation orientation =
                (splitPane.getOrientation() == JSplitPane.HORIZONTAL_SPLIT ?
                    Orientation.VERTICAL : Orientation.HORIZONTAL);
        synchronized (UNIXToolkit.GTK_LOCK) {
            if (! ENGINE.paintCachedImage(g, x, y, w, h,
                    id, gtkState, orientation)) {
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

            if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState,
                                          dir, value, visible, rtl))
            {
                ENGINE.startPainting(g, x, y, w, h, id, gtkState,
                                     dir, value, visible, rtl);
                Orientation orientation = (dir == JScrollBar.HORIZONTAL ?
                    Orientation.HORIZONTAL : Orientation.VERTICAL);
                ENGINE.setRangeValue(context, id, value, min, max, visible);
                ENGINE.paintSlider(g, context, id, gtkState,
                        ShadowType.OUT, "slider", x, y, w, h, orientation);
                ENGINE.finishPainting();
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

        public void paintIcon(SynthContext context, Graphics g, int x, int y,
                              int w, int h) {
            if (context != null) {
                JToolBar toolbar = (JToolBar)context.getComponent();
                Orientation orientation =
                        (toolbar.getOrientation() == JToolBar.HORIZONTAL ?
                            Orientation.HORIZONTAL : Orientation.VERTICAL);

                if (style == null) {
                    style = SynthLookAndFeel.getStyleFactory().getStyle(
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

        }

        public void paintIcon(SynthContext context, Graphics g, int x, int y,
                              int w, int h) {
            JToolBar toolbar = (JToolBar)context.getComponent();
            Orientation orientation =
                    (toolbar.getOrientation() == JToolBar.HORIZONTAL ?
                        Orientation.HORIZONTAL : Orientation.VERTICAL);

            if (style == null) {
                style = SynthLookAndFeel.getStyleFactory().getStyle(
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

        Region id = context.getRegion();
        int gtkState = GTKLookAndFeel.synthStateToGTKState(
                id, context.getComponentState());
        synchronized (UNIXToolkit.GTK_LOCK) {
            if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, dir)) {
                Orientation orientation = (dir == JSlider.HORIZONTAL ?
                    Orientation.HORIZONTAL : Orientation.VERTICAL);
                String detail = (dir == JSlider.HORIZONTAL ?
                    "hscale" : "vscale");
                ENGINE.startPainting(g, x, y, w, h, id, gtkState, dir);
                ENGINE.paintSlider(g, context, id, gtkState,
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

                                       int x, int y, int w, int h) {
        Region id = context.getRegion();
        int gtkState = GTKLookAndFeel.synthStateToGTKState(
                id, context.getComponentState());
        JSplitPane splitPane = (JSplitPane)context.getComponent();
        Orientation orientation =
                (splitPane.getOrientation() == JSplitPane.HORIZONTAL_SPLIT ?
                    Orientation.VERTICAL : Orientation.HORIZONTAL);
        synchronized (UNIXToolkit.GTK_LOCK) {
            if (! ENGINE.paintCachedImage(g, x, y, w, h,
                    id, gtkState, orientation)) {
View Full Code Here

Examples of com.sun.java.swing.plaf.gtk.GTKConstants.Orientation

        int gtkState = GTKLookAndFeel.synthStateToGTKState(
                id, context.getComponentState());
        synchronized (UNIXToolkit.GTK_LOCK) {
            if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, dir)) {
                ENGINE.startPainting(g, x, y, w, h, id, gtkState, dir);
                Orientation orientation = (dir == JScrollBar.HORIZONTAL ?
                    Orientation.HORIZONTAL : Orientation.VERTICAL);
                ENGINE.paintSlider(g, context, id, gtkState,
                        ShadowType.OUT, "slider", x, y, w, h, orientation);
                ENGINE.finishPainting();
            }
View Full Code Here

Examples of gwt.mosaic.client.ui.Orientation

    // Transforms a source value during a bind operation.
    BindMapping bindMapping = new BindMapping() {
      @Override
      public Object evaluate(Object value) {
        Orientation o = (Orientation) value;
        if (o == Orientation.HORIZONTAL) {
          return Orientation.VERTICAL;
        } else {
          return Orientation.HORIZONTAL;
        }
View Full Code Here

Examples of javafx.geometry.Orientation

      HBox hbox = new HBox();
      hbox.setAlignment(Pos.CENTER);
      hbox.setSpacing(3);
      buttonsPane=hbox;
    }
    Orientation orientation = verticalRightButton?Orientation.HORIZONTAL:Orientation.VERTICAL;

    buttonsPane.getChildren().addAll(resultForm.getController().getContributedButtons(messageProvider));   
    buttonsPane.getChildren().add(new Separator(orientation));
   
    MenuButton defaultFilterButton = new MenuButton("",new ImageView(new Image(getClass().getResourceAsStream("/de/scoopgmbh/copper/gui/icon/filter.png"))));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.