Interface PMElement

All Known Subinterfaces:
PMHotArea, PMLabel
All Known Implementing Classes:
PMAreasGroup, PMGenericHotArea, PMMultiLineLabel, PMPicArea, PMPicPolygonalArea, PMSimpleLabel, PMSimplePolygonArea, PMValueLabel

public interface PMElement
Generic element of PicMap component
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Draws element into specified Graphics.
     
    void
    setVisible(boolean v)
    Sets visibility of element
    void
    translate(int x, int y)
    Translates element by x and y.
  • Method Details

    • translate

      void translate(int x, int y)
      Translates element by x and y.
    • setVisible

      void setVisible(boolean v)
      Sets visibility of element
    • drawInto

      void drawInto(Graphics g)
      Draws element into specified Graphics.
    • getBounds

      Rectangle getBounds()
      Returns:
      bounding box of element.