Class ObjectProperty<T extends GObject>

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

public class ObjectProperty<T extends GObject> extends JPanel implements PropertyPanel<T>
Author:
yetnt
See Also:
  • Field Details

  • Constructor Details

    • ObjectProperty

      public ObjectProperty(ArrayList<Property<?,?>> properties)
      Creates new form StringProperty
  • 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<T extends GObject>
    • setType

      private Pair<String,UUID> setType()
    • getProperties

      public ArrayList<Property<T,?>> 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<T extends GObject>
      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.
    • labelTxtFieldActionPerformed

      private void labelTxtFieldActionPerformed(ActionEvent evt)
    • copyBtnActionPerformed

      private void copyBtnActionPerformed(ActionEvent evt)