Class IdGenerator


  • public class IdGenerator
    extends Object
    Id generator. Used to generate id for graphical scheme items.
    • Constructor Detail

      • IdGenerator

        public IdGenerator()
    • Method Detail

      • generateId

        public int generateId()
        Generates next item id.
        Returns:
        next item id.
      • setCurrentId

        public void setCurrentId​(int id)
        Sets current id.
        Parameters:
        id - - current id.
      • getCurrentId

        public int getCurrentId()
        Returns current id.
        Returns:
        current id.