Theme
arya
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga
vela
Legend
Legend creates a key for a map and is useful for displaying titles, descriptions, and keys for what is being mapped.

Features include:
  • Horizontal or Vertical display

A typically area of application is anywhere you need to show a key such as a map or PrimeFaces Timeline.

Based on TileMill CSS Legend.

Legend
Components and more
Use Cases
Documentation pe:legend
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
widgetVar Name of the client side widget.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding An el expression referring to a server side UIComponent instance in a backing bean.
style Inline style of the container element.
styleClass Style class of the container element.
values Values is a Map where key=text and value=HTML color.
layout The layout of the legend: 'vertical' or 'horizontal'. Default is 'vertical'.
title The title text of the legend.
footer The footer text of the legend.
PrimeFaces Extensions Showcase - © 2011-2023,PrimeFaces: 13.0.0,PrimeFaces Extensions: 13.0.1,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: jetty/9.4.36.v20210114,Build time: 2023-09-11 19:07