Class FilePanelEntry

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
FilePanel

public class FilePanelEntry extends HorizontalPanel implements ActionListener
See Also:
  • Constructor Details

    • FilePanelEntry

      public FilePanelEntry()
    • FilePanelEntry

      public FilePanelEntry(String label)
    • FilePanelEntry

      public FilePanelEntry(String label, String... exts)
    • FilePanelEntry

      public FilePanelEntry(String label, boolean onlyDirectories, String... exts)
    • FilePanelEntry

      public FilePanelEntry(String label, ChangeListener listener, String... exts)
    • FilePanelEntry

      public FilePanelEntry(String label, boolean onlyDirectories, ChangeListener listener, String... exts)
  • Method Details

    • addChangeListener

      public final void addChangeListener(ChangeListener l)
    • clearGui

      public void clearGui()
    • enableFile

      public void enableFile(boolean enable)
      If the gui needs to enable/disable the FilePanel, call the method.
      Parameters:
      enable - The Flag whether the FilePanel should be enabled
    • getFilename

      public String getFilename()
      Gets the filename attribute of the FilePanel object.
      Returns:
      the filename value
    • setFilename

      public void setFilename(String f)
      Sets the filename attribute of the FilePanel object.
      Parameters:
      f - the new filename value
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener