org.ddogleg.example
Class LineManager
- java.lang.Object
-
- org.ddogleg.example.LineManager
-
- All Implemented Interfaces:
- ModelManager<Line2D>
public class LineManager extends java.lang.Object implements ModelManager<Line2D>
-
-
Constructor Summary
Constructors Constructor and Description LineManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcopyModel(Line2D src, Line2D dst)Turns 'dst' into an exact copy of 'src'.Line2DcreateModelInstance()Creates a new instance of the model
-
-
-
Method Detail
-
createModelInstance
public Line2D createModelInstance()
Description copied from interface:ModelManagerCreates a new instance of the model- Specified by:
createModelInstancein interfaceModelManager<Line2D>- Returns:
- New model instance
-
copyModel
public void copyModel(Line2D src, Line2D dst)
Description copied from interface:ModelManagerTurns 'dst' into an exact copy of 'src'. If the model has a variable structure then it is assumed that the two models have the same structure.- Specified by:
copyModelin interfaceModelManager<Line2D>- Parameters:
src- Original model. Not modified.dst- Where the copy is written to. Modified.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG