com.bbn.openmap.dataAccess.shape
Class DbfHandler.DbfRule

java.lang.Object
  extended by com.bbn.openmap.MapHandlerChild
      extended by com.bbn.openmap.OMComponent
          extended by com.bbn.openmap.omGraphics.rule.Rule<java.util.List<?>>
              extended by com.bbn.openmap.omGraphics.rule.IndexRule
                  extended by com.bbn.openmap.dataAccess.shape.DbfHandler.DbfRule
All Implemented Interfaces:
LightMapHandlerChild, PropertyConsumer, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener
Enclosing class:
DbfHandler

public class DbfHandler.DbfRule
extends IndexRule


Field Summary
 
Fields inherited from class com.bbn.openmap.omGraphics.rule.IndexRule
infolineIndicies, keyIndex, labelIndicies, tooltipIndicies
 
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
DbfHandler.DbfRule(DbfFile dbf)
           
 
Method Summary
 int getRecordColumnIndexForName(java.lang.String columnName)
          A record List for the attributes of an OMGraphic might have a name for each entry.
 java.lang.String getRecordColumnName(int index)
          Provide the title of the attribute at a specific entry.
 
Methods inherited from class com.bbn.openmap.omGraphics.rule.IndexRule
evaluate, evaluate, getColumnNamesFromIndicies, getContent, getContentFromIndicies, getIndicies, getInfolineIndicies, getKeyIndex, getLabelIndicies, getTooltipIndicies, setInfolineIndicies, setKeyIndex, setLabelIndicies, setProperties, setTooltipIndicies
 
Methods inherited from class com.bbn.openmap.omGraphics.rule.Rule
getDisplayMaxScale, getDisplayMinScale, getDrawingAttribtues, getFieldsAsString, getInfolineFields, getKeyName, getLabelFields, getLabelMaxScale, getLabelMinScale, getOp, getProperties, getStringFromFields, getTooltipFields, getVal, setDisplayMaxScale, setDisplayMinScale, setDrawingAttributes, setInfolineFields, setKeyName, setLabelFields, setLabelMaxScale, setLabelMinScale, setOp, 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

DbfHandler.DbfRule

public DbfHandler.DbfRule(DbfFile dbf)
Method Detail

getRecordColumnIndexForName

public int getRecordColumnIndexForName(java.lang.String columnName)
A record List for the attributes of an OMGraphic might have a name for each entry. Given a name, provide the index into the List to get that attribute value.

Specified by:
getRecordColumnIndexForName in class IndexRule
Parameters:
columnName - name of a attribute in a List, like a column name of a list of lists.
Returns:
the int index of the entry in the record List.

getRecordColumnName

public java.lang.String getRecordColumnName(int index)
Provide the title of the attribute at a specific entry.

Specified by:
getRecordColumnName in class IndexRule
Parameters:
index - into the record List.
Returns:
the record List name for that index.


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details