public static interface IlvSettings.IDResolver
IlvSettings.getID(java.lang.Object, java.lang.String, ilog.views.appframe.settings.IlvSettingsModel)
,
IlvSettings.setID(java.lang.Object, java.lang.Object, java.lang.String, ilog.views.appframe.settings.IlvMutableSettingsModel)
,
IlvSettings.addIDResolver(ilog.views.appframe.settings.IlvSettings.IDResolver)
,
IlvSettings.removeIDResolver(ilog.views.appframe.settings.IlvSettings.IDResolver)
Modifier and Type | Method and Description |
---|---|
Object |
getID(Object element,
String type,
IlvSettingsModel model)
Returns the ID value for the object.
|
boolean |
setID(Object element,
Object id,
String type,
IlvMutableSettingsModel model)
Sets the specified ID value to the specified element.
|
Object getID(Object element, String type, IlvSettingsModel model)
null
will be returned.element
- The settings element to retrieve the ID from.type
- The settings type of the specified element.model
- The settings model that owns the specified element.setID(java.lang.Object, java.lang.Object, java.lang.String, ilog.views.appframe.settings.IlvMutableSettingsModel)
boolean setID(Object element, Object id, String type, IlvMutableSettingsModel model)
element
- The settings element to set the ID to.id
- The ID value to set the specified element to.type
- The settings type of the specified element.model
- The settings model that owns the specified element.true
if the ID value could be set to the settings
element or false
if no ID is defined for the specified settings type.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.