com.im.df.util
Class DFCustomizerSupport
java.lang.Object
com.im.df.util.DFCustomizerSupport
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class DFCustomizerSupport
- extends Object
- implements PropertyChangeListener
Utility object which can help with connecting Swing UI objects and properties
of some java bean. This support class is registering a listener to both sides
and is doing the synchronisation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVISIBLE_VALUE
public static final JLabel INVISIBLE_VALUE
DFCustomizerSupport
public DFCustomizerSupport(JComponent component,
Map<String,JComponent> propMap)
setIgnoreWidgetChanges
public void setIgnoreWidgetChanges(boolean publicIgnoreWidgetChanges)
isIgnoreWidgetChanges
public boolean isIgnoreWidgetChanges()
isIgnoreBeanChanges
public boolean isIgnoreBeanChanges()
setIgnoreBeanChangesForThisPropertyOnly
public void setIgnoreBeanChangesForThisPropertyOnly(String propertyToIgnore)
setIgnoreBeanChanges
public void setIgnoreBeanChanges(boolean ignore)
setDataValid
public void setDataValid(boolean dataValid)
isDataValid
public boolean isDataValid()
setModified
public void setModified(boolean modified)
isModified
public boolean isModified()
setErrorMessage
public void setErrorMessage(String msg)
getErrorMessage
public String getErrorMessage()
checkApplyCall
public boolean checkApplyCall()
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
updateComponentsEnableStatus
public void updateComponentsEnableStatus(boolean readOnlyMode,
PropertiesEditingConfigurable config)
propertyValueChanged
protected void propertyValueChanged(String propName,
JComponent c)
widgetValueChanged
protected void widgetValueChanged(String propName,
JComponent comp)
isForceReadOnly
public boolean isForceReadOnly()