ilog.views.appframe.util
Interface IlvPropertyManager

All Known Subinterfaces:
IlvDocument, IlvDocumentView, IlvFileDocument, IlvMDIViewContainer, IlvStreamDocument, IlvViewContainer
All Known Implementing Classes:
IlvAbstractDocument, IlvAbstractFileDocument, IlvAbstractStaticViewContainer, IlvApplication, IlvDataContainerDocument, IlvDataDocument, IlvDefaultPropertyManager, IlvDefaultStaticViewContainer, IlvDocumentTemplate, IlvDocumentViewSupport, IlvDOMDocument, IlvExplorerView, IlvFileDocumentTemplate, IlvInternalFrame, IlvMDITab, IlvPanelView, IlvProjectDocument, IlvTextDocument, IlvTextView, IlvTreeView, IlvWorkspaceDocument

public interface IlvPropertyManager

Interface for managing properties of an object.


Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds a listener that listens to the changes in the properties of this object.
 Object getProperty(String key)
          Returns the property of this object with the specified key.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes the specified listener from the list of PropertyChange listeners managed by this object.
 Object setProperty(String key, Object value)
          Changes the value of one of the properties of this object.
 

Method Detail

setProperty

Object setProperty(String key,
                   Object value)
Changes the value of one of the properties of this object. If the value has changed, a PropertyChangeEvent is sent to property change listeners.

Parameters:
key - The non-null property key.
value - An Object value. If it is equal to null, the property with the specified key will be removed.
Returns:
The previous value of the property.
See Also:
getProperty(java.lang.String)

getProperty

Object getProperty(String key)
Returns the property of this object with the specified key.

Parameters:
key - The non-null property key.
Returns:
The value of the specified property or null if the specified property was not found.
See Also:
setProperty(java.lang.String, java.lang.Object)

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener that listens to the changes in the properties of this object.

Parameters:
listener - The listener to add.
See Also:
removePropertyChangeListener(java.beans.PropertyChangeListener)

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Removes the specified listener from the list of PropertyChange listeners managed by this object.

Parameters:
listener - The listener to remove.
See Also:
addPropertyChangeListener(java.beans.PropertyChangeListener)


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.