public class GenericDragAgentBuilder extends java.lang.Object implements OperationAgentBuilder<ComponentAgent,DragAgent>
Constructor and Description |
---|
GenericDragAgentBuilder() |
Modifier and Type | Method and Description |
---|---|
DragAgent |
getOperation(ComponentAgent target)
This method create and return a specific implementation of
OperationAgent object for specified OperationAgent class. |
java.lang.Class<DragAgent> |
getOperationClass()
Provide class information for registration.
|
public DragAgent getOperation(ComponentAgent target)
OperationAgentBuilder
OperationAgent
object for specified OperationAgent class.
Similar to factory pattern.getOperation
in interface OperationAgentBuilder<ComponentAgent,DragAgent>
public java.lang.Class<DragAgent> getOperationClass()
OperationAgentBuilder
getOperationClass
in interface OperationAgentBuilder<ComponentAgent,DragAgent>
OperationAgent
Copyright © 2019 Potix Corporation. All rights reserved.