Class TogglePanel<T extends Serializable>

Type Parameters:
T - model object type
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable
Direct Known Subclasses:
ActionLinksTogglePanel, FIQLQueries, ImplementationEngineTogglePanel, ImportMetadata, ItemTransformersTogglePanel, JEXLTransformersTogglePanel, MembersTogglePanel, NewBpmnProcess, ObjectTypeTogglePanel, SaveFIQLQuery, StartAtTogglePanel, TemplatesTogglePanel, TopologyTogglePanel

public abstract class TogglePanel<T extends Serializable> extends WizardMgtPanel<T>
Toggle panel.
See Also:
  • Field Details

    • LOG

      protected static final Logger LOG
    • HEADER_FIRST_ABBREVIATION

      protected static final int HEADER_FIRST_ABBREVIATION
      See Also:
  • Constructor Details

  • Method Details

    • addInnerObject

      public TogglePanel<T> addInnerObject(Component... childs)
      Add object inside the main container.
      Overrides:
      addInnerObject in class WizardMgtPanel<T extends Serializable>
      Parameters:
      childs - components to be added.
      Returns:
      the current panel instance.
    • setHeader

      protected void setHeader(AjaxRequestTarget target, String header)
    • close

      public void close(AjaxRequestTarget target)
    • getTargetKey

      protected String getTargetKey(Serializable modelObject)
    • updateLabelKeyValue

      protected void updateLabelKeyValue(Serializable modelObject)
    • toggle

      public void toggle(AjaxRequestTarget target, Serializable modelObject, boolean toggle)
      Force toggle via java. To be used when the onclick has been intercepted before. Also, set key value in label name for copy-to-clipboard feature.
      Parameters:
      target - ajax request target.
      modelObject - model object
      toggle - toggle action.
    • toggle

      public void toggle(AjaxRequestTarget target, boolean toggle)
      Force toggle via java. To be used when the onclick has been intercepted before.
      Parameters:
      target - ajax request target.
      toggle - toggle action.