Class PopperBuilder

java.lang.Object
org.patternfly.popper.PopperBuilder

@Deprecated(since="0.7.0", forRemoval=true) public class PopperBuilder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • PopperBuilder

      public PopperBuilder(String componentName, HTMLElement triggerElement, HTMLElement popperElement)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • animationDuration

      public PopperBuilder animationDuration(int animationDuration)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • entryDelay

      public PopperBuilder entryDelay(int entryDelay)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • exitDelay

      public PopperBuilder exitDelay(int exitDelay)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • zIndex

      public PopperBuilder zIndex(int zIndex)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • placement

      public PopperBuilder placement(PopperPlacement placement)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addModifier

      public PopperBuilder addModifier(Modifier... modifiers)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • registerHandler

      public PopperBuilder registerHandler(Set<TriggerAction> triggerActions, Consumer<Event> show, Consumer<Event> hide)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • registerHandler

      public PopperBuilder registerHandler(HTMLElement triggerElement, Set<TriggerAction> triggerActions, Consumer<Event> show, Consumer<Event> hide)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removePopperOnTriggerDetach

      public PopperBuilder removePopperOnTriggerDetach()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stayOpen

      public PopperBuilder stayOpen(Predicate<Event> stayOpen)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Configures the predicate to determine if the popper should stay open in response to specific events.
      Parameters:
      stayOpen - a predicate that evaluates an Event and returns true if the popper should remain open, or false otherwise.
      Returns:
      the PopperBuilder instance for method chaining.
    • build

      public Popper build()
      Deprecated, for removal: This API element is subject to removal in a future version.