Codota Logo
HighlightPainterUtils.paintHighlight
Code IndexAdd Codota to your IDE (free)

How to use
paintHighlight
method
in
org.pushingpixels.substance.internal.painter.HighlightPainterUtils

Best Java code snippets using org.pushingpixels.substance.internal.painter.HighlightPainterUtils.paintHighlight (Showing top 17 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.github.insubstantial/substance-swingx

  .paintHighlight(graphics, null, group, new Rectangle(0, 0,
      group.getWidth(), getTitleHeight(group)), 0.5f,
      null, baseFillScheme, baseBorderScheme);
HighlightPainterUtils.paintHighlight(graphics, null, group,
    new Rectangle(0, 0, group.getWidth(),
        getTitleHeight(group)), 0.5f, null, fillScheme,
origin: com.github.insubstantial/substance-swingx

      monthView, SubstanceColorSchemeUtilities
          .getHighlightAlpha(monthView, currState), g));
  HighlightPainterUtils.paintHighlight(graphics, null, monthView,
      bounds, 0.5f, null, currFillScheme, currBorderScheme);
} else {
            .getHighlightAlpha(monthView, activeState)
    HighlightPainterUtils.paintHighlight(graphics, null,
        monthView, bounds, 0.5f, null, fillScheme,
        borderScheme);
origin: com.github.insubstantial/substance

        backgroundState);
HighlightPainterUtils.paintHighlight(g2d, null, this.header,
    new Rectangle(0, 0, this.getWidth(), this.getHeight()),
    0.0f, null, fillScheme, borderScheme);
origin: org.java.net.substance/substance

        backgroundState);
HighlightPainterUtils.paintHighlight(g2d, null, this.header,
    new Rectangle(0, 0, this.getWidth(), this.getHeight()),
    0.0f, null, fillScheme, borderScheme);
origin: org.java.net.substance/substance

graphics.setComposite(LafWidgetUtilities.getAlphaComposite(
    menuItem, alpha, g));
HighlightPainterUtils.paintHighlight(graphics, null, menuItem,
    new Rectangle(0, 0, menuItem.getWidth(), menuItem
        .getHeight()), borderAlpha, null, fillScheme,
origin: com.github.insubstantial/substance-swingx

        ColorSchemeAssociationKind.HIGHLIGHT_BORDER,
        componentState);
HighlightPainterUtils.paintHighlight(g2d, null, monthView, page, 0.5f,
    null, bgFillScheme, bgBorderScheme);
g2d.setComposite(LafWidgetUtilities.getAlphaComposite(monthView, g));
      SubstanceColorSchemeUtilities.getHighlightAlpha(monthView,
          currState), g));
  HighlightPainterUtils.paintHighlight(g2d, null, monthView, page,
      0.5f, null, currFillScheme, currBorderScheme);
} else {
            .getHighlightAlpha(monthView, activeState)
    HighlightPainterUtils.paintHighlight(g2d, null, monthView,
        page, 0.5f, null, fillScheme, borderScheme);
origin: org.java.net.substance/substance

g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
    this.header, alpha, g));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererPane, cellRect, 0.8f,
    null, fillScheme, borderScheme);
g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
    this.header, alpha, g));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererPane, cellRect, 0.8f,
    null, fillScheme, borderScheme);
origin: com.github.insubstantial/substance

g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
    this.header, alpha, g));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererPane, cellRect, 0.8f,
    null, fillScheme, borderScheme);
g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
    this.header, alpha, g));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererPane, cellRect, 0.8f,
    null, fillScheme, borderScheme);
origin: com.github.insubstantial/substance

graphics.setComposite(LafWidgetUtilities.getAlphaComposite(
    menuItem, alpha, g));
HighlightPainterUtils.paintHighlight(graphics, null, menuItem,
    new Rectangle(0, 0, menuItem.getWidth(), menuItem
        .getHeight()), borderAlpha, null, fillScheme,
origin: org.java.net.substance/substance

        currState);
Rectangle cellRect = new Rectangle(cx, cy, cw, ch);
HighlightPainterUtils.paintHighlight(g2d, this.rendererPane,
    rendererComponent, cellRect, 0.8f, null, fillScheme,
    borderScheme);
      g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
          list, alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent, cellRect,
          0.8f, null, fillScheme, borderScheme);
      g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
          list, alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent, cellRect,
          0.8f, null, fillScheme, borderScheme);
origin: com.github.insubstantial/substance

        currState);
Rectangle cellRect = new Rectangle(cx, cy, cw, ch);
HighlightPainterUtils.paintHighlight(g2d, this.rendererPane,
    rendererComponent, cellRect, 0.8f, null, fillScheme,
    borderScheme);
      g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
          list, alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent, cellRect,
          0.8f, null, fillScheme, borderScheme);
      g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
          list, alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent, cellRect,
          0.8f, null, fillScheme, borderScheme);
