Enum ContextType

    • Enum Constant Detail

      • CHART

        public static final ContextType CHART
        Chart context type.
      • DATASET

        public static final ContextType DATASET
        Dataset of chart context type.
      • DATA

        public static final ContextType DATA
        Data of dataset context type.
      • SCALE

        public static final ContextType SCALE
        Scale of chart context type.
      • TICK

        public static final ContextType TICK
        Tick of scale context type.
      • TOOLTIP

        public static final ContextType TOOLTIP
        Tick of scale context type.
      • DATALABELS

        public static final ContextType DATALABELS
        DataLabels plugin context type.
      • LABELS

        public static final ContextType LABELS
        Labels plugin context type.
      • ANNOTATION

        public static final ContextType ANNOTATION
        Annotation plugin context type.
      • ZOOM

        public static final ContextType ZOOM
        Zoom plugin context type.
      • METER

        public static final ContextType METER
        Meter and gauge controllers context type.
      • SEGMENT

        public static final ContextType SEGMENT
        Segment line context type.
      • UNKNOWN

        public static final ContextType UNKNOWN
        Unknown context type.
    • Method Detail

      • values

        public static ContextType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ContextType c : ContextType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ContextType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property