Class AbstractShape

    • Constructor Detail

      • AbstractShape

        public AbstractShape()
    • Method Detail

      • setAttributes

        public void setAttributes​(ShapeAttributes attributes)
        Description copied from interface: Attributable
        Specifies the shape's normal (non-highlight) attributes. If null and this shape is not highlighted, this shape is not drawn.
        It is permissible to share attribute bundles between shapes.
        Specified by:
        setAttributes in interface Attributable
        Parameters:
        attributes - a reference to the shape's new normal attributes
      • setHighlightAttributes

        public void setHighlightAttributes​(ShapeAttributes highlightAttributes)
        Description copied from interface: Attributable
        Specifies the shape's highlight attributes. If null and this shape is highlighted, this shape's normal attributes are used. If they in turn are null, this shape is not drawn.
        It is permissible to share attribute bundles between shapes.
        Specified by:
        setHighlightAttributes in interface Attributable
        Parameters:
        highlightAttributes - a reference to the shape's new highlight attributes
      • isHighlighted

        public boolean isHighlighted()
        Description copied from interface: Highlightable
        Indicates whether the shape is highlighted.
        Specified by:
        isHighlighted in interface Highlightable
        Returns:
        true if the shape is highlighted, otherwise false
      • setHighlighted

        public void setHighlighted​(boolean highlighted)
        Description copied from interface: Highlightable
        Specifies whether to highlight the shape.
        Specified by:
        setHighlighted in interface Highlightable
        Parameters:
        highlighted - true to highlight the shape, otherwise false
      • getAltitudeMode

        public int getAltitudeMode()
      • setAltitudeMode

        public void setAltitudeMode​(int altitudeMode)
      • getPathType

        public int getPathType()
      • setPathType

        public void setPathType​(int pathType)
      • getMaximumIntermediatePoints

        public int getMaximumIntermediatePoints()
      • setMaximumIntermediatePoints

        public void setMaximumIntermediatePoints​(int maximumIntermediatePoints)