Class ReadOnlyComponentFieldConduit
java.lang.Object
org.apache.tapestry5.internal.transform.ReadOnlyComponentFieldConduit
- All Implemented Interfaces:
FieldConduit<Object>
An implementation of
FieldConduit
for a read-only component field. Subclasses
provide an implementation of the FieldConduit.get(Object, org.apache.tapestry5.plastic.InstanceContext)
method.- Since:
- 5.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyComponentFieldConduit
(String qualifiedFieldName) ReadOnlyComponentFieldConduit
(String className, String fieldName) ReadOnlyComponentFieldConduit
(ComponentResources resources, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
set
(Object instance, InstanceContext context, Object newValue) Invoked when the field's value is updated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.tapestry5.plastic.FieldConduit
get
-
Constructor Details
-
ReadOnlyComponentFieldConduit
-
ReadOnlyComponentFieldConduit
-
ReadOnlyComponentFieldConduit
-
-
Method Details
-
set
Description copied from interface:FieldConduit
Invoked when the field's value is updated.- Specified by:
set
in interfaceFieldConduit<Object>
- Parameters:
instance
- the instance containing the fieldcontext
- (seeClassInstantiator.with(Class, Object)
)newValue
- value assigned to the field
-