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

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

public final class PartialFileSharingPaneItem
extends AbstractPaneItem

Allows the user to change whether or not partial files are shared.


Field Summary
 
Fields inherited from class com.limegroup.gnutella.gui.options.panes.AbstractPaneItem
MEDIATOR
 
Constructor Summary
PartialFileSharingPaneItem(java.lang.String key)
          The constructor constructs all of the elements of this AbstractPaneItem.
 
Method Summary
 void applyOptions()
          Implements the PaneItem interface.
 void initOptions()
          Implements the PaneItem interface.
 
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

PartialFileSharingPaneItem

public PartialFileSharingPaneItem(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()
Description copied from class: AbstractPaneItem
Implements the PaneItem interface.

Sets the options for the fields in this PaneItem when the window is shown. Subclasses must define this method to set their initial options when the options window is shown.

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

applyOptions

public void applyOptions()
                  throws java.io.IOException
Description copied from class: AbstractPaneItem
Implements the PaneItem interface.

Applies the options currently set in this PaneItem.

Subclasses must define this method to apply their specific options.

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