Package groovy.swing.model
Class PropertyModel
java.lang.Object
groovy.swing.model.PropertyModel
- All Implemented Interfaces:
NestedValueModel
,ValueModel
public class PropertyModel extends Object implements ValueModel, NestedValueModel
Represents a property of a value as a model.
-
Constructor Summary
Constructors Constructor Description PropertyModel(ValueModel sourceModel, String property)
PropertyModel(ValueModel sourceModel, String property, Class type)
PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)
-
Method Summary
Modifier and Type Method Description String
getProperty()
ValueModel
getSourceModel()
Class
getType()
Object
getValue()
boolean
isEditable()
void
setValue(Object value)
-
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
-