/*
* Copyright (C) 2011-2014 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 3 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, see <http://www.gnu.org/licenses/>.
*/
package org.geoforge.guillcogc.tabbedpane;
import java.awt.event.ActionListener;
import javax.swing.event.ChangeListener;
import org.geoforge.guillc.tabbedpane.GfrTabCntSetInfDspWwdEarthAbs;
import org.geoforge.guillcogc.panel.GfrPnlTabsSettingsDspWwdEarthLyrLeafObj;
import org.geoforge.guillcogc.panel.GfrPnlTabsSettingsInfObjNamLloWmsLyrLeaf;
import org.geoforge.wrpbasprssynogc.GfrWrpBasSynObjNameTloWms;
/**
*
* @author Amadeus.Sowerby
*
* email: Amadeus.Sowerby_AT_gmail.com
* ... please remove "_AT_" from the above string to get the right email address
*/
public class GfrTabCntSetInfDspWwdEarthLayerLeaf extends GfrTabCntSetInfDspWwdEarthAbs
{
final static private int _F_INT_WIDTH_ = 600; // 550;
final static private int _F_INT_HEIGHT_ = 400; // 240;
public GfrTabCntSetInfDspWwdEarthLayerLeaf(
ChangeListener clrParent,
ActionListener alrParent,
String strIdObject)
throws Exception
{
super(_F_INT_WIDTH_, _F_INT_HEIGHT_);
super._pnlInformation = new GfrPnlTabsSettingsInfObjNamLloWmsLyrLeaf(
alrParent,
GfrWrpBasSynObjNameTloWms.getInstance().getValueTitleLayerLeaf(strIdObject),
strIdObject,
GfrWrpBasSynObjNameTloWms.getInstance().getValueAbstractLayerLeaf(strIdObject),
GfrWrpBasSynObjNameTloWms.getInstance().getValueLegendUrlLayerLeaf(strIdObject),
GfrWrpBasSynObjNameTloWms.getInstance().getValueNameLayerLeaf(strIdObject),
GfrWrpBasSynObjNameTloWms.getInstance().getBoundingBoxesFromLayerLeaf(strIdObject)
);
super._pnlDisplay = new GfrPnlTabsSettingsDspWwdEarthLyrLeafObj(alrParent, clrParent,
strIdObject);
}
}