package event.editor;

import javax.swing.JPanel;

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

    private final JPanel panel;
    private final Properties property;

    public PropertyPanel(JPanel thePanel,
            Properties theProperty)
    {
        panel = thePanel;
        property = theProperty;
    }

    public JPanel getPanel()
    {
        return panel;
    }

    public Properties getProperty()
    {
        return property;
    }

    public String title()
    {
        return property.getTitle();
    }
}
