Package groovy.swing.model
Class PropertyModel
java.lang.Object
groovy.swing.model.PropertyModel
- All Implemented Interfaces:
NestedValueModel
,ValueModel
Represents a property of a value as a model.
-
Constructor Summary
ConstructorDescriptionPropertyModel
(ValueModel sourceModel, String property) PropertyModel
(ValueModel sourceModel, String property, Class type) PropertyModel
(ValueModel sourceModel, String property, Class type, boolean editable) -
Method Summary
-
Constructor Details
-
PropertyModel
-
PropertyModel
-
PropertyModel
-
-
Method Details
-
getProperty
-
getSourceModel
- Specified by:
getSourceModel
in interfaceNestedValueModel
-
getValue
- Specified by:
getValue
in interfaceValueModel
-
setValue
- Specified by:
setValue
in interfaceValueModel
-
getType
- Specified by:
getType
in interfaceValueModel
-
isEditable
public boolean isEditable()- Specified by:
isEditable
in interfaceValueModel
-