edu.cs.ai.kreator.ui.gui.listener
Interface StainedListener

All Known Implementing Classes:
AbstractKreatorFile, DataFile, GraphicalUserInterface, KnowledgebaseFile, KreatorScript, OtherFile, Project, SampleCollection, TabTitle

public interface StainedListener

An object of a Component class implementing an addStainedListener(StainedListener) method can be observed by an FileTab or other Stainable. The component can sent a notification to the Observer 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"