//# 0 errors, 114 messages
//#
/*
    //#PreferencesType.java:1:1: class: com.dmdirc.config.prefs.PreferencesType
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.dmdirc.config.prefs;

/**
 * Enumerates the possible types of preferences.
 * 
 * @author chris
 */
public enum PreferencesType {
    //#PreferencesType.java:29: method: PreferencesType[] com.dmdirc.config.prefs.PreferencesType.values()
    //#input(PreferencesType[] values()): $VALUES
    //#input(PreferencesType[] values()): $VALUES.length
    //#input(PreferencesType[] values()): $VALUES[0..8]
    //#output(PreferencesType[] values()): new PreferencesType[](values#1) num objects
    //#output(PreferencesType[] values()): return_value.length
    //#output(PreferencesType[] values()): return_value[0..8]
    //#output(PreferencesType[] values()): return_value
    //#new obj(PreferencesType[] values()): new PreferencesType[](values#1)
    //#pre[1] (PreferencesType[] values()): (soft) init'ed($VALUES[0..8])
    //#post(PreferencesType[] values()): return_value == &new PreferencesType[](values#1)
    //#post(PreferencesType[] values()): new PreferencesType[](values#1) num objects == 1
    //#post(PreferencesType[] values()): return_value.length == 8
    //#post(PreferencesType[] values()): return_value[0..8] == One-of{$VALUES[0..8], undefined}
    //#PreferencesType.java:29: end of method: PreferencesType[] com.dmdirc.config.prefs.PreferencesType.values()
    //#PreferencesType.java:29: method: PreferencesType com.dmdirc.config.prefs.PreferencesType.valueOf(String)
    //#input(PreferencesType valueOf(String)): __Descendant_Table[com/dmdirc/config/prefs/PreferencesType]
    //#input(PreferencesType valueOf(String)): __Descendant_Table[others]
    //#input(PreferencesType valueOf(String)): name
    //#output(PreferencesType valueOf(String)): return_value
    //#presumption(PreferencesType valueOf(String)): java.lang.Enum:valueOf(...).__Tag@29 == com/dmdirc/config/prefs/PreferencesType
    //#post(PreferencesType valueOf(String)): init'ed(return_value)
    //#PreferencesType.java:29: end of method: PreferencesType com.dmdirc.config.prefs.PreferencesType.valueOf(String)
    //#PreferencesType.java:29: method: void com.dmdirc.config.prefs.PreferencesType.com.dmdirc.config.prefs.PreferencesType(String, int)
    //#input(void com.dmdirc.config.prefs.PreferencesType(String, int)): Param_1
    //#input(void com.dmdirc.config.prefs.PreferencesType(String, int)): Param_2
    //#input(void com.dmdirc.config.prefs.PreferencesType(String, int)): this
    //#PreferencesType.java:29: end of method: void com.dmdirc.config.prefs.PreferencesType.com.dmdirc.config.prefs.PreferencesType(String, int)
    
    /** A free-form text preference. */
    TEXT,
    //#PreferencesType.java:32: method: com.dmdirc.config.prefs.PreferencesType.com.dmdirc.config.prefs.PreferencesType__static_init
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): BOOLEAN
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): COLOUR
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): DURATION
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): FONT
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): INTEGER
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): MULTICHOICE
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): OPTIONALCOLOUR
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): TEXT
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): __Descendant_Table[com/dmdirc/config/prefs/PreferencesType]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#1) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): TEXT.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#2) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): INTEGER.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#3) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): BOOLEAN.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#4) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): COLOUR.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#5) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): OPTIONALCOLOUR.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#6) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): MULTICHOICE.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#7) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): DURATION.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#8) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): FONT.__Tag
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType[](PreferencesType__static_init#9) num objects
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES.length
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[0]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[1]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[2]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[3]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[4]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[5]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[6]
    //#output(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[7]
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#1)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#2)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#3)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#4)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#5)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#6)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#7)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#8)
    //#new obj(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType[](PreferencesType__static_init#9)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES == &new PreferencesType[](PreferencesType__static_init#9)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): BOOLEAN == &new PreferencesType(PreferencesType__static_init#3)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[2] == &new PreferencesType(PreferencesType__static_init#3)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): COLOUR == &new PreferencesType(PreferencesType__static_init#4)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[3] == &new PreferencesType(PreferencesType__static_init#4)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): DURATION == &new PreferencesType(PreferencesType__static_init#7)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[6] == &new PreferencesType(PreferencesType__static_init#7)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): FONT == &new PreferencesType(PreferencesType__static_init#8)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[7] == &new PreferencesType(PreferencesType__static_init#8)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): INTEGER == &new PreferencesType(PreferencesType__static_init#2)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[1] == &new PreferencesType(PreferencesType__static_init#2)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): MULTICHOICE == &new PreferencesType(PreferencesType__static_init#6)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[5] == &new PreferencesType(PreferencesType__static_init#6)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): OPTIONALCOLOUR == &new PreferencesType(PreferencesType__static_init#5)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[4] == &new PreferencesType(PreferencesType__static_init#5)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): TEXT == &new PreferencesType(PreferencesType__static_init#1)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES[0] == &new PreferencesType(PreferencesType__static_init#1)
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): __Descendant_Table[com/dmdirc/config/prefs/PreferencesType] == &__Dispatch_Table
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#1) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#2) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#3) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#4) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#5) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#6) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#7) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType(PreferencesType__static_init#8) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): new PreferencesType[](PreferencesType__static_init#9) num objects == 1
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): TEXT.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): INTEGER.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): BOOLEAN.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): COLOUR.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): OPTIONALCOLOUR.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): MULTICHOICE.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): DURATION.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): FONT.__Tag == com/dmdirc/config/prefs/PreferencesType
    //#post(com.dmdirc.config.prefs.PreferencesType__static_init): $VALUES.length == 8
    //#unanalyzed(com.dmdirc.config.prefs.PreferencesType__static_init): Effects-of-calling:java.lang.Enum
    /** A free-form integer preference. */
    INTEGER,
    /** A boolean preference. */
    BOOLEAN,
    /** A colour preference. */
    COLOUR,
    /** An optional colour preference. */
    OPTIONALCOLOUR,
    /** A multiple choice preference. */
    MULTICHOICE,
    /** A duration specified in milliseconds. */
    DURATION,
    /** Font type. */
    FONT;
    //#PreferencesType.java:46: end of method: com.dmdirc.config.prefs.PreferencesType.com.dmdirc.config.prefs.PreferencesType__static_init

}
    //#PreferencesType.java:: end of class: com.dmdirc.config.prefs.PreferencesType
