org.kabeja.ui.impl
Class AbstractPropertiesEditor

java.lang.Object
  extended by org.kabeja.ui.impl.AbstractPropertiesEditor
All Implemented Interfaces:
PropertiesEditor

public abstract class AbstractPropertiesEditor
extends java.lang.Object
implements PropertiesEditor


Field Summary
protected  java.util.ArrayList listeners
           
protected  java.util.Map properties
           
 
Fields inherited from interface org.kabeja.ui.PropertiesEditor
SERVICE
 
Constructor Summary
AbstractPropertiesEditor()
           
 
Method Summary
 void addPropertiesListener(PropertiesListener listener)
           
protected  void firePropertiesChangedEvent()
           
 java.util.Map getProperties()
          Returns the changed properties or properties provided by the properties editor.
 void removePropertiesListener(PropertiesListener listener)
           
 void setProperties(java.util.Map properties)
          Set the properties to edit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

protected java.util.ArrayList listeners

properties

protected java.util.Map properties
Constructor Detail

AbstractPropertiesEditor

public AbstractPropertiesEditor()
Method Detail

addPropertiesListener

public void addPropertiesListener(PropertiesListener listener)
Specified by:
addPropertiesListener in interface PropertiesEditor

getProperties

public java.util.Map getProperties()
Description copied from interface: PropertiesEditor
Returns the changed properties or properties provided by the properties editor.

Specified by:
getProperties in interface PropertiesEditor
Returns:

removePropertiesListener

public void removePropertiesListener(PropertiesListener listener)
Specified by:
removePropertiesListener in interface PropertiesEditor

setProperties

public void setProperties(java.util.Map properties)
Description copied from interface: PropertiesEditor
Set the properties to edit.

Specified by:
setProperties in interface PropertiesEditor

firePropertiesChangedEvent

protected void firePropertiesChangedEvent()