apollo.config
Class PropSchemeChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by apollo.config.PropSchemeChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class PropSchemeChangeEvent
extends java.util.EventObject

Should this be called TierChangeEvent or TypeChangeEvent - it fires for just tiers changing. However the granularity of information is the whole prop scheme - all types - so even if only a single tier has changed this event doesnt convey such detail. It could even be called PropertySchemeChangeEvent, as all you know is that the PropertyScheme has changed. Should it carry more info about tier or type or is that not necasary? FeatureTierManager and TypePanel are the main 2 consumers of this event, both of which go through the whole prop scheme. If this event ever does convey the details of the change, it should be renamed, but i dont think this will happen as it doesnt seem necasary.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropSchemeChangeEvent(java.lang.Object source, PropertyScheme properties)
           
 
Method Summary
 PropertyScheme getPropertyScheme()
           
 java.lang.Object getSource()
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropSchemeChangeEvent

public PropSchemeChangeEvent(java.lang.Object source,
                             PropertyScheme properties)
Method Detail

getPropertyScheme

public PropertyScheme getPropertyScheme()

getSource

public java.lang.Object getSource()
Overrides:
getSource in class java.util.EventObject