Class AbstractManagerList

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
ManagerAdminPage, ManagerExploit, ManagerFile, ManagerScan

public abstract class AbstractManagerList extends JPanel
Abstract manager containing a drag and drop list of item.
See Also:
  • Field Details

    • PRIVILEGE_TOOLTIP

      public static final String PRIVILEGE_TOOLTIP
      See Also:
    • itemsList

      protected final transient List<ItemList> itemsList
    • lastLine

      protected final JPanel lastLine
    • listPaths

      protected DnDList listPaths
      Contains the paths of files.
    • scrollListPaths

      protected final JScrollPane scrollListPaths
    • run

      protected JButtonStateful run
      Starts the upload process.
    • privilege

      protected JLabel privilege
      Display the FILE privilege of current user.
    • labelI18nRunButton

      protected String labelI18nRunButton
      Text of the button that start the upload process. Used to get back the default text after a search (defaultText->"Stop"->defaultText).
    • tooltipI18nRunButton

      protected String tooltipI18nRunButton
    • progressBar

      protected final JProgressBar progressBar
      An animated bar displayed during processing.
    • horizontalGlue

      protected final Component horizontalGlue
  • Constructor Details

    • AbstractManagerList

      protected AbstractManagerList(String nameFile)
  • Method Details

    • buildRunButton

      public void buildRunButton(String labelI18n, String tooltipI18n)
    • buildList

      public void buildList(String nameFile)
    • buildPrivilege

      public void buildPrivilege()
    • addToList

      public void addToList(String element)
      Add a new string to the list if it's not a duplicate.
      Parameters:
      element - The string to add to the list
    • highlight

      public void highlight(String url, String tag)
    • endProcess

      public void endProcess()
    • setButtonEnable

      public void setButtonEnable(boolean isEnable)
      Enable or disable the button.
      Parameters:
      isEnable - The new state of the button
    • changePrivilegeIcon

      public void changePrivilegeIcon(Icon icon)
      Display another icon to the Privilege label.
      Parameters:
      icon - The new icon