Class ALcdGXYEditor

java.lang.Object
com.luciad.view.gxy.ALcdGXYEditor
All Implemented Interfaces:
ILcdCloneable, ILcdPropertyChangeSource, ILcdGXYEditor, Serializable, Cloneable

public abstract class ALcdGXYEditor extends Object implements ILcdGXYEditor
ALcdGXYEditor is an abstract class that can be used for implementing the ILcdGXYEditor interface.
See Also:
  • Constructor Details

    • ALcdGXYEditor

      public ALcdGXYEditor()
  • Method Details

    • clone

      public Object clone()
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from java.lang.Object, it can be implemented like this:
      
       public Object clone() {
         try {
           return super.clone();
         } catch ( CloneNotSupportedException e ) {
           // Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
           throw new RuntimeException( e );
         }
       }
       
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class Object
      See Also:
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
      Description copied from interface: ILcdPropertyChangeSource

      Registers the given PropertyChangeListener to be notified when this object's properties change.

      In case you need to register a listener which keeps a reference to an object with a shorter life-time than this change source, you can use a ALcdWeakPropertyChangeListener instance as property change listener.

      Specified by:
      addPropertyChangeListener in interface ILcdPropertyChangeSource
      Parameters:
      aPropertyChangeListener - The listener to be notified
      See Also:
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
      Description copied from interface: ILcdPropertyChangeSource

      De-registers the given PropertyChangeListener from receiving property change events for this object.

      If the listener was added more than once, it will be notified one less time after being removed. If the listener is null, or was never added, no exception is thrown and no action is taken.

      Specified by:
      removePropertyChangeListener in interface ILcdPropertyChangeSource
      Parameters:
      aPropertyChangeListener - the listener that should no longer be notified of changes of this object's properties
      See Also:
    • firePropertyChangeEvent

      protected void firePropertyChangeEvent(PropertyChangeEvent aPropertyChangeEvent)
      Notifies all property change listeners that a property has changed.
      Parameters:
      aPropertyChangeEvent - the event containing the details of the property change.
    • setDisplayName

      public void setDisplayName(String aDisplayName)
      Sets the display name for this editor.
      Parameters:
      aDisplayName - the name to be used as a display for this editor.
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: ILcdGXYEditor
      Returns a textual representation of this editor. This can be useful when different editor implementations are available for an object. For example, to edit different parts of an object. Having a textual representation may facilitate choosing between different editor implementations.
      Specified by:
      getDisplayName in interface ILcdGXYEditor
      Returns:
      a textual representation of this editor.