public class PropertyDB extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyDB.Export |
class |
PropertyDB.ExportPropertySettings |
class |
PropertyDB.Import |
class |
PropertyDB.ImportPropertySettings |
| Modifier and Type | Field and Description |
|---|---|
protected WeakHashMap<PropertyDescriptor,Boolean> |
appliedPropertySettings |
protected WeakHashMap<Property,PropertyEditor> |
assignedPropertyEditor |
protected LinkedHashSet<ReadBeanNodes> |
beanReaders
Чтение дочерних узлов
|
protected WeakHashMap<Class,Boolean> |
failedPropertyEditor
Классы редакторов которые InstantiationException/IllegalAccessException
|
protected EventMap<String,PropertyEditor> |
namedEditors |
protected WeakHashMap<PropertyDescriptor,PropertyEditor> |
propertyDescEditorMap
Редакторы свойств для конкретного свойства
|
protected Map<PropertyEditor,Double> |
propertyEditorWeightMap |
protected boolean |
propertySettingsApplyAtRead |
protected Object |
sync |
protected ClassMap<Set<PropertyEditor>> |
typeEditors |
| Constructor and Description |
|---|
PropertyDB() |
PropertyDB(PropertyDB sample) |
protected final Object sync
protected final WeakHashMap<PropertyDescriptor,PropertyEditor> propertyDescEditorMap
protected final WeakHashMap<Class,Boolean> failedPropertyEditor
protected EventMap<String,PropertyEditor> namedEditors
protected final WeakHashMap<Property,PropertyEditor> assignedPropertyEditor
protected final ClassMap<Set<PropertyEditor>> typeEditors
protected final Map<PropertyEditor,Double> propertyEditorWeightMap
protected final LinkedHashSet<ReadBeanNodes> beanReaders
protected WeakHashMap<PropertyDescriptor,Boolean> appliedPropertySettings
protected boolean propertySettingsApplyAtRead
public PropertyDB()
public PropertyDB(PropertyDB sample)
public EventMap<String,PropertyEditor> getNamedEditors()
public void setNamedEditors(EventMap<String,PropertyEditor> namedEditors)
public PropertyEditor getPropertyEditorOf(PropertyValue pv)
pv - свойствоpublic void assignEditor(Property prop, PropertyEditor pe)
public PropertyEditor getPropertyEditorOf(Property p)
p - свойствоpublic PropertyEditor getPropertyEditorOf(PropertyDescriptor propertyDescriptor)
propertyDescriptor - свойствоpublic Set<PropertyEditor> getPaintablesOf(Class type)
type - тип данных который будет отображатьсяpublic Set<TreeTableNodeGetFormatOf> getFormattersOf(Class type)
type - тип данных который будет отображатьсяpublic ClassMap<Set<PropertyEditor>> getTypeEditors()
public void registerTypeEditor(Class type, PropertyEditor pe)
public void registerTypeEditor(Class type, PropertyEditor pe, Double weight)
public PropertyEditor getTypeEditor(Class type)
public double getWeightOf(PropertyEditor pe)
public void setWeightOf(PropertyEditor pe, double weight)
public boolean isExpandableType(Class t)
t - тип данныхpublic Set<ReadBeanNodes> getBeanNodeReaders()
public void registerReadBeanNodes(ReadBeanNodes rb)
rb - читательpublic Set<Property> filter(Set<Property> properties, UiBean uib)
properties - свойстваuib - условия фильтраpublic PropertySettings getPropertySettingsOf(PropertyDescriptor pd)
public PropertySettings getPropertySetting(Class cls, String name)
public PropertySettings getPropertySettings(String clsName, String name, boolean createIfNotExists)
public void setPropertySettings(Class clsName, String propertyName, PropertySettings ps)
public void setPropertySettings(String clsName, String propertyName, PropertySettings ps)
public void propertySettingsCacheDrop()
public void propertySettingsClear()
public Property createProperty(Object bean, PropertyDescriptor pd)
public Iterable<PropertyEditor> getAllPropertyEditors()
public PropertyDB.Export exports()
public PropertyDB.Import imports()
public boolean isPropertySettingsApplyAtRead()
public void setPropertySettingsApplyAtRead(boolean propertySettingsApplyAtRead)
Copyright © 2018. All rights reserved.