public final class SettingsCustomizations extends HashStructureAdapter
Get an instance of this class from
SettingsUIRegistry.getCustomizations()
.
_hash
Modifier and Type | Method and Description |
---|---|
SettingsFieldCustomizations |
getFieldCustomizations(java.lang.String fieldIdPath)
Returns any customizations provided for a specific field.
|
java.util.Set<java.lang.String> |
getFieldIds(java.lang.String pageId)
Returns the set of field ids that have customizations for the specified
page id.
|
java.lang.String |
getHelpTopicId(java.lang.String pageId)
Returns the help topic id to use for the specified page id.
|
java.util.Collection<java.lang.String> |
getHiddenPages()
Returns the ids of all pages that are hidden.
|
boolean |
shouldForceLoadPages()
Determine if settings pages should be forced to load eagerly or not.
|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public java.util.Set<java.lang.String> getFieldIds(java.lang.String pageId)
pageId
- the id of a page, for example "/preferences/audit". Must not
be null, must start with a forward slash.java.lang.NullPointerException
- if pageId is null.java.lang.IllegalArgumentException
- if pageId is badly formatted.public SettingsFieldCustomizations getFieldCustomizations(java.lang.String fieldIdPath)
fieldIdPath
- the path of the field identifier. Starts with a
forward slash followed by the dialog identifier. Each forward slash
separated component is a page identifier, and the path ends with a
field identifier. E.g. /preferences/environment/splashscreen.
Must not be null. Must contain at least two forward slash characters.java.lang.NullPointerException
- if fieldIdPath is null.java.lang.IllegalArgumentException
- if the path is malformed.public java.util.Collection<java.lang.String> getHiddenPages()
public java.lang.String getHelpTopicId(java.lang.String pageId)
pageId
- the id of a page. Must not be null.public boolean shouldForceLoadPages()
true
if settings pages should be forced to load,
false
otherwise.