@Component(value="ui_PropertyShortcutLoader")
public class PropertyShortcutLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected UiComponentProperties |
componentProperties |
protected static java.util.Map<java.lang.String,java.util.function.Function<UiComponentProperties,java.lang.String>> |
COMPONENTS_SHORTCUT_ALIASES |
protected UiScreenProperties |
screenProperties |
protected static java.util.Map<java.lang.String,java.util.function.Function<UiScreenProperties,java.lang.String>> |
SCREENS_SHORTCUT_ALIASES |
Constructor and Description |
---|
PropertyShortcutLoader(UiComponentProperties componentProperties,
UiScreenProperties screenProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String alias) |
java.lang.String |
getShortcut(java.lang.String alias) |
protected static final java.util.Map<java.lang.String,java.util.function.Function<UiComponentProperties,java.lang.String>> COMPONENTS_SHORTCUT_ALIASES
protected static final java.util.Map<java.lang.String,java.util.function.Function<UiScreenProperties,java.lang.String>> SCREENS_SHORTCUT_ALIASES
protected UiComponentProperties componentProperties
protected UiScreenProperties screenProperties
@Autowired public PropertyShortcutLoader(UiComponentProperties componentProperties, UiScreenProperties screenProperties)
public boolean contains(java.lang.String alias)
alias
- shortcut aliastrue
if alias is definedpublic java.lang.String getShortcut(java.lang.String alias)
alias
- shortcut aliasjava.lang.IllegalStateException
- if provided alias is not defined