Enum ENoticeBoardType
- java.lang.Object
-
- java.lang.Enum<ENoticeBoardType>
-
- ch.sahits.game.openpatrician.javafx.model.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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARMORYCHURCHCITY_HALL_ALDERMAN_OFFICECITY_HALL_MAYORS_OFFICECITY_HALL_MEETINGROOMCITY_HALL_NOTICE_BOARDGUILDLOANERMARKET_PLACEMESSAGE_OFFICIALMESSAGE_PERSONALMESSAGE_TRADESHIP_WARE_INFOSHIPYARDTAVERNTRADINGTRADING_OFFICE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ENoticeBoardTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ENoticeBoardType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE_OFFICIAL
public static final ENoticeBoardType MESSAGE_OFFICIAL
-
MESSAGE_TRADE
public static final ENoticeBoardType MESSAGE_TRADE
-
MESSAGE_PERSONAL
public static final ENoticeBoardType MESSAGE_PERSONAL
-
SHIPYARD
public static final ENoticeBoardType SHIPYARD
-
ARMORY
public static final ENoticeBoardType ARMORY
-
TAVERN
public static final ENoticeBoardType TAVERN
-
TRADING
public static final ENoticeBoardType TRADING
-
LOANER
public static final ENoticeBoardType LOANER
-
TRADING_OFFICE
public static final ENoticeBoardType TRADING_OFFICE
-
MARKET_PLACE
public static final ENoticeBoardType MARKET_PLACE
-
CHURCH
public static final ENoticeBoardType CHURCH
-
CITY_HALL_NOTICE_BOARD
public static final ENoticeBoardType CITY_HALL_NOTICE_BOARD
-
CITY_HALL_MAYORS_OFFICE
public static final ENoticeBoardType CITY_HALL_MAYORS_OFFICE
-
CITY_HALL_ALDERMAN_OFFICE
public static final ENoticeBoardType CITY_HALL_ALDERMAN_OFFICE
-
CITY_HALL_MEETINGROOM
public static final ENoticeBoardType CITY_HALL_MEETINGROOM
-
GUILD
public static final ENoticeBoardType GUILD
-
SHIP_WARE_INFO
public static final ENoticeBoardType SHIP_WARE_INFO
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-