//# 0 errors, 134 messages
//#
/*
    //#SubstitutionLabel.java:1:1: class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#SubstitutionLabel.java:1:1: method: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__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.substitutions;

import com.dmdirc.addons.ui_swing.dialogs.actioneditor.StringTransferable;
import java.awt.Color;
import java.awt.Component;
import java.awt.Cursor;
import java.awt.Insets;
import java.awt.dnd.DnDConstants;
import java.awt.dnd.DragGestureEvent;
import java.awt.dnd.DragGestureListener;
import java.awt.dnd.DragSource;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.text.JTextComponent;

/**
 * Action substitution label.
 */
public class SubstitutionLabel extends JButton implements MouseListener,
        DragGestureListener, ActionListener, FocusListener {

    /**
     * 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;
    /** Drag source. */
    private DragSource dragSource;
    /** Substitution. */
    private Substitution substition;
    /** Previously selected component. */
    private Component previousComponent;

    /** 
     * Instantiates the panel.
     * 
     * @param substition Action substitition
     */
    public SubstitutionLabel(final Substitution substition) {
        super();
    //#SubstitutionLabel.java:70: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)
    //#input(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): java.awt.Color.GRAY
    //#input(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): substition
    //#input(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): substition.name
    //#input(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this
    //#output(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this.dragSource
    //#output(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this.substition
    //#pre[1] (void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): substition != null
    //#presumption(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): java.awt.dnd.DragSource:getDefaultDragSource(...)@81 != null
    //#post(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this.dragSource != null
    //#post(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this.substition == substition
    //#post(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): this.substition != null
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:java.awt.dnd.DragSource:getDefaultDragSource
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:java.awt.dnd.DragSource:createDefaultDragGestureRecognizer
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setText
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:getFont
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:java.awt.Font:getSize
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:java.awt.Font:deriveFont
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setFont
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:javax.swing.BorderFactory:createLineBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:javax.swing.BorderFactory:createEmptyBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:javax.swing.BorderFactory:createCompoundBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setContentAreaFilled
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:java.awt.Insets
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setMargin
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addMouseListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addFocusListener
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addActionListener

        this.substition = substition;

        initComponents();
        addListeners();
        layoutComponents();
    }
    //#SubstitutionLabel.java:77: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel(Substitution)

    /** Initialises the components. */
    private void initComponents() {
        dragSource = DragSource.getDefaultDragSource();
    //#SubstitutionLabel.java:81: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.initComponents()
    //#input(void initComponents()): java.awt.Color.GRAY
    //#input(void initComponents()): this
    //#input(void initComponents()): this.substition
    //#input(void initComponents()): this.substition.name
    //#output(void initComponents()): this.dragSource
    //#pre[2] (void initComponents()): this.substition != null
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:getFont(...)@86 != null
    //#presumption(void initComponents()): com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:getFont(...)@86 != null
    //#presumption(void initComponents()): init'ed(java.awt.Color.GRAY)
    //#presumption(void initComponents()): java.awt.dnd.DragSource:getDefaultDragSource(...)@81 != null
    //#post(void initComponents()): this.dragSource != null
        dragSource.createDefaultDragGestureRecognizer(this,
                DnDConstants.ACTION_COPY, this);

        setText(substition.getName());
    //#SubstitutionLabel.java:85: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setText(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setText(String)
        setFont(getFont().deriveFont(getFont().getSize() - 2f));
    //#SubstitutionLabel.java:86: Warning: method not available - call not analyzed
    //#    call on Font com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:getFont()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: Font com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:getFont()
    //#SubstitutionLabel.java:86: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setFont(Font)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setFont(Font)
        
        setBorder(
    //#SubstitutionLabel.java:88: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setBorder(Border)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setBorder(Border)
                BorderFactory.createCompoundBorder(
                BorderFactory.createLineBorder(Color.GRAY),
                BorderFactory.createEmptyBorder(1, 1, 1, 1)
                ));
        setContentAreaFilled(false);
    //#SubstitutionLabel.java:93: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setContentAreaFilled(bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setContentAreaFilled(bool)
        setMargin(new Insets(0, 0, 0, 0));
    //#SubstitutionLabel.java:94: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setMargin(Insets)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setMargin(Insets)
    }
    //#SubstitutionLabel.java:95: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.initComponents()

    /** Adds the listeners. */
    private void addListeners() {
        addMouseListener(this);
    //#SubstitutionLabel.java:99: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.addListeners()
    //#SubstitutionLabel.java:99: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addMouseListener(MouseListener)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void addListeners()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addMouseListener(MouseListener)
    //#input(void addListeners()): this
        addFocusListener(this);
    //#SubstitutionLabel.java:100: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addFocusListener(FocusListener)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void addListeners()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addFocusListener(FocusListener)
        addActionListener(this);
    //#SubstitutionLabel.java:101: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addActionListener(ActionListener)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void addListeners()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:addActionListener(ActionListener)
    }
    //#SubstitutionLabel.java:102: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.addListeners()

    /** Lays out the components. */
    private void layoutComponents() {
    }
    //#SubstitutionLabel.java:106: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.layoutComponents()
    //#SubstitutionLabel.java:106: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.layoutComponents()

    /** 
     * {@inheritDoc}
     * 
     * @param e Mouse event
     */
    @Override
    public void mouseClicked(final MouseEvent e) {
    //Ignore
    }
    //#SubstitutionLabel.java:116: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseClicked(MouseEvent)
    //#SubstitutionLabel.java:116: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseClicked(MouseEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Mouse event
     */
    @Override
    public void mousePressed(final MouseEvent e) {
    //Ignore
    }
    //#SubstitutionLabel.java:126: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mousePressed(MouseEvent)
    //#SubstitutionLabel.java:126: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mousePressed(MouseEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Mouse event
     */
    @Override
    public void mouseReleased(final MouseEvent e) {
    //Ignore
    }
    //#SubstitutionLabel.java:136: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseReleased(MouseEvent)
    //#SubstitutionLabel.java:136: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseReleased(MouseEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Mouse event
     */
    @Override
    public void mouseEntered(final MouseEvent e) {
        setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
    //#SubstitutionLabel.java:145: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseEntered(MouseEvent)
    //#SubstitutionLabel.java:145: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setCursor(Cursor)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
    //#    method: void mouseEntered(MouseEvent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel:setCursor(Cursor)
    //#input(void mouseEntered(MouseEvent)): this
    }
    //#SubstitutionLabel.java:146: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseEntered(MouseEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Mouse event
     */
    @Override
    public void mouseExited(final MouseEvent e) {
    //Ignore
    }
    //#SubstitutionLabel.java:156: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseExited(MouseEvent)
    //#SubstitutionLabel.java:156: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.mouseExited(MouseEvent)

    /** {@inheritDoc} */
    @Override
    public void dragGestureRecognized(final DragGestureEvent dge) {
        dragSource.startDrag(dge, Cursor.getPredefinedCursor(Cursor.HAND_CURSOR),
    //#SubstitutionLabel.java:161: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.dragGestureRecognized(DragGestureEvent)
    //#input(void dragGestureRecognized(DragGestureEvent)): "unable to create data flavor: "._tainted
    //#input(void dragGestureRecognized(DragGestureEvent)): com/dmdirc/addons/ui_swing/dialogs/actioneditor/StringTransferable.com.dmdirc.logger.ErrorLevel.LOW
    //#input(void dragGestureRecognized(DragGestureEvent)): dge
    //#input(void dragGestureRecognized(DragGestureEvent)): this
    //#input(void dragGestureRecognized(DragGestureEvent)): this.dragSource
    //#input(void dragGestureRecognized(DragGestureEvent)): this.substition
    //#input(void dragGestureRecognized(DragGestureEvent)): this.substition.value
    //#pre[3] (void dragGestureRecognized(DragGestureEvent)): this.dragSource != null
    //#pre[4] (void dragGestureRecognized(DragGestureEvent)): this.substition != null
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.awt.datatransfer.DataFlavor
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.lang.ClassNotFoundException:getMessage
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void dragGestureRecognized(DragGestureEvent)): Effects-of-calling:com.dmdirc.logger.Logger:userError
                new StringTransferable(substition.toString()), null);
    }
    //#SubstitutionLabel.java:163: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.dragGestureRecognized(DragGestureEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Action event
     */
    @Override
    public void actionPerformed(ActionEvent e) {
        if (previousComponent instanceof JTextComponent) {
    //#SubstitutionLabel.java:172: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.actionPerformed(ActionEvent)
    //#input(void actionPerformed(ActionEvent)): this
    //#input(void actionPerformed(ActionEvent)): this.previousComponent
    //#input(void actionPerformed(ActionEvent)): this.substition
    //#input(void actionPerformed(ActionEvent)): this.substition.value
    //#pre[2] (void actionPerformed(ActionEvent)): init'ed(this.previousComponent)
    //#pre[3] (void actionPerformed(ActionEvent)): (soft) this.substition != null
            ((JTextComponent) previousComponent).replaceSelection(substition.toString());
        }
    }
    //#SubstitutionLabel.java:175: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.actionPerformed(ActionEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Focus event
     */
    @Override
    public void focusGained(FocusEvent e) {
        previousComponent = e.getOppositeComponent();
    //#SubstitutionLabel.java:184: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.focusGained(FocusEvent)
    //#input(void focusGained(FocusEvent)): e
    //#input(void focusGained(FocusEvent)): this
    //#output(void focusGained(FocusEvent)): this.previousComponent
    //#pre[1] (void focusGained(FocusEvent)): e != null
    //#post(void focusGained(FocusEvent)): init'ed(this.previousComponent)
    }
    //#SubstitutionLabel.java:185: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.focusGained(FocusEvent)

    /** 
     * {@inheritDoc}
     * 
     * @param e Focus event
     */
    @Override
    public void focusLost(FocusEvent e) {
        //Ignore
    }
    //#SubstitutionLabel.java:195: method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.focusLost(FocusEvent)
    //#SubstitutionLabel.java:195: end of method: void com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.focusLost(FocusEvent)
}
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/substitutions/SubstitutionLabel]
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.addListeners()V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.dragGestureRecognized(Ljava/awt/dnd/DragGestureEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.focusGained(Ljava/awt/event/FocusEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.focusLost(Ljava/awt/event/FocusEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.initComponents()V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.layoutComponents()V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseClicked(Ljava/awt/event/MouseEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseEntered(Ljava/awt/event/MouseEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseExited(Ljava/awt/event/MouseEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mousePressed(Ljava/awt/event/MouseEvent;)V
    //#output(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseReleased(Ljava/awt/event/MouseEvent;)V
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/substitutions/SubstitutionLabel] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.actionPerformed(Ljava/awt/event/ActionEvent;)V == &actionPerformed
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.addListeners()V == &addListeners
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.dragGestureRecognized(Ljava/awt/dnd/DragGestureEvent;)V == &dragGestureRecognized
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.focusGained(Ljava/awt/event/FocusEvent;)V == &focusGained
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.focusLost(Ljava/awt/event/FocusEvent;)V == &focusLost
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.initComponents()V == &initComponents
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.layoutComponents()V == &layoutComponents
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseClicked(Ljava/awt/event/MouseEvent;)V == &mouseClicked
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseEntered(Ljava/awt/event/MouseEvent;)V == &mouseEntered
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseExited(Ljava/awt/event/MouseEvent;)V == &mouseExited
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mousePressed(Ljava/awt/event/MouseEvent;)V == &mousePressed
    //#post(com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init): __Dispatch_Table.mouseReleased(Ljava/awt/event/MouseEvent;)V == &mouseReleased
    //#SubstitutionLabel.java:: end of method: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel.com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel__static_init
    //#SubstitutionLabel.java:: end of class: com.dmdirc.addons.ui_swing.components.substitutions.SubstitutionLabel
