Package org.pushingpixels.substance.internal.utils.border

Examples of org.pushingpixels.substance.internal.utils.border.SubstanceBorder


    // and register the maps
    this.setInputMap(WHEN_IN_FOCUSED_WINDOW, inputMap);
    this.setActionMap(actionMap);

    this.setBorder(new SubstanceBorder());

    this.zoom = 1.0;
  }
View Full Code Here


  @Override
  protected void installDefaults() {
    super.installDefaults();
    Border curr = this.desktop.getBorder();
    if ((curr == null) || (curr instanceof UIResource)) {
      this.desktop.setBorder(new SubstanceBorder());
    }
  }
View Full Code Here

   * @see javax.swing.plaf.basic.BasicComboPopup#configurePopup()
   */
  @Override
  protected void configurePopup() {
    super.configurePopup();
    setBorder(new SubstanceBorder(new Insets(0, 2, 2, 2)));
  }
View Full Code Here

    FadeState focusState = SubstanceFadeUtilities.getFadeState(table,
        cellFocusId, FadeKind.FOCUS);

    Insets regInsets = ui.getCellRendererInsets();
    if (hasFocus || (focusState != null)) {
      SubstanceBorder border = new SubstanceBorder(regInsets);

      // System.out.println("[" + row + ":" + column + "] hasFocus : "
      // + hasFocus + ", focusState : " + focusState);
      if (focusState != null) {
        border.setAlpha(focusState.getFadePosition());
      }

      // special case for tables with no grids
      if (!table.getShowHorizontalLines()
          && !table.getShowVerticalLines()) {
View Full Code Here

        // focus can be only on one cell).
        cellFocusId.setExactComparison(true);
        FadeState focusState = SubstanceFadeUtilities.getFadeState(
            table, cellFocusId, FadeKind.FOCUS);
        if (hasFocus || (focusState != null)) {
          SubstanceBorder border = new SubstanceBorder();
          if (focusState != null) {
            border.setAlpha(focusState.getFadePosition());
          }
          this.setBorder(border);
        } else {
          this.setBorder(BooleanRenderer.noFocusBorder);
        }
View Full Code Here

  @Override
  protected void installDefaults() {
    super.installDefaults();
    Border curr = this.desktop.getBorder();
    if ((curr == null) || (curr instanceof UIResource)) {
      this.desktop.setBorder(new SubstanceBorder());
    }
  }
View Full Code Here

   * @see javax.swing.plaf.basic.BasicComboPopup#configurePopup()
   */
  @Override
  protected void configurePopup() {
    super.configurePopup();
    setBorder(new SubstanceBorder(new Insets(0, 2, 2, 2)));
  }
View Full Code Here

      // and register the maps
      this.setInputMap(WHEN_IN_FOCUSED_WINDOW, inputMap);
      this.setActionMap(actionMap);
    }

    this.setBorder(new SubstanceBorder());

    this.zoom = 1.0;
  }
View Full Code Here

TOP

Related Classes of org.pushingpixels.substance.internal.utils.border.SubstanceBorder

Copyright © 2018 www.massapicom. 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.