Interface ExtendedPropertiesSupport

All Known Subinterfaces:
FLayer, GraphicLayer, RasterLayer, SingleLayer, VectorLayer
All Known Implementing Classes:
DefaultGraphicLayer, ExtendedPropertiesHelper, FLayers, FLyrDefault, FLyrVect

public interface ExtendedPropertiesSupport
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a hash map with all new properties associated to this layer.
    Returns a reference to an object (property) associated to this layer.
    void
    Inserts an object as a property to this layer.
  • Method Details

    • getProperty

      Object getProperty(Object key)

      Returns a reference to an object (property) associated to this layer.

      For example, you can attach a network definition to key "network" and check if a layer has a network loaded using getAssociatedObject("network") and that it's not null.

      Parameters:
      key - the key associated to the property
      Returns:
      null if key is not found
      See Also:
    • setProperty

      void setProperty(Object key, Object obj)
      Inserts an object as a property to this layer.
      Parameters:
      key - the key associated to the property
      obj - the property
      See Also:
    • getExtendedProperties

      Map getExtendedProperties()
      Returns a hash map with all new properties associated to this layer.
      Returns:
      hash table with the added properties
      See Also: