com.limegroup.gnutella.gui.options.panes
Class AutoClearDownloadsPaneItem

java.lang.Object
  extended bycom.limegroup.gnutella.gui.options.panes.AbstractPaneItem
      extended bycom.limegroup.gnutella.gui.options.panes.AutoClearDownloadsPaneItem
All Implemented Interfaces:
PaneItem

public final class AutoClearDownloadsPaneItem
extends AbstractPaneItem

This class defines the panel in the options window that allows the user to specify whether or not completed or inactive downloads should be automatically cleared from the download window.


Field Summary
 
Fields inherited from class com.limegroup.gnutella.gui.options.panes.AbstractPaneItem
MEDIATOR
 
Constructor Summary
AutoClearDownloadsPaneItem(java.lang.String key)
          The constructor constructs all of the elements of this AbstractPaneItem.
 
Method Summary
 void applyOptions()
          Defines the abstract method in AbstractPaneItem.
 void initOptions()
          Defines the abstract method in AbstractPaneItem.
 
Methods inherited from class com.limegroup.gnutella.gui.options.panes.AbstractPaneItem
add, getContainer, getHorizontalSeparator, getVerticalSeparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoClearDownloadsPaneItem

public AutoClearDownloadsPaneItem(java.lang.String key)
The constructor constructs all of the elements of this AbstractPaneItem.

Parameters:
key - the key for this AbstractPaneItem that the superclass uses to generate locale-specific keys
Method Detail

initOptions

public void initOptions()
Defines the abstract method in AbstractPaneItem.

Sets the options for the fields in this PaneItem when the window is shown.

Specified by:
initOptions in interface PaneItem
Specified by:
initOptions in class AbstractPaneItem

applyOptions

public void applyOptions()
                  throws java.io.IOException
Defines the abstract method in AbstractPaneItem.

Applies the options currently set in this window, displaying an error message to the user if a setting could not be applied.

Specified by:
applyOptions in interface PaneItem
Specified by:
applyOptions in class AbstractPaneItem
Throws:
java.io.IOException - if the options could not be applied for some reason