All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IComponentResolver, IRequestableComponent, IHierarchical<Component>, IClusterable

public class AroundInputBorder extends InputBorder
InputBorder that adds both prepending and appending addons
See Also:
  • Constructor Details

    • AroundInputBorder

      public AroundInputBorder(String id, IconType beforeIconType, IconType afterIconType)
      Constructor with two icons.
      Parameters:
      id - The component id
      beforeIconType - The icon to use for the prepending addon
      afterIconType - The icon to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, IModel<String> beforeLabel, IModel<String> afterLabel)
      Constructor with two labels.
      Parameters:
      id - The component id
      beforeLabel - The label to use for the prepending addon
      afterLabel - The label to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, Component beforeComponent, Component afterComponent)
      Constructor with two components.
      Parameters:
      id - The component id
      beforeComponent - The component to use for the prepending addon
      afterComponent - The component to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, IconType beforeIconType, IModel<String> afterLabel)
      Constructor with prepending icon and appending label.
      Parameters:
      id - The component id
      beforeIconType - The icon to use for the prepending addon
      afterLabel - The label to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, IconType beforeIconType, Component afterComponent)
      Constructor with prepending icon and appending component.
      Parameters:
      id - The component id
      beforeIconType - The icon to use for the prepending addon
      afterComponent - The component to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, Component beforeComponent, IconType afterIconType)
      Constructor with prepending component and appending icon.
      Parameters:
      id - The component id
      afterIconType - The icon to use for the appending addon
      beforeComponent - The component to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, IModel<String> beforeLabel, Component afterComponent)
      Constructor with prepending label and appending component.
      Parameters:
      id - The component id
      beforeLabel - The label to use for the prepending addon
      afterComponent - The component to use for the appending addon
    • AroundInputBorder

      public AroundInputBorder(String id, Component beforeComponent, IModel<String> afterLabel)
      Constructor with prepending component and appending label.
      Parameters:
      id - The component id
      afterLabel - The label to use for the prepending addon
      beforeComponent - The component to use for the appending addon
  • Method Details