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

public class Icon extends WebMarkupContainer
An Icon component displays a non localizable image resource.
Version:
1.0
Author:
miha
See Also:
  • Constructor Details

    • Icon

      public Icon(String componentId, IModel<IconType> type)
      Parameters:
      componentId - The non-null id of a new component
      type - The type of the icon, e.g. Search, Home, User,...
    • Icon

      public Icon(IModel<IconType> typeModel)
      Parameters:
      typeModel - the model containing the icon type
    • Icon

      public Icon(String id, IconType type)
      Parameters:
      id - the component id
      type - the icon type
    • Icon

      public Icon(IconType type)
      Parameters:
      type - the icon type
  • Method Details