Class ColourProperty

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

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

  • Constructor Details

    • ColourProperty

      public ColourProperty(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<Color>
    • sameColour

      public boolean sameColour()
    • getProperties

      public ArrayList<Property<Color,?>> 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<Color>
      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.
    • setBtnActionPerformed

      private void setBtnActionPerformed(ActionEvent evt)