bibliothek.extension.gui.dock.preference
Interface PreferenceOperationViewListener


public interface PreferenceOperationViewListener

A listener that is added to a PreferenceOperation and receives events if the properties of the operation changes

Author:
Benjamin Sigg

Method Summary
 void descriptionChanged(PreferenceOperationView operation, String oldDescription, String newDescription)
          Called when the description of operation changed.
 void iconChanged(PreferenceOperationView operation, Icon oldIcon, Icon newIcon)
          Called when the icon of operation changed.
 

Method Detail

iconChanged

void iconChanged(PreferenceOperationView operation,
                 Icon oldIcon,
                 Icon newIcon)
Called when the icon of operation changed.

Parameters:
operation - the operation whose icon changed
oldIcon - the old icon, may be null
newIcon - the new icon, may be null

descriptionChanged

void descriptionChanged(PreferenceOperationView operation,
                        String oldDescription,
                        String newDescription)
Called when the description of operation changed.

Parameters:
operation - the operation whose text changed
oldDescription - the old text
newDescription - the new text