All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.ihmc.simulationconstructionset.ExtraPanelConfiguration Maven / Gradle / Ivy

There is a newer version: 0.25.2
Show newest version
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;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy