org.gvsig.fmap.mapcontrol.swing.dynfield
Class GeometryDynFieldComponent

java.lang.Object
  extended by org.gvsig.tools.swing.spi.AbstractJDynField
      extended by org.gvsig.tools.swing.spi.AbstractJDynFieldComponent
          extended by org.gvsig.fmap.mapcontrol.swing.dynfield.GeometryDynFieldComponent
All Implemented Interfaces:
ActionListener, EventListener, Service, Component, ComponentService, JDynComponent, JDynFieldComponent, ValueField

public class GeometryDynFieldComponent
extends AbstractJDynFieldComponent
implements ActionListener

This class provides a swing component to represent Geometry objects in dialogs/forms

Author:
jldominguez

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gvsig.tools.swing.api.dynobject.dynfield.JDynFieldComponent
JDynFieldComponent.PARAMETERS
 
Constructor Summary
GeometryDynFieldComponent(DynField definition, ValueField value, boolean writeable)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected  void afterUI()
           
 JComponent asJComponent()
           
 Object getValue()
           
protected  void initData()
           
protected  void initUI()
           
 void requestFocus()
           
 void setEnabled(boolean isEnabled)
           
protected  void setJDynFieldComponentListeners()
           
protected  void setNonNullValue(Object value)
           
protected  void setNullValue()
           
protected  void setReadOnly()
           
 
Methods inherited from class org.gvsig.tools.swing.spi.AbstractJDynFieldComponent
addValueChangedListener, createBoxLayout, createBoxRowPanel, createButton, fireValueChangedEvent, getDefaultValue, getFieldName, getManager, isMandatory, isValid, saveStatus, translate
 
Methods inherited from class org.gvsig.tools.swing.spi.AbstractJDynField
getDefaultFieldValue, getDynField, getFieldValue, getInitialValue, getParentDynField, getValidateException, getValidationMessage, init, isReadOnly, setFieldValue, setValue, validate
 
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.dynobject.dynfield.JDynFieldComponent
getDynField, getInitialValue, getValidationMessage
 
Methods inherited from interface org.gvsig.tools.swing.api.dynobject.dynfield.ValueField
getDefaultFieldValue, getFieldValue, getParentDynField, setFieldValue, setValue
 

Constructor Detail

GeometryDynFieldComponent

public GeometryDynFieldComponent(DynField definition,
                                 ValueField value,
                                 boolean writeable)
                          throws ServiceException
Throws:
ServiceException
Method Detail

setEnabled

public void setEnabled(boolean isEnabled)
Specified by:
setEnabled in interface JDynFieldComponent

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface JDynComponent

asJComponent

public JComponent asJComponent()
Specified by:
asJComponent in interface Component

getValue

public Object getValue()
Specified by:
getValue in interface JDynComponent
Specified by:
getValue in class AbstractJDynFieldComponent

setJDynFieldComponentListeners

protected void setJDynFieldComponentListeners()
Specified by:
setJDynFieldComponentListeners in class AbstractJDynFieldComponent

afterUI

protected void afterUI()
Specified by:
afterUI in class AbstractJDynField

initData

protected void initData()
Specified by:
initData in class AbstractJDynField

initUI

protected void initUI()
Specified by:
initUI in class AbstractJDynField

setNonNullValue

protected void setNonNullValue(Object value)
Specified by:
setNonNullValue in class AbstractJDynField

setNullValue

protected void setNullValue()
Specified by:
setNullValue in class AbstractJDynField

setReadOnly

protected void setReadOnly()
Specified by:
setReadOnly in class AbstractJDynField

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2004-2013 gvSIG. All Rights Reserved.