Class WizardContext
java.lang.Object
org.patternfly.component.wizard.WizardContext
- All Implemented Interfaces:
IsElement<HTMLElement>,TypedBuilder<HTMLElement, WizardContext>,ComponentContext<HTMLElement, WizardContext>
-
Method Summary
Modifier and TypeMethodDescriptionelement()<T> TRetrieves the value associated with the given key from the ComponentContext.booleanDetermines whether a value is stored with the specified key.<T> WizardContextStores a value associated with a key.that()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.core.ComponentContext
get, get
-
Method Details
-
has
Description copied from interface:ComponentContextDetermines whether a value is stored with the specified key.- Specified by:
hasin interfaceComponentContext<HTMLElement, WizardContext>- Parameters:
key- the key to check- Returns:
- true if a value is stored with the specified key, false otherwise
-
get
Description copied from interface:ComponentContextRetrieves the value associated with the given key from the ComponentContext.- Specified by:
getin interfaceComponentContext<HTMLElement, WizardContext>- Type Parameters:
T- the type of the value being retrieved- Parameters:
key- the key associated with the value- Returns:
- the value associated with the key, or null if no value is found
-
store
Description copied from interface:ComponentContextStores a value associated with a key.- Specified by:
storein interfaceComponentContext<HTMLElement, WizardContext>- Type Parameters:
T- the type of the value being stored- Parameters:
key- the key associated with the valuevalue- the value to be stored
-
element
- Specified by:
elementin interfaceIsElement<HTMLElement>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, WizardContext>
-