Class NavigatorLabel

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

public class NavigatorLabel extends Label
Label that provides Showing x to y of z message given for a DataGrid. The message can be overridden using the NavigatorLabel property key, the default message is used is of the format Showing ${from} to ${to} of ${of}. The message can also be configured pragmatically by setting it as the model object of the label.
Author:
Igor Vaynberg (ivaynberg), Matej Knopp
See Also:
  • Constructor Details

    • NavigatorLabel

      public NavigatorLabel(String id, DataGrid<D,T,?> table)
      Parameters:
      id - component id
      table - pageable view