public abstract class ALcdBalloonDescriptor extends Object
ALcdBalloonDescriptor
contains all information to describe a balloon. To
add extra information to a balloon descriptor, this class should be extended.Modifier | Constructor and Description |
---|---|
protected |
ALcdBalloonDescriptor(Object aObject,
String aTypeName)
Creates a balloon descriptor, initialized with the given object.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ILcdChangeListener aListener)
Add a change listener to this balloon descriptor.
|
void |
fireChangeEvent(TLcdChangeEvent aChangeEvent)
Fire a change event.
|
Object |
getObject()
Returns the object that has balloon content.
|
String |
getTypeName()
Returns the name identifying the type of object that is contained in this balloon descriptor.
|
void |
removeChangeListener(ILcdChangeListener aListener)
Remove a change listener from this balloon descriptor.
|
protected ALcdBalloonDescriptor(Object aObject, String aTypeName)
aObject
- An object that has balloon content.aTypeName
- A type name identifying the sort of object this descriptor contains. Typically
this is the type name of a model descriptor.public void addChangeListener(ILcdChangeListener aListener)
aListener
- a change listener.public void removeChangeListener(ILcdChangeListener aListener)
aListener
- a change listener.public void fireChangeEvent(TLcdChangeEvent aChangeEvent)
aChangeEvent
- a given event.public Object getObject()
public String getTypeName()