Class RemotePropertySetter
java.lang.Object
VASSAL.build.module.properties.PropertySetter
VASSAL.build.module.properties.RemotePropertySetter
- All Implemented Interfaces:
PropertyChanger
,RemotePropertyChanger
A PropertySetter that runs agains a remote DP, replaces $$ values from a local piece
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNewValue
(DynamicProperty remoteDP, Auditable owner, PropertySource ps) Evaluate any expression using the remote piece as the source of properties Pre-evaluate any $$ variables in the local piece.Methods inherited from class VASSAL.build.module.properties.PropertySetter
getFormat, getNewValue, getPropSource, getRawValue, setNewValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface VASSAL.build.module.properties.PropertyChanger
getNewValue
-
Constructor Details
-
RemotePropertySetter
-
-
Method Details
-
getNewValue
Evaluate any expression using the remote piece as the source of properties Pre-evaluate any $$ variables in the local piece.- Specified by:
getNewValue
in interfaceRemotePropertyChanger
- Parameters:
remoteDP
- Remote DP being set- Returns:
- New value to set
-