net.sf.latexdraw.mapping
Class Shape2BorderMapping

java.lang.Object
  extended by org.malai.mapping.Object2ObjectMapping<IShape,Border>
      extended by net.sf.latexdraw.mapping.Shape2BorderMapping
All Implemented Interfaces:
IMapping

public class Shape2BorderMapping
extends Object2ObjectMapping<IShape,Border>

This mapping is used to link a selected shape to the border instrument.
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 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.

Since:
3.0
Author:
Arnaud Blouin

Field Summary
 
Fields inherited from class org.malai.mapping.Object2ObjectMapping
sourceObject, targetObject
 
Constructor Summary
Shape2BorderMapping(IShape source, Border 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

Shape2BorderMapping

public Shape2BorderMapping(IShape source,
                           Border 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.