package event.editor.frame;

import javax.swing.JPanel;

/**
 *
 * @author Bryan McGuffin
 */
public class MultPropertyPanel extends PropertyPanel
{

    private int index;

    public MultPropertyPanel(JPanel thePanel,
            Properties theProperty,
            int theIndex)
    {
        super(thePanel, theProperty);
        index = theIndex;
    }

    public int getIndex()
    {
        return index;
    }

    public void setIndex(int newIndex)
    {
        index = newIndex;
    }

    @Override
    public String title()
    {
        return super.title() + " " + index;
    }
}
