Class ConfigurerPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ConfigurerPanel extends JPanel
A standardised Panel to hold an individual Configurer
See Also:
Serialized Form
  • Constructor Details

    • ConfigurerPanel

      public ConfigurerPanel(String name, String noNameColConstraints, String nameColConstraints)
      Create an alternate layout depending on whether or not a label is supplied for this configurer New-style Configurers will always supply a blank label. Legacy style Configurers will supply a text label and the column constraints must included a column for this. If a label is supplied, then it will be added as a JLabel into the first column. This option is supplied to provide support for custom coded Trait configurers.
      Parameters:
      name - The text of the supplied label
      noNameColConstraints - Column constraints to apply if the supplied name is null or empty
      nameColConstraints - Column constraints to apply if a label is supplied
    • ConfigurerPanel

      public ConfigurerPanel(String name, String noNameColConstraints, String nameColConstraints, String rowConstraints)
  • Method Details

    • setLabelVisibility

      public void setLabelVisibility(boolean visible)
      Show/hide the internal label if this Configurer has one.
      Parameters:
      visible - Hide label if true