origin: org.java.net.substance/substance

  g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
      this.table, alpha, g));
  HighlightPainterUtils.paintHighlight(g2d,
      this.rendererPane, component, highlightRect,
      highlightBorderAlpha, highlightOpenSides,
  g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
      this.table, alpha, g));
  HighlightPainterUtils.paintHighlight(g2d,
      this.rendererPane, component, highlightRect,
      highlightBorderAlpha, highlightOpenSides,
        .getComponentFontSize(this.table
            .getTableHeader()));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererComponent,
    new Rectangle(highlightCellRect.x - (int) extra,
    g2d.setComposite(LafWidgetUtilities
        .getAlphaComposite(this.table, alpha, g));
    HighlightPainterUtils.paintHighlight(g2d,
        this.rendererPane, rendererComponent,
        highlightRect, highlightBorderAlpha,
              .getAlphaComposite(this.table,
                  alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent,
          highlightRect, highlightBorderAlpha,
origin: com.github.insubstantial/substance

  g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
      this.table, alpha, g));
  HighlightPainterUtils.paintHighlight(g2d,
      this.rendererPane, component, highlightRect,
      highlightBorderAlpha, highlightOpenSides,
  g2d.setComposite(LafWidgetUtilities.getAlphaComposite(
      this.table, alpha, g));
  HighlightPainterUtils.paintHighlight(g2d,
      this.rendererPane, component, highlightRect,
      highlightBorderAlpha, highlightOpenSides,
        .getComponentFontSize(this.table
            .getTableHeader()));
HighlightPainterUtils.paintHighlight(g2d,
    this.rendererPane, rendererComponent,
    new Rectangle(highlightCellRect.x - (int) extra,
    g2d.setComposite(LafWidgetUtilities
        .getAlphaComposite(this.table, alpha, g));
    HighlightPainterUtils.paintHighlight(g2d,
        this.rendererPane, rendererComponent,
        highlightRect, highlightBorderAlpha,
      g2d.setComposite(LafWidgetUtilities
          .getAlphaComposite(this.table, alpha, g));
      HighlightPainterUtils.paintHighlight(g2d,
          this.rendererPane, rendererComponent,
          highlightRect, highlightBorderAlpha,
origin: com.github.insubstantial/substance

@Override
public void update(Graphics g, JComponent c) {
  // fix for issue 175 - table header under resize mode off
  // was painted in color scheme-agnostic (gray) color.
  boolean isEnabled = this.header.isEnabled();
  if (this.header.getTable() != null) {
    // fix for issue 472 - handle standalone table headers
    isEnabled = isEnabled && this.header.getTable().isEnabled();
  }
  ComponentState backgroundState = isEnabled ? ComponentState.ENABLED
      : ComponentState.DISABLED_UNSELECTED;
  // fix for issue 360 - respect the clip bounds of the
  // table header
  Rectangle clip = g.getClipBounds();
  if (clip == null)
    clip = c.getBounds();
  // do not use the highlight scheme for painting the
  // table header background
  SubstanceColorScheme fillScheme = SubstanceColorSchemeUtilities
      .getColorScheme(c, backgroundState);
  SubstanceColorScheme borderScheme = SubstanceColorSchemeUtilities
      .getColorScheme(c, ColorSchemeAssociationKind.BORDER,
          backgroundState);
  HighlightPainterUtils.paintHighlight(g, null, c, clip, 0.0f, null,
      fillScheme, borderScheme);
  paint(g, c);
}
origin: org.java.net.substance/substance

      .getColorScheme(tree, ColorSchemeAssociationKind.BORDER,
          currState);
  HighlightPainterUtils.paintHighlight(g2d, this.rendererPane,
      renderer, rowRectangle, 0.8f, null, scheme, borderScheme);
} else {
        HighlightPainterUtils.paintHighlight(g2d,
            this.rendererPane, renderer, rowRectangle,
            0.8f, null, fillScheme, borderScheme);
        HighlightPainterUtils.paintHighlight(g2d,
            this.rendererPane, renderer, rowRectangle,
            0.8f, null, fillScheme, borderScheme);
origin: org.java.net.substance/substance

@Override
public void update(Graphics g, JComponent c) {
  // fix for issue 175 - table header under resize mode off
  // was painted in color scheme-agnostic (gray) color.
  boolean isEnabled = this.header.isEnabled();
  if (this.header.getTable() != null) {
    // fix for issue 472 - handle standalone table headers
    isEnabled = isEnabled && this.header.getTable().isEnabled();
  }
  ComponentState backgroundState = isEnabled ? ComponentState.ENABLED
      : ComponentState.DISABLED_UNSELECTED;
  // fix for issue 360 - respect the clip bounds of the
  // table header
  Rectangle clip = g.getClipBounds();
  if (clip == null)
    clip = c.getBounds();
  // do not use the highlight scheme for painting the
  // table header background
  SubstanceColorScheme fillScheme = SubstanceColorSchemeUtilities
      .getColorScheme(c, backgroundState);
  SubstanceColorScheme borderScheme = SubstanceColorSchemeUtilities
      .getColorScheme(c, ColorSchemeAssociationKind.BORDER,
          backgroundState);
  HighlightPainterUtils.paintHighlight(g, null, c, clip, 0.0f, null,
      fillScheme, borderScheme);
  paint(g, c);
}
origin: com.github.insubstantial/substance

      .getColorScheme(tree, ColorSchemeAssociationKind.BORDER,
          currState);
  HighlightPainterUtils.paintHighlight(g2d, this.rendererPane,
      renderer, rowRectangle, 0.8f, null, scheme, borderScheme);
} else {
        HighlightPainterUtils.paintHighlight(g2d,
            this.rendererPane, renderer, rowRectangle,
            0.8f, null, fillScheme, borderScheme);
        HighlightPainterUtils.paintHighlight(g2d,
            this.rendererPane, renderer, rowRectangle,
            0.8f, null, fillScheme, borderScheme);
org.pushingpixels.substance.internal.painterHighlightPainterUtilspaintHighlight

Javadoc

Paints the highlight for the specified component.

Popular methods of HighlightPainterUtils

  • createHighlighterImage
  • paintHighlightBorder
    Paints the highlight border for the specified component.

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getExternalFilesDir (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now