Class Zorder

    • Field Detail

      • GUI

        public static final Zorder GUI
        Z order to display GUI elements, nearly the highest value.
      • ZERO

        public static final Zorder ZERO
        Z order to bottom elements.
    • Constructor Detail

      • Zorder

        public Zorder​(int z)
        Constructor, wrap the int value as Z order.
        Parameters:
        z - Z value.
    • Method Detail

      • add

        public Zorder add​(int toAdd)
        Create a new Zorder with a Z value added to the one of this object.
        Parameters:
        toAdd - Z value to add.
        Returns:
        A new Zorder with Z value being the addition of this Z and the parameter value.
      • getValue

        public int getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object