//# 0 errors, 129 messages
//#
/*
    //#ParamModePanel.java:1:1: class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#ParamModePanel.java:1:1: method: com.dmdirc.addons.ui_swing.components.ParamModePanel.com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init
 * 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.addons.ui_swing.components;

import com.dmdirc.addons.ui_swing.UIUtilities;
import com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField;
import com.dmdirc.config.ConfigManager;
import com.dmdirc.config.prefs.validator.RegexStringValidator;

import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JCheckBox;
import javax.swing.JPanel;

import net.miginfocom.swing.MigLayout;

/**
 * A component to encapsulate one parameter-requiring channel mode, displaying
 * the user a checkbox, the mode's name, and a text field.
 */
public final class ParamModePanel extends JPanel implements ActionListener {

    /**
     * A version number for this class. It should be changed whenever the class
     * structure is changed (or anything else that would prevent serialized
     * objects being unserialized with the new class).
     */
    private static final long serialVersionUID = 1;
    /** The checkbox used in this mode panel. */
    private final JCheckBox checkBox;
    /** The textfield for the value of the mode. */
    private final ValidatingJTextField textField;
    /** the mode this component represents. */
    private final String mode;
    /** Original mode value. */
    private final String originalValue;

    /**
     * Creates a new instance of ParamModePanel.
     * @param thisMode The mode that this panel should deal with
     * @param state The current state of the mode
     * @param value The current value of the mode
     * @param configManager The config manager to use to get mode names
     */
    public ParamModePanel(final String thisMode, final boolean state,
            final String value, final ConfigManager configManager) {
        super();
    //#ParamModePanel.java:69: method: void com.dmdirc.addons.ui_swing.components.ParamModePanel.com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): ": "._tainted
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): ": Unknown"._tainted
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): "Mode "._tainted
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): "mode"._tainted
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): configManager
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): state
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): thisMode
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): thisMode._tainted
    //#input(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): value
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new JCheckBox(ParamModePanel#10) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new ValidatingJTextField(ParamModePanel#11) num objects
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.checkBox
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.mode
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.originalValue
    //#output(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.textField
    //#new obj(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new JCheckBox(ParamModePanel#10)
    //#new obj(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new ValidatingJTextField(ParamModePanel#11)
    //#pre[1] (void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): configManager != null
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.checkBox == &new JCheckBox(ParamModePanel#10)
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.mode == thisMode
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): init'ed(this.mode)
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.originalValue == value
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): init'ed(this.originalValue)
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): this.textField == &new ValidatingJTextField(ParamModePanel#11)
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new JCheckBox(ParamModePanel#10) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): new ValidatingJTextField(ParamModePanel#11) num objects == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): Effects-of-calling:javax.swing.UIManager:getLookAndFeel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): Effects-of-calling:java.lang.Object:getClass
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): Effects-of-calling:java.lang.Class:getName
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): Effects-of-calling:java.lang.System:getProperty
    //#test_vector(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): state: {1}, {0}
    //#test_vector(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): com.dmdirc.config.ConfigManager:getOptionBool(...)@85: {0}, {1}
    //#test_vector(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): com.dmdirc.config.ConfigManager:hasOptionString(...)@74: {0}, {1}
    //#test_vector(void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)): com.dmdirc.config.ConfigManager:hasOptionString(...)@85: {0}, {1}
        this.mode = thisMode;
        this.originalValue = value;
        String text;
        String tooltip;
        if (configManager.hasOptionString("server", "mode" + mode)) {
    //#ParamModePanel.java:74: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:hasOptionString(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:hasOptionString(String, String)
            tooltip = "Mode " + mode + ": " + configManager.getOption(
    //#ParamModePanel.java:75: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.config.ConfigManager:getOption(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: String com.dmdirc.config.ConfigManager:getOption(String, String)
                    "server", "mode" + mode);
        } else {
            tooltip = "Mode " + mode + ": Unknown";
        }

        setLayout(new MigLayout("fill"));
    //#ParamModePanel.java:81: Warning: method not available - call not analyzed
    //#    call on void net.miginfocom.swing.MigLayout(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void net.miginfocom.swing.MigLayout(String)
    //#ParamModePanel.java:81: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ParamModePanel:setLayout(LayoutManager)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ParamModePanel:setLayout(LayoutManager)

        text = "Mode " + mode + ": ";

        if (configManager.getOptionBool("server", "friendlymodes") &&
    //#ParamModePanel.java:85: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#ParamModePanel.java:85: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:hasOptionString(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:hasOptionString(String, String)
                configManager.hasOptionString("server", "mode" + mode)) {
            text = configManager.getOption("server", "mode" + mode) + ": ";
    //#ParamModePanel.java:87: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.config.ConfigManager:getOption(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: String com.dmdirc.config.ConfigManager:getOption(String, String)
        }

        checkBox = new JCheckBox(text, state);
        checkBox.setToolTipText(tooltip);
        checkBox.setOpaque(UIUtilities.getTabbedPaneOpaque());
        add(checkBox);
    //#ParamModePanel.java:93: Warning: method not available - call not analyzed
    //#    call on Component com.dmdirc.addons.ui_swing.components.ParamModePanel:add(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: Component com.dmdirc.addons.ui_swing.components.ParamModePanel:add(Component)

        textField = new ValidatingJTextField(new RegexStringValidator("^[^ ]*$",
    //#ParamModePanel.java:95: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.config.prefs.validator.RegexStringValidator(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.config.prefs.validator.RegexStringValidator(String, String)
    //#ParamModePanel.java:95: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField(Validator)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField(Validator)
                "Cannot contain spaces"));
        textField.setText(value);
    //#ParamModePanel.java:97: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setText(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setText(String)
        add(textField, "growx, pushx");
    //#ParamModePanel.java:98: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.ParamModePanel:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.ParamModePanel:add(Component, Object)

        if (!state) {
            textField.setEnabled(false);
    //#ParamModePanel.java:101: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setEnabled(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setEnabled(bool)
        }

        checkBox.addActionListener(this);
    }
    //#ParamModePanel.java:105: end of method: void com.dmdirc.addons.ui_swing.components.ParamModePanel.com.dmdirc.addons.ui_swing.components.ParamModePanel(String, bool, String, ConfigManager)

    /**
     * Called when our checkbox is toggled.
     * @param actionEvent associated action event
     */
    @Override
    public void actionPerformed(final ActionEvent actionEvent) {
        textField.setEnabled(checkBox.isSelected());
    //#ParamModePanel.java:113: method: void com.dmdirc.addons.ui_swing.components.ParamModePanel.actionPerformed(ActionEvent)
    //#ParamModePanel.java:113: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setEnabled(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setEnabled(bool)
    //#input(void actionPerformed(ActionEvent)): this
    //#input(void actionPerformed(ActionEvent)): this.checkBox
    //#input(void actionPerformed(ActionEvent)): this.originalValue
    //#input(void actionPerformed(ActionEvent)): this.textField
    //#pre[2] (void actionPerformed(ActionEvent)): this.checkBox != null
    //#pre[4] (void actionPerformed(ActionEvent)): this.textField != null
    //#test_vector(void actionPerformed(ActionEvent)): javax.swing.JCheckBox:isSelected(...)@114: {0}, {1}
        if (checkBox.isSelected()) {
            textField.requestFocusInWindow();
    //#ParamModePanel.java:115: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:requestFocusInWindow()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: bool com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:requestFocusInWindow()
        } else {
            textField.setText(originalValue);
    //#ParamModePanel.java:117: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setText(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: void actionPerformed(ActionEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:setText(String)
        }

    }
    //#ParamModePanel.java:120: end of method: void com.dmdirc.addons.ui_swing.components.ParamModePanel.actionPerformed(ActionEvent)

    /**
     * returns the state of this component.
     * @return boolean state of mode
     */
    public boolean getState() {
        return checkBox.isSelected() && textField.validateText();
    //#ParamModePanel.java:127: method: bool com.dmdirc.addons.ui_swing.components.ParamModePanel.getState()
    //#ParamModePanel.java:127: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:validateText()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: bool getState()
    //#    unanalyzed callee: bool com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:validateText()
    //#input(bool getState()): this
    //#input(bool getState()): this.checkBox
    //#input(bool getState()): this.textField
    //#output(bool getState()): return_value
    //#pre[2] (bool getState()): this.checkBox != null
    //#pre[3] (bool getState()): (soft) this.textField != null
    //#post(bool getState()): init'ed(return_value)
    //#ParamModePanel.java:127: end of method: bool com.dmdirc.addons.ui_swing.components.ParamModePanel.getState()
    }

    /**
     * returns the parameter of this mode if enabled, else returns an empty
     * string.
     * @return String mode parameter or "" if unset
     */
    public String getValue() {
        return textField.getText();
    //#ParamModePanel.java:136: method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getValue()
    //#ParamModePanel.java:136: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:getText()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.ParamModePanel
    //#    method: String getValue()
    //#    unanalyzed callee: String com.dmdirc.addons.ui_swing.components.validating.ValidatingJTextField:getText()
    //#input(String getValue()): this
    //#input(String getValue()): this.textField
    //#output(String getValue()): return_value
    //#pre[2] (String getValue()): this.textField != null
    //#post(String getValue()): init'ed(return_value)
    //#ParamModePanel.java:136: end of method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getValue()
    }

    /**
     * Returns the name of the mode this component represents.
     * @return String name of the mode
     */
    public String getModeName() {
        return checkBox.getText();
    //#ParamModePanel.java:144: method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getModeName()
    //#input(String getModeName()): this
    //#input(String getModeName()): this.checkBox
    //#output(String getModeName()): return_value
    //#pre[2] (String getModeName()): this.checkBox != null
    //#post(String getModeName()): init'ed(return_value)
    //#ParamModePanel.java:144: end of method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getModeName()
    }

    /**
     * Returns the mode this component represents.
     * @return String mode
     */
    public String getMode() {
        return mode;
    //#ParamModePanel.java:152: method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getMode()
    //#input(String getMode()): this
    //#input(String getMode()): this.mode
    //#output(String getMode()): return_value
    //#post(String getMode()): return_value == this.mode
    //#post(String getMode()): init'ed(return_value)
    //#ParamModePanel.java:152: end of method: String com.dmdirc.addons.ui_swing.components.ParamModePanel.getMode()
    }

    /**
     * Returns the checkbox component.
     * 
     * @return Checkbox component.
     */
    public Component getCheckboxComponent() {
        return checkBox;
    //#ParamModePanel.java:161: method: Component com.dmdirc.addons.ui_swing.components.ParamModePanel.getCheckboxComponent()
    //#input(Component getCheckboxComponent()): this
    //#input(Component getCheckboxComponent()): this.checkBox
    //#output(Component getCheckboxComponent()): return_value
    //#post(Component getCheckboxComponent()): return_value == this.checkBox
    //#post(Component getCheckboxComponent()): init'ed(return_value)
    //#ParamModePanel.java:161: end of method: Component com.dmdirc.addons.ui_swing.components.ParamModePanel.getCheckboxComponent()
    }

    /**
     * Returns the value component.
     * 
     * @return Value component
     */
    public Component getValueComponent() {
        return textField;
    //#ParamModePanel.java:170: method: Component com.dmdirc.addons.ui_swing.components.ParamModePanel.getValueComponent()
    //#input(Component getValueComponent()): this
    //#input(Component getValueComponent()): this.textField
    //#output(Component getValueComponent()): return_value
    //#post(Component getValueComponent()): return_value == this.textField
    //#post(Component getValueComponent()): init'ed(return_value)
    //#ParamModePanel.java:170: end of method: Component com.dmdirc.addons.ui_swing.components.ParamModePanel.getValueComponent()
    }
}
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ParamModePanel]
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getCheckboxComponent()Ljava/awt/Component;
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getMode()Ljava/lang/String;
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getModeName()Ljava/lang/String;
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getState()Z
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getValue()Ljava/lang/String;
    //#output(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getValueComponent()Ljava/awt/Component;
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/ParamModePanel] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V == &actionPerformed
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getCheckboxComponent()Ljava/awt/Component; == &getCheckboxComponent
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getMode()Ljava/lang/String; == &getMode
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getModeName()Ljava/lang/String; == &getModeName
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getState()Z == &getState
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getValue()Ljava/lang/String; == &getValue
    //#post(com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init): __Dispatch_Table.getValueComponent()Ljava/awt/Component; == &getValueComponent
    //#ParamModePanel.java:: end of method: com.dmdirc.addons.ui_swing.components.ParamModePanel.com.dmdirc.addons.ui_swing.components.ParamModePanel__static_init
    //#ParamModePanel.java:: end of class: com.dmdirc.addons.ui_swing.components.ParamModePanel
