/*
* 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
* and openSpaceAny the template in the editor.
*/
package org.geoforge.guillc.table;
import org.geoforge.guillc.tablemodel.GfrAtmTopSpcWrkLthLyrUsrDimTwo;
import java.awt.event.ActionListener;
import java.util.Observer;
import java.util.logging.Logger;
import org.geoforge.java.util.logging.filehandler.FileHandlerLogger;
/**
*
* @author robert
*/
abstract public class GfrTblPopHeightRowVarTopSpcWrkLthLyrUsrDimTwoAbs extends GfrTblPopHeightRowVarTopSpcWrkLthLyrAbs implements
Observer
{
// ----
// begin: instantiate logger for this class
final static private Logger _LOGGER_ = Logger.getLogger(GfrTblPopHeightRowVarTopSpcWrkLthLyrUsrDimTwoAbs.class.getName());
static
{
GfrTblPopHeightRowVarTopSpcWrkLthLyrUsrDimTwoAbs._LOGGER_.addHandler(FileHandlerLogger.s_getInstance());
}
// end: instantiate logger for this class
// ----
// ---
protected GfrTblPopHeightRowVarTopSpcWrkLthLyrUsrDimTwoAbs()
{
super(new GfrAtmTopSpcWrkLthLyrUsrDimTwo());
// !!!!!!!!!!! not working, just handling existing rows !!!!!!!!!!!
/*this.addMouseListener((MouseListener)new MouseAdapter()
{
@Override
public void mousePressed(final MouseEvent e)
{
final int intRow = GfrTblTopSpcWrkLthLyrUsrDimTwoAbs.this.rowAtPoint(e.getPoint());
if (intRow < 0)
{
GfrTblTopSpcWrkLthLyrUsrDimTwoAbs.this.clearSelection();
}
}
});*/
}
@Override
public boolean init()
{
if (!super.init())
return false;
return true;
}
@Override
public void destroy()
{
super.destroy();
}
@Override
public void openSpaceAny(ActionListener alrControllerSpc) throws Exception
{
super.openSpaceAny(alrControllerSpc);
}
@Override
public void closeSpace() throws Exception
{
super.closeSpace();
}
}