Examples of VisualMargin


Examples of ch.randelshofer.quaqua.VisualMargin

        Object[] objects = new Object[]
        {
            "PopupMenu.border", new UIDefaults.ProxyLazyValue(MacMenuBorder.class.getName()),
            "Separator.background", Color.decode("#f4f4f4"),
            "Separator.foreground", Color.decode("#dadada"),
            "ComboBox.border", new VisualMargin(2,2,2,2),
            "ComboBox.dropDownIcon", makeButtonStateIcon(commonDir + "ComboBox.dropDownIcons.png", 6),
            "ComboBox.opaque", opaque,
            "ComboBox.popupIcon", makeButtonStateIcon(commonDir + "ComboBox.popupIcons.png", 6),
            "ComboBox.smallPopupIcon", makeButtonStateIcon(commonDir + "ComboBox.small.popupIcons.png", 6),
            "ComboBox.smallDropDownIcon", makeButtonStateIcon(commonDir + "ComboBox.small.dropDownIcons.png", 6),
View Full Code Here

Examples of org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.VisualMargin

  protected void installDefaults(JSlider slider) {
    super.installDefaults(slider);
    focusInsets = new Insets(0, 0, 0, 0);
    slider.setOpaque(false);
    if (slider.getOrientation() == JSlider.HORIZONTAL) {
      slider.setBorder(new VisualMargin(0, 1, -1, 1));
    } else {
      slider.setBorder(new VisualMargin(0, 0, 0, 1));
    }
    // slider.setRequestFocusEnabled(QuaquaManager.getBoolean("Slider.requestFocusEnabled"));
    slider.setRequestFocusEnabled(true);
  }
View Full Code Here

Examples of org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.VisualMargin

            slider.repaint();
          }
        }
      } else if (propertyName.equals("Orientation")) {
        if (slider.getOrientation() == JSlider.HORIZONTAL) {
          slider.setBorder(new VisualMargin(0, 1, -1, 1));
        } else {
          slider.setBorder(new VisualMargin(0, 0, 0, 1));
        }
      }

      super.propertyChange(e);
    }
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.