Class ALcdBalloonDescriptor

java.lang.Object
com.luciad.view.swing.ALcdBalloonDescriptor
Direct Known Subclasses:
TLcdGeoAnchoredBalloonDescriptor, TLcdModelElementBalloonDescriptor, TLcdUnanchoredBalloonDescriptor, TLcdViewAnchoredBalloonDescriptor

public abstract class ALcdBalloonDescriptor extends Object
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 Details

    • ALcdBalloonDescriptor

      protected ALcdBalloonDescriptor(Object aObject, String aTypeName)
      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

      public void addChangeListener(ILcdChangeListener aListener)
      Add a change listener to this balloon descriptor.
      Parameters:
      aListener - a change listener.
    • removeChangeListener

      public void removeChangeListener(ILcdChangeListener aListener)
      Remove a change listener from this balloon descriptor.
      Parameters:
      aListener - a change listener.
    • fireChangeEvent

      public void fireChangeEvent(TLcdChangeEvent aChangeEvent)
      Fire a change event.
      Parameters:
      aChangeEvent - a given event.
    • getObject

      public Object getObject()
      Returns the object that has balloon content.
      Returns:
      the object that has balloon content.
    • getTypeName

      public String 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.