us.ihmc.simulationconstructionset.ExtraPanelConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simulation-construction-set
Show all versions of simulation-construction-set
Simulation Construction Set
package us.ihmc.simulationconstructionset;
import java.awt.Component;
public class ExtraPanelConfiguration
{
private String name;
private Component panel = null;
private boolean showOnStart;
public ExtraPanelConfiguration(String name, Component panel, boolean showOnStart)
{
this.name = name;
this.panel = panel;
setShowOnStart(showOnStart);
}
public void setName(String name)
{
panel.setName(name);
}
public String getName()
{
return name;
}
public void setPanel(Component panel)
{
this.panel = panel;
}
public Component getPanel()
{
return panel;
}
public boolean showOnStart()
{
return showOnStart;
}
public void setShowOnStart(boolean showOnStart)
{
this.showOnStart = showOnStart;
}
}