ch.sahits.game.graphic.display.notice
Enum ENoticeItem

java.lang.Object
  extended by java.lang.Enum<ENoticeItem>
      extended by ch.sahits.game.graphic.display.notice.ENoticeItem
All Implemented Interfaces:
Serializable, Comparable<ENoticeItem>

public enum ENoticeItem
extends Enum<ENoticeItem>

Enumeration of notice items that are not widely used outside this package.

Author:
Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 18, 2012

Enum Constant Summary
MB_CONSUMPTION_PRODUCTION
          Market booth consumtion and production
MB_STOCK_PRICES
          Market booth stock and prices
TO_BALANCE
          Trading office balance sheet
TO_CONSUMPTION_PRODUCTION
          Trading office consumtion and production
TO_OFFICE_TRADING
          Trading office automatic trading
TO_PERSONAL
          Trading office personal data
TO_WAREHOUSES
          Trading office ware houses
TO_WEAPONS
          Trading office weapons
 
Method Summary
static ENoticeItem valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ENoticeItem[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MB_STOCK_PRICES

public static final ENoticeItem MB_STOCK_PRICES
Market booth stock and prices


MB_CONSUMPTION_PRODUCTION

public static final ENoticeItem MB_CONSUMPTION_PRODUCTION
Market booth consumtion and production


TO_BALANCE

public static final ENoticeItem TO_BALANCE
Trading office balance sheet


TO_PERSONAL

public static final ENoticeItem TO_PERSONAL
Trading office personal data


TO_CONSUMPTION_PRODUCTION

public static final ENoticeItem TO_CONSUMPTION_PRODUCTION
Trading office consumtion and production


TO_WAREHOUSES

public static final ENoticeItem TO_WAREHOUSES
Trading office ware houses


TO_OFFICE_TRADING

public static final ENoticeItem TO_OFFICE_TRADING
Trading office automatic trading


TO_WEAPONS

public static final ENoticeItem TO_WEAPONS
Trading office weapons

Method Detail

values

public static ENoticeItem[] 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 (ENoticeItem c : ENoticeItem.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.