br.usp.iterador.gui.util
Interface ModelField

All Known Implementing Classes:
BasicModel, CurveField, ModelCheckbox, ModelColorField, ModelComboField, ModelDoubleField, ModelIntField, ModelSliderField, ModelTextArea, ModelTextField

public interface ModelField


Method Summary
 java.awt.Component getComponent()
          The awt component.
 double getHeight()
           
 double getWidth()
           
 void setSize(double d, double e)
           
 void updateField(java.lang.Object o, JXPathResolver resolver)
          Updates the component with the object's value.
 void updateObject(java.lang.Object obj, JXPathResolver resolver)
          Updates the object with its internal value.
 

Method Detail

updateField

void updateField(java.lang.Object o,
                 JXPathResolver resolver)
                 throws UpdateException
Updates the component with the object's value.

Throws:
UpdateException

getComponent

java.awt.Component getComponent()
The awt component.

Returns:
the component

updateObject

void updateObject(java.lang.Object obj,
                  JXPathResolver resolver)
                  throws UpdateException
Updates the object with its internal value.

Throws:
UpdateException

setSize

void setSize(double d,
             double e)

getWidth

double getWidth()

getHeight

double getHeight()


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