Package com.luciad.view.swing
Class ALcdBalloonDescriptor
java.lang.Object
com.luciad.view.swing.ALcdBalloonDescriptor
- Direct Known Subclasses:
TLcdGeoAnchoredBalloonDescriptor
,TLcdModelElementBalloonDescriptor
,TLcdUnanchoredBalloonDescriptor
,TLcdViewAnchoredBalloonDescriptor
An
ALcdBalloonDescriptor
contains all information to describe a balloon. To
add extra information to a balloon descriptor, this class should be extended.- Since:
- 10.0
-
Constructor Summary
ModifierConstructorDescriptionprotected
ALcdBalloonDescriptor
(Object aObject, String aTypeName) Creates a balloon descriptor, initialized with the given object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChangeListener
(ILcdChangeListener aListener) Add a change listener to this balloon descriptor.void
fireChangeEvent
(TLcdChangeEvent aChangeEvent) Fire a change event.Returns the object that has balloon content.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.
-
Constructor Details
-
ALcdBalloonDescriptor
Creates a balloon descriptor, initialized with the given object.- Parameters:
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.
-
-
Method Details
-
addChangeListener
Add a change listener to this balloon descriptor.- Parameters:
aListener
- a change listener.
-
removeChangeListener
Remove a change listener from this balloon descriptor.- Parameters:
aListener
- a change listener.
-
fireChangeEvent
Fire a change event.- Parameters:
aChangeEvent
- a given event.
-
getObject
Returns the object that has balloon content.- Returns:
- the object that has balloon content.
-
getTypeName
Returns the name identifying the type of object that is contained in this balloon descriptor. Typically this is the type name of a model descriptor.- Returns:
- a String identifying the type of the object contained in this model descriptor.
-