| Modifier and Type | Class and Description |
|---|---|
static class |
RichPopup.PopupHints.AlignTypes
Represents the primary hint of how the client-side position manager will will attempt to align a popup to an element.
|
static class |
RichPopup.PopupHints.HintTypes
Key identifier that defines a characteristic about how a popup should be shown.
|
| Constructor and Description |
|---|
RichPopup.PopupHints() |
| Modifier and Type | Method and Description |
|---|---|
RichPopup.PopupHints |
add(RichPopup.PopupHints.HintTypes hint, RichPopup.PopupHints.AlignTypes alignType)
Adds the
RichPopup.PopupHints.HintTypes.HINT_ALIGN hint. |
RichPopup.PopupHints |
add(RichPopup.PopupHints.HintTypes hint, String clientId)
Adds a
RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or a RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID hint for a component's clientId. |
RichPopup.PopupHints |
add(RichPopup.PopupHints.HintTypes hint, javax.faces.component.UIComponent component)
Adds a
RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or a RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID hint using a component reference. |
public RichPopup.PopupHints add(RichPopup.PopupHints.HintTypes hint, javax.faces.component.UIComponent component)
RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or a RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID hint using a component reference. The component must be in the right context in order to ask for the fully qualified component's client id. For example, if the component is in a table, the correct row must be selected.hint - RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or RichPopup.PopupHints.HintTypes.HINT_LAUNCH_IDcomponent - target align or launch source componentthis instance to be used for chaining add operationsIllegalArgumentException - component cannot be nullpublic RichPopup.PopupHints add(RichPopup.PopupHints.HintTypes hint, String clientId)
RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or a RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID hint for a component's clientId. The client Id must be fully qualified including the correct naming containers and stamping to represent its correct context.hint - RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID or RichPopup.PopupHints.HintTypes.HINT_LAUNCH_IDclientId - of the align or launcher componentthis instance to be used for chaining add operationsIllegalArgumentException - hint cannot be null; invalid hint type. Must be HintTypes#HINT_ALIGN_ID or HintTypes#HINT_LAUNCH_ID; clientId cannot be nullpublic RichPopup.PopupHints add(RichPopup.PopupHints.HintTypes hint, RichPopup.PopupHints.AlignTypes alignType)
RichPopup.PopupHints.HintTypes.HINT_ALIGN hint.hint - RichPopup.PopupHints.HintTypes.HINT_ALIGNalignType - location the popup should be placed aligned to a DOM element.this instance to be used for chaining add operationsIllegalArgumentException - hint cannot be null; alignType cannot be null