public abstract class ReadOnlyComponentFieldConduit extends Object implements FieldConduit<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,
String fieldName) |
ReadOnlyComponentFieldConduit(String qualifiedFieldName) |
ReadOnlyComponentFieldConduit(String className,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
set(Object instance,
InstanceContext context,
Object newValue)
Invoked when the field's value is updated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public ReadOnlyComponentFieldConduit(String qualifiedFieldName)
public ReadOnlyComponentFieldConduit(String className, String fieldName)
public ReadOnlyComponentFieldConduit(ComponentResources resources, String fieldName)
public void set(Object instance, InstanceContext context, Object newValue)
FieldConduit
set
in interface FieldConduit<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.