public class ColorGeneratorLoader extends GeneratorLoader
Modifier and Type | Field and Description |
---|---|
protected ElevationColors |
colors |
static java.lang.String |
COLORS_PROPERTY |
static java.lang.String |
ColorsClassProperty |
static java.lang.String |
DEFAULT_COLORS_CLASS |
prettyName
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
ColorGeneratorLoader() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
You should override this so the listener receives any
particular events that the GeneratorLoader sends out.
|
ElevationColors |
getColors() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl) |
void |
setColors(ElevationColors cols) |
void |
setProperties(java.lang.String prefix,
java.util.Properties props)
Sets the properties for the OMComponent.
|
getGenerator, getGUI, getPrettyName, getProperties, setPrettyName
getPropertyInfo, getPropertyPrefix, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
public static final java.lang.String ColorsClassProperty
public static final java.lang.String COLORS_PROPERTY
public static final java.lang.String DEFAULT_COLORS_CLASS
protected ElevationColors colors
public void setColors(ElevationColors cols)
public ElevationColors getColors()
public void setProperties(java.lang.String prefix, java.util.Properties props)
OMComponent
setProperties
in interface PropertyConsumer
setProperties
in class GeneratorLoader
prefix
- the token to prefix the property namesprops
- the Properties
objectpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
GeneratorLoader
addPropertyChangeListener
in class GeneratorLoader
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details