/*
* Copyright (C) 2011-2013 GeoForge Project
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
package org.geoforge.guillcogcecl.tabbedpane;
import java.awt.event.ActionListener;
import java.awt.geom.Point2D;
import javax.swing.event.ChangeListener;
import org.geoforge.guillc.tabbedpane.GfrTabCntSetInfDspWwdEarthAbs;
import org.geoforge.guillcogcecl.panel.GfrPnlTabsSettingsDspWwdEarthDimOneLinSegWiseYesObj;
import org.geoforge.guillcogcecl.panel.GfrPnlTabsSettingsInfObjDatNamTloEclSsm;
import org.geoforge.wrpbasprssynecl.GfrWrpBasSynObjNameTloEclSegWiseYes;
/**
*
* @author Amadeus.Sowerby
*
* email: Amadeus.Sowerby_AT_gmail.com ... please remove "_AT_" from the above
* string to get the right email address
*/
public class GfrTabCntSetInfDspObjNamWwdEarthTloSegWiseYesEcl extends GfrTabCntSetInfDspWwdEarthAbs
{
final static private int _F_INT_WIDTH_ = 570;
final static private int _F_INT_HEIGHT_ = 260;
public GfrTabCntSetInfDspObjNamWwdEarthTloSegWiseYesEcl(ActionListener alrParent,
ChangeListener clrParent,
String strIdObject)
throws Exception
{
super(
GfrTabCntSetInfDspObjNamWwdEarthTloSegWiseYesEcl._F_INT_WIDTH_,
GfrTabCntSetInfDspObjNamWwdEarthTloSegWiseYesEcl._F_INT_HEIGHT_);
String strNameObject = GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getName(strIdObject);
String strCreationDateObject =
GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getCreationDate(strIdObject);
String strUrlPage =
GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getUrlTlo(strIdObject);
String strDescription =
GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getDescription(strIdObject);
Point2D.Double p2dStart =
GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getGeometryPointStartAsPoint2D(strIdObject);
Point2D.Double p2dEnd =
GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getGeometryPointEndAsPoint2D(strIdObject);
super._pnlInformation = new GfrPnlTabsSettingsInfObjDatNamTloEclSsm(
alrParent,
strNameObject,
strCreationDateObject,
strUrlPage,
strDescription,
p2dStart,
p2dEnd);
super._pnlDisplay = new GfrPnlTabsSettingsDspWwdEarthDimOneLinSegWiseYesObj(alrParent, clrParent,
strIdObject);
}
}