|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class defines the interface common for all cliend side components. Application data can be exchanged between components via name-value-pairs. Each component defines its own set of name-value-pairs which are supported by the component. Such name-value-pairs are called properties here.
| Method Summary | |
void |
addEventListener(IComponentListener listener)
Adds a ComponentListner to the listeners of the component. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to the listeners of the component. |
void |
dispose()
Frees all allocated recources of the Component. |
java.util.Properties |
getProperties()
Gives all properties of the component. |
java.lang.String |
getProperty(java.lang.String name)
Gives the value of a property. |
IRtXMASessionClient |
getRTSession()
Get the session of the component. |
void |
invoke(org.eclipse.swt.widgets.Composite parent)
This method is called to start the Component on the client side. |
void |
removeEventListener(IComponentListener listener)
Remove a ComponentListener form the listners of the component. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener form the listners of the component. |
void |
setProperties(java.util.Properties input)
Sets all properties of the component. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets one property of the component. |
| Method Detail |
public void addEventListener(IComponentListener listener)
listener - the new listener to registerpublic void removeEventListener(IComponentListener listener)
listener - the ComponentListener to removepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - the new listener to registerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - the PropertyChangeListener to removepublic void setProperties(java.util.Properties input)
input - the new set of properties
public void setProperty(java.lang.String name,
java.lang.String value)
name - the name of the property to changevalue - the new value of the propertypublic java.lang.String getProperty(java.lang.String name)
name - the name of the property
public java.util.Properties getProperties()
public void invoke(org.eclipse.swt.widgets.Composite parent)
parent - The shell of the dialog will be created as child of parent.public void dispose()
public IRtXMASessionClient getRTSession()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||