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 Summary

    Constructors
    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 Summary

    Modifier and Type Method Description
    java.lang.String getProperty()  
    ValueModel getSourceModel()  
    java.lang.Class getType()  
    java.lang.Object getValue()  
    boolean isEditable()  
    void setValue​(java.lang.Object value)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PropertyModel

      public PropertyModel​(ValueModel sourceModel, java.lang.String property)
    • PropertyModel

      public PropertyModel​(ValueModel sourceModel, java.lang.String property, java.lang.Class type)
    • PropertyModel

      public PropertyModel​(ValueModel sourceModel, java.lang.String property, java.lang.Class type, boolean editable)
  • Method Details