Class ContainerCheckBoxSection<T>

java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.CheckBoxSection
com.amalgamasimulation.desktop.ui.editor.sections.ContainerCheckBoxSection<T>
All Implemented Interfaces:
ILabelSection, ISection
Direct Known Subclasses:
EmfCheckBoxSection

public class ContainerCheckBoxSection<T> extends CheckBoxSection
  • Constructor Details

    • ContainerCheckBoxSection

      public ContainerCheckBoxSection()
  • Method Details

    • createSection

      public void createSection()
      Overrides:
      createSection in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
    • updateOnContainerChange

      public void updateOnContainerChange()
      Makes the section call Section.updateSection() when the object in the container changes.
    • getDataBinding

      public ContainerBooleanDataBinding<T> getDataBinding()
      Overrides:
      getDataBinding in class CheckBoxSection
    • isVisible

      public boolean isVisible()
      Description copied from interface: ISection
      Returns whether the section is visible for the current container object.
      Specified by:
      isVisible in interface ISection
      Overrides:
      isVisible in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
      Returns:
      true if the section is visible
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: ISection
      Returns whether the section is enabled for the current container object.
      Specified by:
      isEnabled in interface ISection
      Overrides:
      isEnabled in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
      Returns:
      true if the section is enabled
    • visible

      public void visible(Predicate<T> visible)
    • enabled

      public void enabled(Predicate<T> enabled)