Class ChangeSupport


  • public abstract class ChangeSupport
    extends Object
    Since:
    1.0
    • Constructor Detail

      • ChangeSupport

        public ChangeSupport​(Realm realm)
        Parameters:
        realm -
    • Method Detail

      • firstListenerAdded

        protected abstract void firstListenerAdded()
      • lastListenerRemoved

        protected abstract void lastListenerRemoved()
      • addChangeListener

        public void addChangeListener​(IChangeListener listener)
        Parameters:
        listener -
      • removeChangeListener

        public void removeChangeListener​(IChangeListener listener)
        Parameters:
        listener -
      • addStaleListener

        public void addStaleListener​(IStaleListener listener)
        Parameters:
        listener -
      • removeStaleListener

        public void removeStaleListener​(IStaleListener listener)
        Parameters:
        listener -
      • addDisposeListener

        public void addDisposeListener​(IDisposeListener listener)
        Parameters:
        listener -
        Since:
        1.2
      • removeDisposeListener

        public void removeDisposeListener​(IDisposeListener listener)
        Parameters:
        listener -
        Since:
        1.2
      • hasListeners

        protected boolean hasListeners()
      • dispose

        public void dispose()
      • getRealm

        public Realm getRealm()
        Returns:
        Returns the realm.