Class ClassesPanel

All Implemented Interfaces:
CommonConstants, ImageObserver, MenuContainer, Serializable, Accessible, EngineNodeConstants
Direct Known Subclasses:
JModelClassesPanel

public class ClassesPanel extends WizardPanel implements CommonConstants
Created by IntelliJ IDEA. User: OrsotronIII Date: 13-mag-2005 Time: 14.43.32 This panel provides functionality of editing and visualizing data about model's classes. Modified by Bertoli Marco 9-jan-2006 --> ComboBoxCellEditor
See Also:
  • Field Details

  • Constructor Details

    • ClassesPanel

      public ClassesPanel(ClassDefinition cd)
      Creates a new instance of ClassesPanel given a model definition.
    • ClassesPanel

      public ClassesPanel()
      Default constructor, used to extend this panel for JModel
  • Method Details

    • setData

      public void setData(ClassDefinition cd)
      Sets data model for this panel. Instantly all of the panel components are assigned their specific value.
      Parameters:
      cd - : data for class definition.
    • getData

      public ClassDefinition getData()
      Gets data model for this panel.
      Returns:
      : data for class definition.
    • gotFocus

      public void gotFocus()
      called by the Wizard when the panel becomes active
      Overrides:
      gotFocus in class WizardPanel
    • initComponents

      protected void initComponents()
    • getName

      public String getName()
      Specified by:
      getName in class WizardPanel
      Returns:
      the panel's name
    • addClass

      protected void addClass()
    • refreshComponents

      protected void refreshComponents()
    • deleteClass

      protected void deleteClass(int index)
    • deleteSelectedClasses

      protected void deleteSelectedClasses()
    • setNumberOfClasses

      protected void setNumberOfClasses(int newNumber)
    • lostFocus

      public void lostFocus()
      called by the Wizard before when switching to another panel
      Overrides:
      lostFocus in class WizardPanel