|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jame.core.config.AbstractConfigElement
public abstract class AbstractConfigElement
Abstract implementation of a configuration element.
| Constructor Summary | |
|---|---|
protected |
AbstractConfigElement(java.lang.String classId)
Constructs a new element. |
| Method Summary | |
|---|---|
void |
addChangeListener(ValueChangeListener listener)
Adds a listener. |
protected boolean |
checkContext()
Checks is the context is defined. |
abstract ConfigElement |
clone()
|
void |
dispose()
|
void |
finalize()
|
protected void |
fireConfigChanged(ValueChangeEvent e)
Fires a new event. |
java.lang.String |
getClassId()
Returns the classId. |
ConfigContext |
getContext()
Returns the configuration context. |
java.lang.Object |
getUserData()
|
void |
removeChangeListener(ValueChangeListener listener)
Removes a listener. |
void |
setContext(ConfigContext context)
Sets the configuration context. |
void |
setUserData(java.lang.Object userData)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.jame.core.config.ConfigElement |
|---|
copyFrom |
| Constructor Detail |
|---|
protected AbstractConfigElement(java.lang.String classId)
classId - the classId.| Method Detail |
|---|
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableObject.finalize()public void dispose()
dispose in interface ConfigElementConfigElement.dispose()protected boolean checkContext()
public ConfigContext getContext()
public void setContext(ConfigContext context)
setContext in interface ConfigElementcontext - the configuration context to set.public java.lang.String getClassId()
getClassId in interface ConfigElementpublic abstract ConfigElement clone()
clone in interface ConfigElementclone in class java.lang.ObjectObject.clone()public void addChangeListener(ValueChangeListener listener)
ConfigElement
addChangeListener in interface ConfigElementlistener - the listener to add.ConfigElement.addChangeListener(net.sf.jame.core.config.ValueChangeListener)public void removeChangeListener(ValueChangeListener listener)
ConfigElement
removeChangeListener in interface ConfigElementlistener - the listener to remove.ConfigElement.removeChangeListener(net.sf.jame.core.config.ValueChangeListener)protected void fireConfigChanged(ValueChangeEvent e)
e - the event to fire.public java.lang.Object getUserData()
getUserData in interface ConfigElementConfigElement.getUserData()public void setUserData(java.lang.Object userData)
setUserData in interface ConfigElementConfigElement.setUserData(java.lang.Object)public final java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||