Class ModelPropertyChangeListeners.ListenerContainer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.jmi.reflect.RefObject element  
      private java.lang.String propertyName  
    • Constructor Summary

      Constructors 
      Constructor Description
      ListenerContainer​(javax.jmi.reflect.RefObject element, java.lang.String propertyName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.jmi.reflect.RefObject getElement()  
      java.lang.String getPropertyName()  
      protected java.beans.PropertyChangeListener[] newArray​(int length)  
      boolean remove​(java.beans.PropertyChangeListener listener)
      Remove object from set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • element

        @CheckForNull
        private final javax.jmi.reflect.RefObject element
      • propertyName

        @CheckForNull
        private final java.lang.String propertyName
    • Constructor Detail

      • ListenerContainer

        public ListenerContainer​(@CheckForNull
                                 javax.jmi.reflect.RefObject element,
                                 @CheckForNull
                                 java.lang.String propertyName)
    • Method Detail

      • newArray

        protected java.beans.PropertyChangeListener[] newArray​(int length)
        Specified by:
        newArray in class OptimizedForSingleValueSet<java.beans.PropertyChangeListener>
      • getPropertyName

        @CheckForNull
        public java.lang.String getPropertyName()
      • getElement

        @CheckForNull
        public javax.jmi.reflect.RefObject getElement()
      • remove

        public boolean remove​(java.beans.PropertyChangeListener listener)
        Description copied from class: OptimizedForSingleValueSet
        Remove object from set
        Overrides:
        remove in class OptimizedForSingleValueSet<java.beans.PropertyChangeListener>
        Parameters:
        listener - object
        Returns:
        true if object was removed from the set