Interface GISEditable

    • Method Detail

      • getName

        @Pure
        String getName()
        Replies the name of the element.
        Returns:
        the name of the element.
      • setName

        void setName​(String name)
        Set the name of the element.
        Parameters:
        name - the new name.
      • getRawColor

        @Pure
        Integer getRawColor()
        Replies the color stored inside this element.
        Returns:
        the color of this element, or null.
      • getColor

        @Pure
        int getColor()
        Replies the color of this element or the color of the container.
        Returns:
        the color.
        See Also:
        getRawColor()
      • setColor

        void setColor​(int color)
        Set the color of this element.
        Parameters:
        color - the new color
      • addGISEditableChangeListener

        void addGISEditableChangeListener​(GISEditableChangeListener listener)
        Add listener.
        Parameters:
        listener - the listener.
      • removeGISEditableChangeListener

        void removeGISEditableChangeListener​(GISEditableChangeListener listener)
        Remove listener.
        Parameters:
        listener - the listener.
      • isReadOnlyObject

        @Pure
        boolean isReadOnlyObject()
        Replies if this editable object want to be seen as a reed-only object.

        Even if this object replies true, it is possible to change its attributes. The value replied by this function is just a desire from this object. It could be used by the GUI to allow edition or not from a graphical component.

        Returns:
        true if this object ant to be assumed as read-only, otherwise false