public class LoadingIndicatorConfigurationMap extends NodeMap implements LoadingIndicatorConfiguration
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_THEME_APPLIED_DEFAULT |
static String |
DEFAULT_THEME_APPLIED_KEY |
static int |
FIRST_DELAY_DEFAULT |
static String |
FIRST_DELAY_KEY |
static int |
SECOND_DELAY_DEFAULT |
static String |
SECOND_DELAY_KEY |
static int |
THIRD_DELAY_DEFAULT |
static String |
THIRD_DELAY_KEY |
| Constructor and Description |
|---|
LoadingIndicatorConfigurationMap(StateNode node)
Creates a new map for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstDelay()
Returns the delay before the loading indicator is shown.
|
int |
getSecondDelay()
Returns the delay before the loading indicator goes into the "second"
state.
|
int |
getThirdDelay()
Returns the delay before the loading indicator goes into the "third"
state.
|
boolean |
isApplyDefaultTheme()
Returns whether the default theming is applied for the loading indicator,
making it visible for users.
|
void |
setApplyDefaultTheme(boolean applyDefaultTheme)
Sets whether the default theming is applied for the loading indicator.
|
void |
setFirstDelay(int firstDelay)
Sets the delay before the loading indicator is shown.
|
void |
setSecondDelay(int secondDelay)
Sets the delay before the loading indicator goes into the "second" state.
|
void |
setThirdDelay(int thirdDelay)
Sets the delay before the loading indicator goes into the "third" state.
|
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, put, put, remove, updateFromClientallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetachpublic static final String FIRST_DELAY_KEY
public static final int FIRST_DELAY_DEFAULT
public static final String SECOND_DELAY_KEY
public static final int SECOND_DELAY_DEFAULT
public static final String THIRD_DELAY_KEY
public static final int THIRD_DELAY_DEFAULT
public static final String DEFAULT_THEME_APPLIED_KEY
public static final boolean DEFAULT_THEME_APPLIED_DEFAULT
public LoadingIndicatorConfigurationMap(StateNode node)
node - the node that the map belongs topublic void setFirstDelay(int firstDelay)
LoadingIndicatorConfigurationsetFirstDelay in interface LoadingIndicatorConfigurationfirstDelay - The first delay (in ms)public int getFirstDelay()
LoadingIndicatorConfigurationgetFirstDelay in interface LoadingIndicatorConfigurationpublic void setSecondDelay(int secondDelay)
LoadingIndicatorConfigurationsetSecondDelay in interface LoadingIndicatorConfigurationsecondDelay - The delay before going into the "second" state (in ms)public int getSecondDelay()
LoadingIndicatorConfigurationgetSecondDelay in interface LoadingIndicatorConfigurationpublic void setThirdDelay(int thirdDelay)
LoadingIndicatorConfigurationsetThirdDelay in interface LoadingIndicatorConfigurationthirdDelay - The delay before going into the "third" state (in ms)public int getThirdDelay()
LoadingIndicatorConfigurationgetThirdDelay in interface LoadingIndicatorConfigurationpublic boolean isApplyDefaultTheme()
LoadingIndicatorConfiguration
By default, it is shown (true) and there is a progress bar on top
of the viewport shown after a delay to the users while there is an active
server request in process.
isApplyDefaultTheme in interface LoadingIndicatorConfigurationtrue for applying default theme, false for notpublic void setApplyDefaultTheme(boolean applyDefaultTheme)
LoadingIndicatorConfiguration
By default, it is shown (true) and there is a progress bar on top
of the viewport shown after a delay to the users while there is an active
server request in process.
setApplyDefaultTheme in interface LoadingIndicatorConfigurationapplyDefaultTheme - true to apply default theming, false for notCopyright © 2025. All rights reserved.