Class MissingIcon

java.lang.Object
be.gaudry.model.drawing.MissingIcon
All Implemented Interfaces:
Icon

public class MissingIcon extends Object implements Icon
The "missing icon" is a white box with a black border and a red x. It's used to display something when there are errors on loading an icon from an external location. Provided by the broldev.core.model project.
Since:
1.0 Feb 27, 2009, broldev.core.model 0.0.1-SNAPSHOT dependency
Version:
1.0 Feb 27, 2009
Author:
Steph GAUDRY
  • Constructor Details

    • MissingIcon

      public MissingIcon()
      Creates a new white box with a black border and a red x with a default size of 32x32.
    • MissingIcon

      public MissingIcon(int width, int height)
      Creates a new white box with a black border and a red x. If one parameter is less than 0, it will be set to 0.
      Parameters:
      width - width of the placeholder
      height - height of the placeholder
    • MissingIcon

      public MissingIcon(IBrolImage brolImage)
      Creates a new white box with a black border and a red x. The icon's dimensions are given by the IBrolImage parameter. If one parameter is less than 0, it will be set to 0. See the logging information to know how the logging is implemented.w the logging is implemented.
      Parameters:
      brolImage - for wich the associated resource is not available
  • Method Details