net.sf.sdedit.ui.components
Interface StainedListener


public interface StainedListener

An object of a Component class implementing an addStainedListener(StainedListener) method can be observed by an ATabbedPane. The component can sent a notification to the ATabbedPane via the stainedStatusChanged(boolean) method, and the latter will then reflect that the component is stained.

Author:
Markus Strauch

Method Summary
 void stainedStatusChanged(boolean stained)
          This method is called by a Stainable in order to indicate that its stained/clean state has changed.
 

Method Detail

stainedStatusChanged

void stainedStatusChanged(boolean stained)
This method is called by a Stainable in order to indicate that its stained/clean state has changed.

Parameters:
stained - true if the state is "stained", false if it "clean"


Copyright © 2011. All Rights Reserved.