Package groovy.swing.model
Class PropertyModel
java.lang.Object
groovy.swing.model.PropertyModel
- All Implemented Interfaces:
- NestedValueModel,- ValueModel
public class PropertyModel extends java.lang.Object implements ValueModel, NestedValueModel
Represents a property of a value as a model.
- 
Constructor SummaryConstructors Constructor Description PropertyModel(ValueModel sourceModel, java.lang.String property)PropertyModel(ValueModel sourceModel, java.lang.String property, java.lang.Class type)PropertyModel(ValueModel sourceModel, java.lang.String property, java.lang.Class type, boolean editable)
- 
Method SummaryModifier and Type Method Description java.lang.StringgetProperty()ValueModelgetSourceModel()java.lang.ClassgetType()java.lang.ObjectgetValue()booleanisEditable()voidsetValue(java.lang.Object value)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
PropertyModel
- 
PropertyModel
- 
PropertyModelpublic PropertyModel(ValueModel sourceModel, java.lang.String property, java.lang.Class type, boolean editable)
 
- 
- 
Method Details- 
getPropertypublic java.lang.String getProperty()
- 
getSourceModel- Specified by:
- getSourceModelin interface- NestedValueModel
 
- 
getValuepublic java.lang.Object getValue()- Specified by:
- getValuein interface- ValueModel
 
- 
setValuepublic void setValue(java.lang.Object value)- Specified by:
- setValuein interface- ValueModel
 
- 
getTypepublic java.lang.Class getType()- Specified by:
- getTypein interface- ValueModel
 
- 
isEditablepublic boolean isEditable()- Specified by:
- isEditablein interface- ValueModel
 
 
-