com.limegroup.gnutella.gui.tables
Class TableSettings

java.lang.Object
  extended bycom.limegroup.gnutella.gui.tables.TableSettings

public class TableSettings
extends java.lang.Object

Manages settings for tables and their associated components.


Field Summary
 com.limegroup.gnutella.settings.BooleanSetting DISPLAY_TOOLTIPS
          The setting for whether or not to display tooltips.
protected static com.limegroup.gnutella.settings.SettingsFactory FACTORY
          The SettingsFactory settings will be added/read to/from.
 com.limegroup.gnutella.settings.BooleanSetting REAL_TIME_SORT
          The setting for whether or not to sort in real time.
 com.limegroup.gnutella.settings.BooleanSetting ROWSTRIPE
          The setting for whether or not to rowstripe this table.
 
Constructor Summary
TableSettings(java.lang.String id)
          Constructs a new TableSettings whose settings are identified by the specified ID.
 
Method Summary
protected  boolean getDefaultRowStripe()
          Returns the default value for row striping.
protected  boolean getDefaultSorting()
          Returns the default value for sorting.
protected  boolean getDefaultTooltips()
          Returns the default value for displaying tooltips.
 boolean isDefault()
          Determines if all the options are already at their defaults.
 void revertToDefault()
          Reverts all options to their default for this table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

protected static final com.limegroup.gnutella.settings.SettingsFactory FACTORY
The SettingsFactory settings will be added/read to/from.


ROWSTRIPE

public com.limegroup.gnutella.settings.BooleanSetting ROWSTRIPE
The setting for whether or not to rowstripe this table.


REAL_TIME_SORT

public com.limegroup.gnutella.settings.BooleanSetting REAL_TIME_SORT
The setting for whether or not to sort in real time.


DISPLAY_TOOLTIPS

public com.limegroup.gnutella.settings.BooleanSetting DISPLAY_TOOLTIPS
The setting for whether or not to display tooltips.

Constructor Detail

TableSettings

public TableSettings(java.lang.String id)
Constructs a new TableSettings whose settings are identified by the specified ID.

Method Detail

getDefaultRowStripe

protected boolean getDefaultRowStripe()
Returns the default value for row striping.


getDefaultSorting

protected boolean getDefaultSorting()
Returns the default value for sorting.


getDefaultTooltips

protected boolean getDefaultTooltips()
Returns the default value for displaying tooltips.


revertToDefault

public void revertToDefault()
Reverts all options to their default for this table.


isDefault

public boolean isDefault()
Determines if all the options are already at their defaults.