Documentation of 'org.opengis.go.display.style.GraphicStyle' Java class
GraphicStyle
org.opengis.go.display.style

Interface GraphicStyle

  • All Superinterfaces:
    java.lang.Cloneable
    All Known Subinterfaces:
    LineSymbolizer, PointSymbolizer, PolygonSymbolizer, TextSymbolizer


    public interface GraphicStyle
    extends Cloneable
    Serves as the base interface for the collection of drawing attributes that are applied to a Graphic. Subclasses provide attributes for specifying SLD-based line symbolizer, polygon symbolizer, point symbolizer, text symbolizer. Attributes common to all types of geometry, related to viewability, editability, and highlighting, are contained in Graphic.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void addGraphicStyleListener(GraphicStyleListener listener)
      Registers the given object as a listener to receive events when the properties of this style have changed.
      java.lang.Object clone()
      Method inherited from the Cloneable interface, included here for public access.
      java.lang.Object getImplHint(java.lang.String hintName)
      Returns the given implementation-specific hint for the given name.
      void removeGraphicStyleListener(GraphicStyleListener listener)
      For a listener that was previously added using the addGraphicStyleListener method, this method de-registers it so that it will no longer receive events when the properties of this style have changed.
      void setImplHint(java.lang.String hintname, java.lang.Object hint)
      Sets the given implementation-specific hint for the given name.
      void setPropertiesFrom(GraphicStyle style)
      Sets the properties of this GraphicStyle from the properties of the specified GraphicStyle.
    • Method Detail

      • addGraphicStyleListener

        void addGraphicStyleListener(GraphicStyleListener listener)
        Registers the given object as a listener to receive events when the properties of this style have changed.
      • removeGraphicStyleListener

        void removeGraphicStyleListener(GraphicStyleListener listener)
        For a listener that was previously added using the addGraphicStyleListener method, this method de-registers it so that it will no longer receive events when the properties of this style have changed.
      • getImplHint

        java.lang.Object getImplHint(java.lang.String hintName)
        Returns the given implementation-specific hint for the given name.
        Parameters:
        hintName - The hint key.
        Returns:
        the hint object associated with the hint name.
      • setImplHint

        void setImplHint(java.lang.String hintname,
                         java.lang.Object hint)
        Sets the given implementation-specific hint for the given name.
        Parameters:
        hintname - The hint key.
        hint - The hint.
      • setPropertiesFrom

        void setPropertiesFrom(GraphicStyle style)
        Sets the properties of this GraphicStyle from the properties of the specified GraphicStyle. May throw an exception if the given object is not the same type as this one.
        Parameters:
        style - the GraphicStyle used to set this GraphicStyle properties.
      • clone

        java.lang.Object clone()
        Method inherited from the Cloneable interface, included here for public access.
        Returns:
        Returns a shallow copy of this object. This means that all of the subordinate objects referenced by this object will also be referenced by the result. These objects include the values for implHints, etc.
        See Also:
        Object.clone()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.