Class DefaultAttributeDescriptorPickerController

java.lang.Object
org.gvsig.tools.swing.api.pickercontroller.AbstractPickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
org.gvsig.fmap.dal.swing.impl.featuretype.DefaultAttributeDescriptorPickerController
All Implemented Interfaces:
org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController, org.gvsig.tools.swing.api.ChangeListenerSupport, org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>

public class DefaultAttributeDescriptorPickerController extends org.gvsig.tools.swing.api.pickercontroller.AbstractPickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor> implements org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
Author:
jjdelcerro
  • Field Summary

    Fields inherited from class org.gvsig.tools.swing.api.pickercontroller.AbstractPickerController

    changeListenerHelper, LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultAttributeDescriptorPickerController(JComboBox combo, Predicate<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor> filter)
     
    DefaultAttributeDescriptorPickerController(JList list, Predicate<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor> filter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    coerceAndSet(Object descriptor)
     
    org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    get()
     
    boolean
     
     
    boolean
     
    void
    set(String name)
     
    void
    set(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor descriptor)
     
    void
    setAllowNull(boolean allowNull)
     
    void
    setEditable(boolean editable)
     
    void
    setEnabled(boolean enabled)
     
    void
    setFeatureType(org.gvsig.fmap.dal.feature.FeatureType featureType)
     

    Methods inherited from class org.gvsig.tools.swing.api.pickercontroller.AbstractPickerController

    addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, isEmpty, isValid, removeAllChangeListener, removeChangeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gvsig.tools.swing.api.ChangeListenerSupport

    addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListener

    Methods inherited from interface org.gvsig.tools.swing.api.pickercontroller.PickerController

    isEditable, isEmpty, isValid
  • Constructor Details

    • DefaultAttributeDescriptorPickerController

      public DefaultAttributeDescriptorPickerController(JComboBox combo, Predicate<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor> filter)
    • DefaultAttributeDescriptorPickerController

      public DefaultAttributeDescriptorPickerController(JList list, Predicate<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor> filter)
  • Method Details

    • setFeatureType

      public void setFeatureType(org.gvsig.fmap.dal.feature.FeatureType featureType)
      Specified by:
      setFeatureType in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
    • get

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor get()
      Specified by:
      get in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • set

      public void set(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor descriptor)
      Specified by:
      set in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • set

      public void set(String name)
      Specified by:
      set in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
    • coerceAndSet

      public void coerceAndSet(Object descriptor)
      Specified by:
      coerceAndSet in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
    • clean

      public void clean()
      Specified by:
      clean in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
    • setEditable

      public void setEditable(boolean editable)
      Specified by:
      setEditable in interface org.gvsig.tools.swing.api.pickercontroller.PickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
      Overrides:
      setEditable in class org.gvsig.tools.swing.api.pickercontroller.AbstractPickerController<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • setAllowNull

      public void setAllowNull(boolean allowNull)
      Specified by:
      setAllowNull in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController
    • getAllowNull

      public boolean getAllowNull()
      Specified by:
      getAllowNull in interface org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController