Class GeneratorLoader

  extended by com.bbn.openmap.MapHandlerChild
      extended by com.bbn.openmap.OMComponent
          extended by com.bbn.openmap.omGraphics.grid.GeneratorLoader
All Implemented Interfaces:
LightMapHandlerChild, PropertyConsumer, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener
Direct Known Subclasses:

public class GeneratorLoader
extends OMComponent

A GeneratorLoader is a component that can provide an OMGridGenerator. It can provide a GUI to control the settings on the next generator it provides. This is a basic GeneratorLoader that doesn't do anything.

Field Summary
protected  java.lang.String prettyName
Fields inherited from class com.bbn.openmap.OMComponent
i18n, propertyPrefix
Fields inherited from class com.bbn.openmap.MapHandlerChild
beanContextChildSupport, isolated
Fields inherited from interface com.bbn.openmap.PropertyConsumer
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor Summary
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
          You should override this so the listener receives any particular events that the GeneratorLoader sends out.
 OMGridGenerator getGenerator()
 java.awt.Component getGUI()
 java.lang.String getPrettyName()
 java.util.Properties getProperties(java.util.Properties props)
          PropertyConsumer method, to fill in a Properties object, reflecting the current values of the OMComponent.
 void setPrettyName(java.lang.String name)
 void setProperties(java.lang.String prefix, java.util.Properties props)
          Sets the properties for the OMComponent.
Methods inherited from class com.bbn.openmap.OMComponent
getPropertyInfo, getPropertyPrefix, setProperties, setPropertyPrefix
Methods inherited from class com.bbn.openmap.MapHandlerChild
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected java.lang.String prettyName
Constructor Detail


public GeneratorLoader()
Method Detail


public java.lang.String getPrettyName()


public void setPrettyName(java.lang.String name)


public java.awt.Component getGUI()


public OMGridGenerator getGenerator()


public void setProperties(java.lang.String prefix,
                          java.util.Properties props)
Description copied from class: OMComponent
Sets the properties for the OMComponent.

Specified by:
setProperties in interface PropertyConsumer
setProperties in class OMComponent
prefix - the token to prefix the property names
props - the Properties object


public java.util.Properties getProperties(java.util.Properties props)
Description copied from class: OMComponent
PropertyConsumer method, to fill in a Properties object, reflecting the current values of the OMComponent. If the component has a propertyPrefix set, the property keys should have that prefix plus a separating '.' prepended to each property key it uses for configuration.

Specified by:
getProperties in interface PropertyConsumer
getProperties in class OMComponent
props - a Properties object to load the PropertyConsumer properties into. If props equals null, then a new Properties object should be created.
Properties object containing PropertyConsumer property values. If getList was not null, this should equal getList. Otherwise, it should be the Properties object created by the PropertyConsumer.


public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
You should override this so the listener receives any particular events that the GeneratorLoader sends out.

Copyright (C) BBNT Solutions LLC; See for details