MapElement.java

Go to the documentation of this file.
00001 /*
00002  * MapElement.java
00003  *
00004  * Created on 9 mars 2003, 19:58
00005  *  Copyright (C) 2003 Philippe MOULIN
00006  *  www.net2map.org
00007  *
00008  *  This program is free software; you can redistribute it and/or
00009  *  modify it under the terms of the GNU General Public License
00010  *  as published by the Free Software Foundation; either version 2
00011  *  of the License, or (at your option) any later version.
00012  *
00013  *  This program is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  *  GNU Lesser General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU General Public License
00019  *  along with this program; if not, write to the Free Software
00020  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00021  */
00022 
00023 package org.net2map.pov.client;
00024 import java.awt.event.MouseListener;
00028 public abstract class MapElement 
00029                 extends javax.swing.JButton 
00030                 implements MouseListener
00031 {
00033     public MapElement()
00034     {
00035     }
00036     
00037     public abstract void redraw();
00038     public abstract void delete();
00039     
00040 
00041     
00046     public DocumentMapGUI containingDocumentMap;
00050     public void setDocumentMap(DocumentMapGUI paramContainingDocumentMap)
00051     {
00052         containingDocumentMap = paramContainingDocumentMap;
00053     }
00054     
00058     public void setOrderNb( int order )
00059     {
00060         orderNb = order;
00061     }
00063     private int orderNb;
00064 }
00065 
Accueil | Téléchargement | Manuel | Doc. technique | Sources CVS | Faq | Nous contacter
©2003 - All Rights Reserved