Class PointReferenceConstraintChecker
java.lang.Object
com.j3d.engine.interact.cmd.base.PointReferenceConstraintChecker
- All Implemented Interfaces:
CapableEventListener<Boolean>, EventListener
public class PointReferenceConstraintChecker
extends Object
implements CapableEventListener<Boolean>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K> BooleancapableOnEvent(EventType event, EventPayload<K> properties) Handles an incoming event and computes a return value of typeT.voidfinish()boolean<K> voidonEvent(EventType event, EventPayload<K> properties) onEvent is called byEventEmitterviaEventEmitter.broadcast(EventType, EventPayload).voidsetErrorCaught(boolean errorCaught) voidvoidupdateCopy(ArrayList<GPoint> original)
-
Field Details
-
referenceCopy
-
err
-
applier
-
errorCaught
private boolean errorCaught
-
-
Constructor Details
-
PointReferenceConstraintChecker
-
-
Method Details
-
finish
public void finish() -
isErrorCaught
public boolean isErrorCaught() -
setErrorCaught
public void setErrorCaught(boolean errorCaught) -
capableOnEvent
Description copied from interface:CapableEventListenerHandles an incoming event and computes a return value of typeT.Invoked by
CapableEventEmitter.capableBroadcast(EventType, EventPayload). If the returned object is an instance of the emitter's bound type, the emitter terminates its broadcast early and returns this result.- Specified by:
capableOnEventin interfaceCapableEventListener<Boolean>- Type Parameters:
K- The type of the object held by theEventPayload.- Parameters:
event- The type of event being broadcast.properties- The payload containing properties and data for the event.- Returns:
- A value of type
Tproduced in response to the event, ornullif no meaningful value could be generated.
-
getReferenceCopy
-
update
-
updateCopy
-
onEvent
Description copied from interface:EventListeneronEvent is called byEventEmitterviaEventEmitter.broadcast(EventType, EventPayload). Allowing the emitter to call any other object that implements this.- Specified by:
onEventin interfaceEventListener- Type Parameters:
K- The type of the emitter of this event- Parameters:
event- The type of eventproperties- The given event payload
-