Class ChangedFlag

    • Constructor Detail

      • ChangedFlag

        public ChangedFlag()
    • Method Detail

      • deleteObserver

        public void deleteObserver​(IHopObserver o)
      • notifyObservers

        public void notifyObservers​(Object arg)
      • setChanged

        public void setChanged()
        Sets this as being changed.
        Specified by:
        setChanged in interface IChanged
      • setChanged

        public void setChanged​(boolean b)
        Sets whether or not this has changed.
        Specified by:
        setChanged in interface IChanged
        Parameters:
        ch - true if you want to mark this as changed, false otherwise
      • clearChanged

        public void clearChanged()
        Clears the changed flags.
        Specified by:
        clearChanged in interface IChanged
      • hasChanged

        public boolean hasChanged()
        Checks whether or not this has changed.
        Specified by:
        hasChanged in interface IChanged
        Returns:
        true if the this has changed, false otherwise