org.xnap.util
Interface PreferencesProvider

All Known Subinterfaces:
TablePreferencesProvider
All Known Implementing Classes:
AbstractPluginPreferences, AzureusPreferences, GiFTPreferences, JOscarPreferences, JTellaPreferences, LimeWirePreferences, OAVPreferences, OpenNapPreferences, OvernetPreferences, PircBotPreferences, Preferences, VorbisViewerPreferences, ZipViewerPreferences

public interface PreferencesProvider

Defines the requirements for classes that provide preferences support for tables. The preferences are used to manage column ordering, column sizes and the maintain sortorder setting.


Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void addPropertyChangeListener(java.lang.String key, java.beans.PropertyChangeListener l)
           
 java.lang.String get(java.lang.String key)
          Returns the String value to which the specified key is mapped.
 boolean getBoolean(java.lang.String key)
          Returns the boolean value to which the specified key is mapped.
 javax.swing.KeyStroke getKeyStroke(java.lang.String key)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void removePropertyChangeListener(java.lang.String key, java.beans.PropertyChangeListener l)
           
 void set(java.lang.String key, boolean value)
           
 void set(java.lang.String key, javax.swing.KeyStroke value)
           
 void set(java.lang.String key, java.lang.String value)
           
 

Method Detail

addPropertyChangeListener

void addPropertyChangeListener(java.beans.PropertyChangeListener l)

addPropertyChangeListener

void addPropertyChangeListener(java.lang.String key,
                               java.beans.PropertyChangeListener l)

get

java.lang.String get(java.lang.String key)
Returns the String value to which the specified key is mapped.


getBoolean

boolean getBoolean(java.lang.String key)
Returns the boolean value to which the specified key is mapped.


getKeyStroke

javax.swing.KeyStroke getKeyStroke(java.lang.String key)

set

void set(java.lang.String key,
         java.lang.String value)

set

void set(java.lang.String key,
         boolean value)

set

void set(java.lang.String key,
         javax.swing.KeyStroke value)

removePropertyChangeListener

void removePropertyChangeListener(java.beans.PropertyChangeListener l)

removePropertyChangeListener

void removePropertyChangeListener(java.lang.String key,
                                  java.beans.PropertyChangeListener l)


Copyright © 2001-2005 XNap Team. All Rights Reserved.