Codota Logo
SubstanceImageCreator.getTreeIcon
Code IndexAdd Codota to your IDE (free)

How to use
getTreeIcon
method
in
org.pushingpixels.substance.internal.utils.SubstanceImageCreator

Best Java code snippets using org.pushingpixels.substance.internal.utils.SubstanceImageCreator.getTreeIcon (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: com.github.insubstantial/substance

/**
 * Retrieves icon that matches the specified state of the slider thumb.
 * 
 * @return Icon that matches the specified state of the slider thumb.
 */
private static Icon getIcon(JTree tree, boolean isCollapsed) {
  ComponentState state = ((tree == null) || tree.isEnabled()) ? ComponentState.ENABLED
      : ComponentState.DISABLED_UNSELECTED;
  SubstanceColorScheme fillScheme = SubstanceColorSchemeUtilities
      .getColorScheme(tree, state);
  SubstanceColorScheme borderScheme = SubstanceColorSchemeUtilities
      .getColorScheme(tree, ColorSchemeAssociationKind.BORDER,
          state);
  int fontSize = SubstanceSizeUtils.getComponentFontSize(tree);
  HashMapKey key = SubstanceCoreUtilities.getHashKey(fontSize,
      fillScheme.getDisplayName(), borderScheme.getDisplayName(),
      isCollapsed);
  Icon result = TreeIcon.icons.get(key);
  if (result != null)
    return result;
  result = new ImageIcon(SubstanceImageCreator.getTreeIcon(tree,
      fillScheme, borderScheme, isCollapsed));
  TreeIcon.icons.put(key, result);
  return result;
}
origin: org.java.net.substance/substance

  return result;
result = new ImageIcon(SubstanceImageCreator.getTreeIcon(tree,
    fillScheme, borderScheme, isCollapsed));
TreeIcon.icons.put(key, result);
org.pushingpixels.substance.internal.utilsSubstanceImageCreatorgetTreeIcon

Javadoc

Retrieves tree icon.

Popular methods of SubstanceImageCreator

  • getArrowIcon
    Returns arrow icon for the specified parameters.
  • crayonX
    Retrieves crayon X offset.
  • crayonY
    Retrieves crayon Y offset.
  • drawRadioMark
    Draws radio mark.
  • getArrow
    Retrieves arrow image.
  • getCheckBox
    Retrieves check box of the specified size that matches the specified component state.
  • getCheckMark
    Retrieves check mark image.
  • getCloseIcon
    Returns close icon.
  • getColorSchemeImage
    Creates a new version of the specified image that is rendered in the colors of the specified color s
  • getDoubleArrowIcon
    Retrieves arrow icon.
  • getDragImage
    Returns drag bumps image.
  • getHexaMarker
    Returns small icon representation of the specified integer value. The remainder of dividing the inte
  • getDragImage,
  • getHexaMarker,
  • getMaximizeIcon,
  • getMinimizeIcon,
  • getNegated,
  • getRadioButton,
  • getRestoreIcon,
  • getRotated,
  • getSearchIcon,
  • getSingleCrayon

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
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