com.dlsc.flexgantt.icons

## Class BlankIcon

- java.lang.Object
- - com.dlsc.flexgantt.icons.BlankIcon

- All Implemented Interfaces:
    Icon

      public class BlankIcon
      extends Object
      implements Icon

  An empty (blank) icon often used for aligning menu items.
  Since:
    1.0
  Version:
    $Revision: 1.2 $
  Author:
    Dirk Lemmermann

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BlankIcon(int width, int height)` Constructs a new blank icon.

  - ### Method Summary

    All Methods Instance Methods Concrete 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

    - #### BlankIcon

          public BlankIcon(int width,
                           int height)

      Constructs a new blank icon.
      Parameters:
        `width` - the width of the icon
        `height` - the height of the icon
      Since:
        1.0

  - ### 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 © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.