Class EmptyRadianceIcon

java.lang.Object
org.pushingpixels.radiance.component.api.common.icon.EmptyRadianceIcon
All Implemented Interfaces:
Icon, RadianceIcon

public class EmptyRadianceIcon extends Object implements RadianceIcon
Implementation of RadianceIcon that paints nothing.
  • Field Details

    • width

      protected int width
      The current icon width.
    • height

      protected int height
      The current icon height.
  • Constructor Details

    • EmptyRadianceIcon

      public EmptyRadianceIcon(Dimension initialDim)
      Creates a new empty resizable icon of the specified size.
      Parameters:
      initialDim - Initial dimension of the icon.
    • EmptyRadianceIcon

      public EmptyRadianceIcon(int initialDim)
      Creates a new empty resizable icon of the specified size.
      Parameters:
      initialDim - Initial dimension of the icon.
  • Method Details