Package org.apache.groovy.swing.binding
Class PropertyBinding
java.lang.Object
org.apache.groovy.swing.binding.PropertyBinding
- All Implemented Interfaces:
SourceBinding
,TargetBinding
,TriggerBinding
- Since:
- Groovy 1.1
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPropertyBinding
(Object bean, String propertyName) PropertyBinding
(Object bean, String propertyName, String updateStrategy) PropertyBinding
(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy) -
Method Summary
Modifier and TypeMethodDescriptioncreateBinding
(SourceBinding source, TargetBinding target) getBean()
boolean
void
void
setNonChangeCheck
(boolean nonChangeCheck) void
setPropertyName
(String propertyName) void
updateTargetValue
(Object newValue)
-
Constructor Details
-
PropertyBinding
-
PropertyBinding
-
PropertyBinding
public PropertyBinding(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy)
-
-
Method Details
-
getUpdateStrategy
-
updateTargetValue
- Specified by:
updateTargetValue
in interfaceTargetBinding
-
isNonChangeCheck
public boolean isNonChangeCheck() -
setNonChangeCheck
public void setNonChangeCheck(boolean nonChangeCheck) -
getSourceValue
- Specified by:
getSourceValue
in interfaceSourceBinding
-
createBinding
- Specified by:
createBinding
in interfaceTriggerBinding
-
getBean
-
setBean
-
getPropertyName
-
setPropertyName
-