Class PluggableViewOption

All Implemented Interfaces:
Serializable, Option, OptionElement, OptionProperties

public class PluggableViewOption extends AbstractOption
An option that embeds a user-ddefined pluggable view.
Author:
Laurent Cohen
See Also:
  • Field Details

    • pluggableView

      protected final PluggableView pluggableView
      The pluggable view which provides the UI component to embed.
  • Constructor Details

    • PluggableViewOption

      public PluggableViewOption(PluggableView pluggableView)
      Construct this option from the specified pluggable view.
      Parameters:
      pluggableView - the pluggable view which provides the UI component to embed.
  • Method Details

    • createUI

      public void createUI()
      Description copied from class: AbstractOptionProperties
      Create the UI components for this option.
      Specified by:
      createUI in class AbstractOptionProperties
    • setupValueChangeNotifications

      protected void setupValueChangeNotifications()
      Description copied from class: AbstractOption
      Concrete subclasses should implement this method to properly forward changes in the value edited by the underlying UI component/editor.
      Specified by:
      setupValueChangeNotifications in class AbstractOption
    • setEnabled

      public void setEnabled(boolean enabled)
      Description copied from interface: OptionProperties
      Enable or disable this option.
      Parameters:
      enabled - true to enable this option, false to disable it.