![]() |
|||
GeoIPContainer.javaGo to the documentation of this file.00001 /* 00002 * GeoIP_DimensionClient.java 00003 * 00004 * Created on 20 mars 2003, 11:10 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 */ 00024 package org.net2map.pov.dimension.geoIP; 00025 00026 import java.beans.*; 00027 00032 public class GeoIPContainer 00033 extends org.net2map.pov.dimension.Container 00034 //implements java.io.Serializable 00035 { 00036 private static org.apache.log4j.Logger logger = 00037 org.apache.log4j.Logger.getLogger(GeoIPContainer.class.getName()); 00038 private PropertyChangeSupport propertySupport; 00039 00041 public GeoIPContainer() 00042 { 00043 logger.setLevel((org.apache.log4j.Level)org.apache.log4j.Priority.DEBUG); 00044 logger.warn("Creating..."); 00045 propertySupport = new PropertyChangeSupport ( this ); 00046 theGUI = new GeoIP_GUI(this); 00047 theSubset = new GeoIPSubset(this); 00048 logger.warn("...Created"); 00049 } 00050 00051 public String getName() 00052 { 00053 return(java.util.ResourceBundle.getBundle("org/net2map/pov/dimension/geoIP/properties").getString("GeoIP")); 00054 } 00055 00056 public long criteriaValueToMapPosition(String paramCriteriaValue) 00057 { 00058 return(0);//TODO:!!! 00059 } 00060 00061 public String getAxisName() 00062 { 00063 return(java.util.ResourceBundle.getBundle("org/net2map/pov/dimension/geoIP/properties").getString("Distance")); 00064 } 00065 00066 } |
|||
|
Accueil | Téléchargement | Manuel
| Doc. technique | Sources CVS |
Faq | Nous contacter
©2003 - All Rights Reserved |
|||