Class FeatureTypeAttributesCombo

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
org.gvsig.daltransform.swing.impl.components.FeatureTypeAttributesCombo
All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener
Direct Known Subclasses:
NumericFeatureTypeAttributesCombo

public class FeatureTypeAttributesCombo extends JComboBox
Author:
Jorge Piera
See Also:
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
  • Constructor Details

    • FeatureTypeAttributesCombo

      public FeatureTypeAttributesCombo()
  • Method Details

    • addFeatureAttrubutes

      public int addFeatureAttrubutes(org.gvsig.fmap.dal.feature.FeatureStore featureStore) throws org.gvsig.fmap.dal.exception.DataException
      Removes all items then adds atts
      Parameters:
      featureStore -
      Returns:
      the number of items added (equals total item count)
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • addFeatureAttributes

      public int addFeatureAttributes(org.gvsig.fmap.dal.feature.FeatureType featureType)
      Removes all items then adds atts
      Parameters:
      featureType -
      Returns:
      the number of items added (equals total item count)
    • addFeatureAttributes

      public int addFeatureAttributes(org.gvsig.fmap.dal.feature.FeatureType featureType, ArrayList<Integer> types)
      Removes all items then adds atts whose type is contained by list
      Parameters:
      featureType -
      type -
      Returns:
      the number of items added (equals total item count)
    • addFeatureAttributeDescriptor

      public void addFeatureAttributeDescriptor(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor featureAttributeDescriptor)
    • getSelectedFeatureAttributeDescriptor

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor getSelectedFeatureAttributeDescriptor()