br.usp.iterador.gui.util
Class ModelComboField

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

public class ModelComboField
extends BasicModel

Combo box.

Author:
Guilherme Silveira

Constructor Summary
ModelComboField(Application app, Scale scale)
           
 
Method Summary
 java.awt.Component 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
 

Constructor Detail

ModelComboField

public ModelComboField(Application app,
                       Scale scale)
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.

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.

Throws:
UpdateException

getComponent

public java.awt.Component getComponent()
Description copied from interface: ModelField
The awt component.

Returns:
the component

getUpdateComponent

public java.awt.Component getUpdateComponent()


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