Class DefaultSelectedPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SetListener, Startupable

public class DefaultSelectedPanel extends SelectedPanel implements SetListener
The DefaultSelectedPanel. The selected modules are organized as tabs.
See Also:
  • Field Details

  • Constructor Details

    • DefaultSelectedPanel

      @Inject public DefaultSelectedPanel(Format format, SelectedModules selectedModules, FileChooser fileChooser)
      Constructs a DefaultSelectedPanel.
      Parameters:
      format - the format
      selectedModules - the selected modules
      fileChooser - the file chooser
  • Method Details

    • init

      @Inject public void init()
      Registers the listeners.
    • startup

      public void startup()
      Description copied from interface: Startupable
      Called on startup of panels.
      Specified by:
      startup in interface Startupable
    • addModule

      protected void addModule(PropertyModule module)
      Adds a module to the panel.
      Parameters:
      module - the module to add
    • removeModule

      protected void removeModule(PropertyModule module)
      Removes a module from the panel.
      Parameters:
      module - the module to remove
    • updateTabNames

      protected void updateTabNames()
      Update the tab names. Consider multiple tabs of the same module.
    • moduleAdded

      public void moduleAdded(Collection<PropertyModule> collection, PropertyModule module)
      Description copied from interface: SetListener
      Invoked if a PropertyModule is added.
      Specified by:
      moduleAdded in interface SetListener
      Parameters:
      collection - the collection of modules
      module - the added modules
    • moduleRemoved

      public void moduleRemoved(Collection<PropertyModule> collection, PropertyModule module)
      Description copied from interface: SetListener
      Invoked if a PropertyModule is removed.
      Specified by:
      moduleRemoved in interface SetListener
      Parameters:
      collection - the collection of modules
      module - the removed modules