Remote Systems
v6.4.1

com.ibm.etools.systems.model.impl
Class SystemPreferenceChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ibm.etools.systems.model.impl.SystemPreferenceChangeEvent
All Implemented Interfaces:
ISystemPreferenceChangeEvent, ISystemResourceChangeEvents, Serializable

public class SystemPreferenceChangeEvent
extends EventObject
implements ISystemPreferenceChangeEvent

Event object sent to ISystemPreferenceChangeListeners when a remote system preference is changed.

See Also:
ISystemPreferenceChangeEvents, Serialized Form

Field Summary
static String copyright
           
 
Fields inherited from class java.util.EventObject
source
 
Fields inherited from interface com.ibm.etools.systems.model.ISystemResourceChangeEvents
EVENT_ADD, EVENT_ADD_FILTER_REFERENCE, EVENT_ADD_FILTERSTRING_REFERENCE, EVENT_ADD_MANY, EVENT_ADD_RELATIVE, EVENT_CHANGE_CHILDREN, EVENT_CHANGE_FILTER_REFERENCE, EVENT_CHANGE_FILTERSTRING_REFERENCE, EVENT_COLLAPSE_ALL, EVENT_COLLAPSE_SELECTED, EVENT_COMMAND_FINISHED, EVENT_COMMAND_HISTORY_UPDATE, EVENT_COMMAND_MESSAGE, EVENT_COMMAND_RUN, EVENT_COMMAND_SHELL_FINISHED, EVENT_COMMAND_SHELL_REMOVED, EVENT_COMPILE_COMMAND_RUN, EVENT_DELETE, EVENT_DELETE_FILTER_REFERENCE, EVENT_DELETE_FILTERSTRING_REFERENCE, EVENT_DELETE_MANY, EVENT_EXPAND_SELECTED, EVENT_ICON_CHANGE, EVENT_MOVE_FILTER_REFERENCES, EVENT_MOVE_FILTERSTRING_REFERENCES, EVENT_MOVE_MANY, EVENT_MUST_COLLAPSE, EVENT_PROPERTY_CHANGE, EVENT_PROPERTYSHEET_UPDATE, EVENT_REFRESH, EVENT_REFRESH_REMOTE, EVENT_REFRESH_SELECTED, EVENT_REFRESH_SELECTED_FILTER, EVENT_REFRESH_SELECTED_PARENT, EVENT_RENAME, EVENT_RENAME_FILTER_REFERENCE, EVENT_REPLACE_CHILDREN, EVENT_REVEAL_AND_SELECT, EVENT_SEARCH_FINISHED, EVENT_SELECT, EVENT_SELECT_EXPAND, EVENT_SELECT_REMOTE, PROPERTYSHEET_UPDATE_EVENT
 
Constructor Summary
SystemPreferenceChangeEvent(int type, Object oldValue, Object newValue)
          Constructor
 
Method Summary
 Object getNewValue()
          Return the new value after the change
 Object getOldValue()
          Return the old value prior to the change
 int getType()
          Return the type of the event
 void setNewValue(Object value)
          Return the new value after the change
 void setOldValue(Object value)
          Set the old value prior to the change
 void setType(int type)
          Set the type
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemPreferenceChangeEvent

public SystemPreferenceChangeEvent(int type,
                                   Object oldValue,
                                   Object newValue)
Constructor

Parameters:
type - The type of event, one of ISystemChangeEvent constants.
See Also:
ISystemPreferenceChangeEvents
Method Detail

getType

public int getType()
Return the type of the event

Specified by:
getType in interface ISystemPreferenceChangeEvent
Returns:
a type that is one of the constants in this interface
See Also:
ISystemPreferenceChangeEvents

getOldValue

public Object getOldValue()
Return the old value prior to the change

Specified by:
getOldValue in interface ISystemPreferenceChangeEvent

getNewValue

public Object getNewValue()
Return the new value after the change

Specified by:
getNewValue in interface ISystemPreferenceChangeEvent

setType

public void setType(int type)
Set the type

Specified by:
setType in interface ISystemPreferenceChangeEvent
See Also:
ISystemPreferenceChangeEvents

setOldValue

public void setOldValue(Object value)
Set the old value prior to the change


setNewValue

public void setNewValue(Object value)
Return the new value after the change


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.