public abstract class ReadOnlyComponentFieldConduit extends java.lang.Object implements FieldConduit<java.lang.Object>
FieldConduit
for a read-only component field. Subclasses
provide an implementation of the FieldConduit.get(Object, org.apache.tapestry5.plastic.InstanceContext)
method.Constructor and Description |
---|
ReadOnlyComponentFieldConduit(ComponentResources resources,
java.lang.String fieldName) |
ReadOnlyComponentFieldConduit(java.lang.String qualifiedFieldName) |
ReadOnlyComponentFieldConduit(java.lang.String className,
java.lang.String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
set(java.lang.Object instance,
InstanceContext context,
java.lang.Object newValue)
Invoked when the field's value is updated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public ReadOnlyComponentFieldConduit(java.lang.String qualifiedFieldName)
public ReadOnlyComponentFieldConduit(java.lang.String className, java.lang.String fieldName)
public ReadOnlyComponentFieldConduit(ComponentResources resources, java.lang.String fieldName)
public void set(java.lang.Object instance, InstanceContext context, java.lang.Object newValue)
FieldConduit
set
in interface FieldConduit<java.lang.Object>
instance
- the instance containing the fieldcontext
- (see ClassInstantiator.with(Class, Object)
)newValue
- value assigned to the field${project.version} - Copyright © 2003-2015 The Apache Software Foundation.