/*
* 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.guillc.internalframe;
import java.awt.event.ActionListener;
import javax.swing.event.InternalFrameListener;
import org.geoforge.guillc.panel.GfrPnlCntWinViewerAppSerTabsOneChkAbs;
import org.geoforge.guillc.panel.GfrPnlStatusBarSec;
/**
*
* @author robert
*
* memo, as right pane could be empty,
* force to display controls left pane at launching time
*/
abstract public class GfrIfrWinViewRunIdRegSerAppTopsAbs extends GfrIfrWinViewRunIdRegSerAppAbs
{
final static private int _INT_DIM_W_ = 770;
final static private int _INT_DIM_H_ = 470;
final static protected boolean _BLN_ONLY_DISPLAY_VISIBLE = false;
protected GfrIfrWinViewRunIdRegSerAppTopsAbs(
ActionListener alrControllerSpcPrj,
ActionListener alrControllerPrs,
InternalFrameListener ifrListenerController,
String strUniqueId,
String strUniqueName) throws Exception
{
super(
_INT_DIM_W_,
_INT_DIM_H_,
alrControllerSpcPrj,
alrControllerPrs,
ifrListenerController,
strUniqueId,
strUniqueName);
super._pnlStatusBar = new GfrPnlStatusBarSec();
}
@Override
public boolean init()
{
if (! super.init())
return false;
_setVisibleDisplayOnly(GfrIfrWinViewRunIdRegSerAppTopsAbs._BLN_ONLY_DISPLAY_VISIBLE); // no effects !!!!!
return true;
}
@Override
protected void _setVisibleDisplayOnly(boolean bln)
{
if (super._pnlContents != null)
((GfrPnlCntWinViewerAppSerTabsOneChkAbs) super._pnlContents).setVisibleDisplayOnly(bln);
super._setVisibleDisplayOnly(bln);
}
}