net.sf.latexdraw.mapping
Class Drawing2CanvasMapping

java.lang.Object
  extended by org.malai.mapping.Object2ObjectMapping<IDrawing,ICanvas>
      extended by net.sf.latexdraw.mapping.Drawing2CanvasMapping
All Implemented Interfaces:
IMapping

public class Drawing2CanvasMapping
extends Object2ObjectMapping<IDrawing,ICanvas>

Defines a mapping that link an IDrawing to a ICanvas.

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

05/16/10

Since:
3.0
Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class org.malai.mapping.Object2ObjectMapping
sourceObject, targetObject
 
Constructor Summary
Drawing2CanvasMapping(IDrawing source, ICanvas target)
          Object2ObjectMapping.Object2ObjectMapping(Object, Object)
 
Method Summary
 void onObjectModified(java.lang.Object object)
          Executes the mapping for the modification of an object.
 
Methods inherited from class org.malai.mapping.Object2ObjectMapping
clear, getSource, getTarget, init, onListCleaned, onObjectAdded, onObjectMoved, onObjectRemoved, onObjectReplaced
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drawing2CanvasMapping

public Drawing2CanvasMapping(IDrawing source,
                             ICanvas target)
Object2ObjectMapping.Object2ObjectMapping(Object, Object)

Method Detail

onObjectModified

public void onObjectModified(java.lang.Object object)
Description copied from interface: IMapping
Executes the mapping for the modification of an object.

Parameters:
object - The modified object.