Class RelevantCharacteristicFieldSettingsProvider
- java.lang.Object
-
- org.openbravo.client.application.window.hooks.RelevantCharacteristicFieldSettingsProvider
-
- All Implemented Interfaces:
Prioritizable
,FieldSettingsProvider
public class RelevantCharacteristicFieldSettingsProvider extends Object implements FieldSettingsProvider
Provides the view settings of the fields displaying properties which make reference to relevant characteristics
-
-
Constructor Summary
Constructors Constructor Description RelevantCharacteristicFieldSettingsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(Field field)
Determines if theFieldSettingsProvider
is able to retrieve the field view properties of the given fieldUIDefinition
getUIDefinition(Field field)
Gets theUIDefinition
for the given fieldboolean
isReadOnly(Field field)
Determines if the given field must be displayed in read only mode-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openbravo.base.Prioritizable
getPriority
-
-
-
-
Method Detail
-
accepts
public boolean accepts(Field field)
Description copied from interface:FieldSettingsProvider
Determines if theFieldSettingsProvider
is able to retrieve the field view properties of the given field- Specified by:
accepts
in interfaceFieldSettingsProvider
- Parameters:
field
- The AD field- Returns:
true
if the field view properties can be retrieved with thisFieldSettingsProvider
or in any other case
-
getUIDefinition
public UIDefinition getUIDefinition(Field field)
Description copied from interface:FieldSettingsProvider
Gets theUIDefinition
for the given field- Specified by:
getUIDefinition
in interfaceFieldSettingsProvider
- Parameters:
field
- The AD field- Returns:
true
if the field view properties can be retrieved with thisFieldSettingsProvider
or in any other case
-
isReadOnly
public boolean isReadOnly(Field field)
Description copied from interface:FieldSettingsProvider
Determines if the given field must be displayed in read only mode- Specified by:
isReadOnly
in interfaceFieldSettingsProvider
- Parameters:
field
- The AD field- Returns:
true
if the given field must be displayed in read only mode or in any other case
-
-