Documentation of 'edu.uci.ics.jung.visualization.annotations.Annotation' Java class
Annotation
edu.uci.ics.jung.visualization.annotations

Class Annotation<T>

  • Type Parameters:
    T - the type of the annotation object


    public class Annotation<T>
    extends java.lang.Object
    stores an annotation, either a shape or a string
    • Constructor Detail

      • Annotation

        public Annotation(T annotation,
                          Annotation.Layer layer,
                          java.awt.Paint paint,
                          boolean fill,
                          java.awt.geom.Point2D location)
    • Method Detail

      • getAnnotation

        public T getAnnotation()
        Returns:
        the annotation
      • setAnnotation

        public void setAnnotation(T annotation)
        Parameters:
        annotation - the annotation to set
      • getLocation

        public java.awt.geom.Point2D getLocation()
        Returns:
        the location
      • setLayer

        public void setLayer(Annotation.Layer layer)
        Parameters:
        layer - the layer to set
      • setLocation

        public void setLocation(java.awt.geom.Point2D location)
        Parameters:
        location - the location to set
      • getPaint

        public java.awt.Paint getPaint()
        Returns:
        the paint
      • setPaint

        public void setPaint(java.awt.Paint paint)
        Parameters:
        paint - the paint to set
      • isFill

        public boolean isFill()
        Returns:
        the fill
      • setFill

        public void setFill(boolean fill)
        Parameters:
        fill - the fill to set

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.