// **********************************************************************
// **********************************************************************
package com.bbn.openmap.layer.location.generic;
/* Java Core */
import java.awt.Color;
import java.util.Properties;
import javax.swing.JLabel;
import javax.swing.JPanel;
import com.bbn.openmap.Environment;
import com.bbn.openmap.I18n;
import com.bbn.openmap.omGraphics.DrawingAttributes;
import com.bbn.openmap.util.PropUtils;
import com.bbn.openmap.layer.location.*;
/**
* The AbstractLocationHandler class facilitates the implementation
* of a LocationHandler by implementing a number of methods. By
* extending this class, a developer need only implement get(), setProperties(),
* and reloadData().
*
*
* * locationhandler.locationColor=FF0000 * locationhandler.nameColor=008C54 * locationhandler.showNames=false * locationhandler.showLocations=true * locationhandler.override=true * ** * @see com.bbn.openmap.layer.location.LocationHandler * @version $Revision: 1.8 $ $Date: 2006/02/13 17:01:24 $ * @author Michael E. Los D530/23448 */ public abstract class AbstractDBLocationHandler extends AbstractLocationHandler { // - - - - - - - - - - - - - - // DB Location-related Variables // - - - - - - - - - - - - - - /** The default setting for the locations at startup. */ private boolean showInactive = false; /** (showNames) */ public final static String showInactiveCommand = "showInactive"; /** * See if the handler is displaying Inactive. */ public boolean isShowInactive() { return showInactive; } /** * Set the handler to show/hide location graphics at a global level. */ public void setShowInactive(boolean set) { showInactive = set; } }