Class IconDescriptor.Dimension

java.lang.Object
de.aristaflow.adept2.model.common.IconDescriptor.Dimension
All Implemented Interfaces:
Serializable
Enclosing interface:
IconDescriptor

public static class IconDescriptor.Dimension extends Object implements Serializable
Simple class for a dimension, that is a width and a height in pixel used for icons.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The height in pixel.
    final int
    The width in pixel.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Dimension(int width, int height)
    Creates a new dimension with the designated width and height.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • width

      public final int width
      The width in pixel.
    • height

      public final int height
      The height in pixel.
  • Constructor Details

    • Dimension

      public Dimension(int width, int height)
      Creates a new dimension with the designated width and height.
      Parameters:
      width - The width in pixel.
      height - The height in pixel.
  • Method Details