|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.MapHandlerChild com.bbn.openmap.OMComponent com.bbn.openmap.omGraphics.rule.Rule<java.util.Map> com.bbn.openmap.omGraphics.rule.MapRule
public class MapRule
Implementation of Rule that uses a Map for attributes.
Field Summary |
---|
Fields inherited from class com.bbn.openmap.omGraphics.rule.Rule |
---|
displayMaxScale, displayMinScale, drawingAttributes, infolineFields, keyField, labelFields, labelMaxScale, labelMinScale, op, RuleActionInfoline, RuleActionLabel, RuleActionMaxScale, RuleActionMinScale, RuleActionRender, RuleActionTooltip, RuleKeyProperty, RuleListProperty, RuleOperatorProperty, RuleValueProperty, tooltipFields, val |
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 | |
---|---|
MapRule()
|
Method Summary | |
---|---|
boolean |
evaluate(java.util.Map record)
Asks the Op class to evaluate the provided value against the Rules value. |
java.lang.String |
getContent(java.util.List<java.lang.String> fieldNames,
java.util.Map record)
Returns a String of concatenated record values. |
Methods inherited from class com.bbn.openmap.omGraphics.rule.Rule |
---|
evaluate, getDisplayMaxScale, getDisplayMinScale, getDrawingAttribtues, getFieldsAsString, getInfolineFields, getKeyName, getLabelFields, getLabelMaxScale, getLabelMinScale, getOp, getProperties, getStringFromFields, getTooltipFields, getVal, setDisplayMaxScale, setDisplayMinScale, setDrawingAttributes, setInfolineFields, setKeyName, setLabelFields, setLabelMaxScale, setLabelMinScale, setOp, setProperties, setTooltipFields, setVal |
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 |
Constructor Detail |
---|
public MapRule()
Method Detail |
---|
public boolean evaluate(java.util.Map record)
evaluate
in class Rule<java.util.Map>
record
-
public java.lang.String getContent(java.util.List<java.lang.String> fieldNames, java.util.Map record)
getContent
in class Rule<java.util.Map>
fieldNames
- column namesrecord
- Map to use to fetch values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |