Class BooleanProperty

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

public class BooleanProperty extends JPanel implements PropertyPanel<Boolean>
Author:
yetnt
See Also:
  • Field Details

  • Constructor Details

    • BooleanProperty

      public BooleanProperty(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<Boolean>
    • allSameValue

      public boolean allSameValue()
    • getProperties

      public ArrayList<Property<Boolean,?>> 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<Boolean>
      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.
    • enabledCheckboxActionPerformed

      private void enabledCheckboxActionPerformed(ActionEvent evt)