Class ControlPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, JComponentHolder, ManagesImport
Direct Known Subclasses:
JCustomPanel, JEmbedPanel, JGeneralSettingsPanel, JHeadingPanel, JSharePanel.JAddressPanel, JStructurePanel, JVideoSettingsPanel, JWebLocationEditPanel, JWebPageUI, JWidgetSettingsPanel, JWizardStep

public class ControlPanel extends JPanel implements JComponentHolder, ManagesImport
A ControlPanel is a JPanel which has "RiverLayout" as default layout manager. This is the preferred panel for making user interfaces in a simple way.
See Also:
  • Property Details

  • Constructor Details

    • ControlPanel

      public ControlPanel()
      Create a plain ControlPanel
    • ControlPanel

      public ControlPanel(LayoutManager layout)
      Create a plain ControlPanel
    • ControlPanel

      public ControlPanel(String title)
      Create a control panel framed with a titled border
  • Method Details

    • enabledProperty

      public javafx.beans.property.BooleanProperty enabledProperty()
      Returns:
      Since:
      29.2
      See Also:
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - the title of the control panel
    • setText

      public void setText(String title)
      Alias for setTitle (for compatibility with other JComponents and Msg system)
      Parameters:
      title - the title of the control panel
      Since:
      14
    • getTitledBorder

      public TitledBorder getTitledBorder()
      Returns:
      TitledBorder of this ControlPanel (if title set)
      Since:
      12.3
    • setEnabled

      public void setEnabled(boolean enable)
      Overrides:
      setEnabled in class JComponent
    • add

      public void add(Component c, Object o)
      Overrides:
      add in class Container
    • add

      public Component add(String s, Component c)
      Overrides:
      add in class Container
    • add

      public void add(Component c, Object o, int i)
      Overrides:
      add in class Container
    • add

      public Component add(Component c, int i)
      Overrides:
      add in class Container
    • add

      public Component add(Component c)
      Overrides:
      add in class Container
    • transparentize

      public void transparentize(Component c)
    • setUseExtraSpace

      public void setUseExtraSpace(boolean extraSpace)
    • importVariables

      public void importVariables(Map<String,Object> skinVariables)
      Specified by:
      importVariables in interface ManagesImport