MinimumSizedIcon (JGoodies Looks 2.6 API)
Date: 2015-01-03

com.jgoodies.looks.common

## Class MinimumSizedIcon

- java.lang.Object
- - com.jgoodies.looks.common.MinimumSizedIcon

- All Implemented Interfaces:
    Icon
  Direct Known Subclasses:
    MinimumSizedCheckIcon

      public class MinimumSizedIcon
      extends Object
      implements Icon

  An `Icon` with a minimum size that is read from the `UIManager` `defaultIconSize` key.
  Version:
    $Revision: 1.9 $
  Author:
    Karsten Lentzsch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MinimumSizedIcon()`
    `MinimumSizedIcon(Icon icon)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getIconHeight()`
    `int` | `getIconWidth()`
    `void` | `paintIcon(Component c, Graphics g, int x, int y)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MinimumSizedIcon

          public MinimumSizedIcon()

    - #### MinimumSizedIcon

          public MinimumSizedIcon(Icon icon)

  - ### Method Detail

    - #### getIconHeight

          public int getIconHeight()

      Specified by:
        `getIconHeight` in interface `Icon`

    - #### getIconWidth

          public int getIconWidth()

      Specified by:
        `getIconWidth` in interface `Icon`

    - #### paintIcon

          public void paintIcon(Component c,
                       Graphics g,
                       int x,
                       int y)

      Specified by:
        `paintIcon` in interface `Icon`

Copyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.