Package rma.swing

Class RmaJCompTitledPanel

All Implemented Interfaces:
ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Modifiable, RmaValidComponent

public class RmaJCompTitledPanel extends DefaultJPanel
See Also:
  • Field Details

  • Constructor Details

    • RmaJCompTitledPanel

      public RmaJCompTitledPanel()
    • RmaJCompTitledPanel

      public RmaJCompTitledPanel(JComponent component)
  • Method Details

    • getTitleComponent

      public JComponent getTitleComponent()
    • setTitleComponent

      public void setTitleComponent(JComponent newComponent)
    • getContentPane

      public JPanel getContentPane()
    • doLayout

      public void doLayout()
      Overrides:
      doLayout in class Container
    • setTransmittingAllowed

      public void setTransmittingAllowed(boolean enable)
    • getTransmittingAllowed

      public boolean getTransmittingAllowed()
    • setTransmitter

      public void setTransmitter(Component transmitter)
    • getTransmitter

      public Component getTransmitter()
    • setEnabled

      public void setEnabled(boolean enable)
      Overrides:
      setEnabled in class DefaultJPanel
    • addImpl

      protected void addImpl(Component comp, Object constraints, int index)
      By default, children may not be added directly to a this component, they must be added to its contentPane instead. For example:
       thisComponent.getContentPane().add(child)
       
      An attempt to add to directly to this component will cause an runtime exception to be thrown. Subclasses can disable this behavior.
      Overrides:
      addImpl in class Container
      Throws:
      Error - if called with rootPaneChecking true
    • setLayout

      public void setLayout(LayoutManager manager)
      By default the layout of this component may not be set, the layout of its contentPane should be set instead. For example:
       thisComponent.getContentPane().setLayout(new BorderLayout())
       
      An attempt to set the layout of this component will cause an runtime exception to be thrown. Subclasses can disable this behavior.
      Overrides:
      setLayout in class Container
      Throws:
      Error - if called with rootPaneChecking true
    • isContentPaneCheckingEnabled

      protected boolean isContentPaneCheckingEnabled()
      Returns:
      true if add and setLayout should be checked
      See Also:
    • setContentPaneCheckingEnabled

      protected void setContentPaneCheckingEnabled(boolean enabled)
      If true then calls to add() and setLayout() will cause an exception to be thrown.
      See Also:
    • fillPanel

      public void fillPanel()
      Description copied from class: AbstractJPanel
      Force subclasses to use this interface.
      Overrides:
      fillPanel in class DefaultJPanel
    • refresh

      public void refresh()
    • savePanel

      public boolean savePanel()
      Overrides:
      savePanel in class DefaultJPanel