br.usp.iterador.gui.util
Class ModelDoubleField

java.lang.Object
  extended by br.usp.iterador.gui.util.BasicModel
      extended by br.usp.iterador.gui.util.ModelDoubleField
All Implemented Interfaces:
ModelField

public class ModelDoubleField
extends BasicModel
implements ModelField

A double field

Author:
Guilherme Silveira

Constructor Summary
ModelDoubleField()
          Constructor
ModelDoubleField(java.lang.String fieldName)
          Constructor
 
Method Summary
 javax.swing.JTextField getComponent()
          The awt component.
 java.awt.Component getUpdateComponent()
           
 void updateField(java.lang.Object o, JXPathResolver resolver)
          Updates the component with the object's value.
 void updateObject(java.lang.Object o, JXPathResolver resolver)
          Updates the object with its internal value.
 
Methods inherited from class br.usp.iterador.gui.util.BasicModel
getHeight, getWidth, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface br.usp.iterador.gui.util.ModelField
getHeight, getWidth, setSize
 

Constructor Detail

ModelDoubleField

public ModelDoubleField()
Constructor


ModelDoubleField

public ModelDoubleField(java.lang.String fieldName)
Constructor

Parameters:
fieldName - field name
Method Detail

updateField

public void updateField(java.lang.Object o,
                        JXPathResolver resolver)
                 throws UpdateException
Description copied from interface: ModelField
Updates the component with the object's value.

Specified by:
updateField in interface ModelField
Throws:
UpdateException

updateObject

public void updateObject(java.lang.Object o,
                         JXPathResolver resolver)
                  throws UpdateException
Description copied from interface: ModelField
Updates the object with its internal value.

Specified by:
updateObject in interface ModelField
Throws:
UpdateException

getComponent

public javax.swing.JTextField getComponent()
Description copied from interface: ModelField
The awt component.

Specified by:
getComponent in interface ModelField
Returns:
the component

getUpdateComponent

public java.awt.Component getUpdateComponent()


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.