Enum ENoticeBoardType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ENoticeBoardType>

    public enum ENoticeBoardType
    extends java.lang.Enum<ENoticeBoardType>
    The various types of the notice board. There are sub types that allow defining behavior tied to the fact if the notice board is tied to a scene or not.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Dec 19, 2015
    • Field Detail

      • tiedToScene

        private final boolean tiedToScene
        Indicates if this type is bound to a certain scene
      • dynamic

        private final boolean dynamic
        Indicates if the content may change dynamically
      • noticeBoardMenu

        private final boolean noticeBoardMenu
        Indicates that the notice board content is provided by a menu provider generating a NoticeBoardMenu.
    • Constructor Detail

      • ENoticeBoardType

        private ENoticeBoardType​(boolean tiedToScene,
                                 boolean dynamic,
                                 boolean noticeBoardMenu)
    • Method Detail

      • values

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

        public static ENoticeBoardType 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