com.leafdigital.prefs.api
Class PreferencesChangeMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.prefs.api.PreferencesChangeMsg

public class PreferencesChangeMsg
extends Msg

Sent when preferences change.


Field Summary
 
Fields inherited from class leafchat.core.api.Msg
PRIORITY_AFTERNORMAL, PRIORITY_BEFORENORMAL, PRIORITY_EARLY, PRIORITY_FIRST, PRIORITY_LAST, PRIORITY_LATE, PRIORITY_NORMAL
 
Constructor Summary
PreferencesChangeMsg(PreferencesGroup pg, java.lang.String name, java.lang.String oldValue, java.lang.String newValue)
           
 
Method Summary
 PreferencesGroup getGroup()
           
 java.lang.String getName()
           
 java.lang.String getNewValue()
           
 java.lang.String getOldValue()
           
 
Methods inherited from class leafchat.core.api.Msg
isHandled, isStopped, markHandled, markStopped, sequenceBefore, setSequence, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesChangeMsg

public PreferencesChangeMsg(PreferencesGroup pg,
                            java.lang.String name,
                            java.lang.String oldValue,
                            java.lang.String newValue)
Parameters:
pg - Group that changed
name - Preference within that group that changed
oldValue - Previous value
newValue - New value
Method Detail

getGroup

public PreferencesGroup getGroup()
Returns:
Property group this comes from

getName

public java.lang.String getName()
Returns:
Property name

getOldValue

public java.lang.String getOldValue()
Returns:
Previous value (null if unset)

getNewValue

public java.lang.String getNewValue()
Returns:
New value (null if unset)


Copyright © 2011 Samuel Marshall. All rights reserved.