Class DropdownProperty<E extends Enum<E>>

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.j3d.ui.engine.floating.properties.panels.DropdownProperty<E>
All Implemented Interfaces:
PropertyPanel<Enum<E>>, ImageObserver, MenuContainer, Serializable, Accessible

public class DropdownProperty<E extends Enum<E>> extends JPanel implements PropertyPanel<Enum<E>>
Author:
yetnt
See Also:
  • Field Details

  • Constructor Details

    • DropdownProperty

      public DropdownProperty(ArrayList<Property<?,?>> properties)
      Creates new form DropdownProperty
  • Method Details

    • setFields

      public void setFields()
      Description copied from interface: PropertyPanel
      Updates the UI fields of the panel to reflect the current values of the properties.
      Specified by:
      setFields in interface PropertyPanel<E extends Enum<E>>
    • getProperties

      public ArrayList<Property<Enum<E>,?>> getProperties()
      Description copied from interface: PropertyPanel
      Returns a list of properties that this panel is responsible for displaying and editing.
      Specified by:
      getProperties in interface PropertyPanel<E extends Enum<E>>
      Returns:
      An ArrayList of Property objects.
    • initComponents

      private void initComponents()
      This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.