Class TreePanelKernelListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id
      Listener ID
      protected java.lang.Runnable refresh
      Refresh Operation
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void componentTypesAdded​(java.lang.String[] types)
      Called when component types become unavailable.
      void componentTypesRemoved​(java.lang.String[] types)
      Called when new component types become available.
      boolean equals​(java.lang.Object obj)
      Returns whether an object is equal.
      java.lang.String getId()
      Gets the ID.
      int hashCode()
      Generates a hash code.
      • Methods inherited from class java.lang.Object

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

      • refresh

        protected java.lang.Runnable refresh
        Refresh Operation
      • id

        protected java.lang.String id
        Listener ID
    • Constructor Detail

      • TreePanelKernelListener

        public TreePanelKernelListener​(java.lang.String id,
                                       javax.swing.JTree tree,
                                       ModelFileFilterMenuItemConstructor mffmic)
        Creates a new Panel Kernel Listener.
        Parameters:
        id - ID of the listener.
        tree - The GUI tree.
        mffmic - The file filter.
    • Method Detail

      • componentTypesRemoved

        public void componentTypesRemoved​(java.lang.String[] types)
        Called when new component types become available.
        Specified by:
        componentTypesRemoved in interface IMultiKernelListener
        Parameters:
        types - Added component types.
      • componentTypesAdded

        public void componentTypesAdded​(java.lang.String[] types)
        Called when component types become unavailable.
        Specified by:
        componentTypesAdded in interface IMultiKernelListener
        Parameters:
        types - Removed component types.
      • getId

        public java.lang.String getId()
        Gets the ID.
        Returns:
        The ID.
      • hashCode

        public int hashCode()
        Generates a hash code.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code.
      • equals

        public boolean equals​(java.lang.Object obj)
        Returns whether an object is equal.
        Overrides:
        equals in class java.lang.Object
        Returns:
        True, if the object is equal.