public final class SettingsPageCustomizationHelper
extends java.lang.Object
To obtain an instance of this class, call SettingsUIRegistry.getHelper( Traversable, String )
.
Modifier and Type | Method and Description |
---|---|
void |
customizeComponents()
Customizes the components in the traversable this helper is associated
with.
|
SettingsFieldCustomizations |
getCustomizations(java.lang.String fieldId)
Convenience method that gets the cutomizations (if any) for the specified
field id.
|
void |
setFieldId(javax.swing.JComponent c,
java.lang.String fieldId)
Associates a component with a field id.
|
public void setFieldId(javax.swing.JComponent c, java.lang.String fieldId)
c
- a component. Must not be null.fieldId
- a field idpublic void customizeComponents()
setFieldId( JComponent, String)
method.Note that this method does not handle setting default values or hints. It is up to the traversable to deal with that.
public SettingsFieldCustomizations getCustomizations(java.lang.String fieldId)
fieldId
- a simple field id in this page (not a full path).