Enum PRDia.VAttr

  • All Implemented Interfaces:
    K_VATTR, java.io.Serializable, java.lang.Comparable<PRDia.VAttr>
    Enclosing interface:
    PRDia

    public static enum PRDia.VAttr
    extends java.lang.Enum<PRDia.VAttr>
    implements K_VATTR
    • Enum Constant Detail

      • DiaWhiteboardNode

        public static final PRDia.VAttr DiaWhiteboardNode
      • DiagramAnnotations

        public static final PRDia.VAttr DiagramAnnotations
      • IsHiddenAttachments

        public static final PRDia.VAttr IsHiddenAttachments
      • IsHiddenComments

        public static final PRDia.VAttr IsHiddenComments
      • OwnedAnnotations

        public static final PRDia.VAttr OwnedAnnotations
      • OwnedCalloutNode

        public static final PRDia.VAttr OwnedCalloutNode
      • OwnedDiaAttachmentNode

        public static final PRDia.VAttr OwnedDiaAttachmentNode
      • OwnedDiaNote

        public static final PRDia.VAttr OwnedDiaNote
      • OwnedFrameNode

        public static final PRDia.VAttr OwnedFrameNode
    • Method Detail

      • values

        public static PRDia.VAttr[] 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 (PRDia.VAttr c : PRDia.VAttr.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PRDia.VAttr valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toInt

        public int toInt()
        Returns a specific integer value for the enumeration constant. This method is needed to serialize enumeration constants.
        Specified by:
        toInt in interface K_VATTR
        Returns:
        the specified value of the enumeration constant