br.usp.iterador.gui.util
Class BasicModel

java.lang.Object
  extended by br.usp.iterador.gui.util.BasicModel
All Implemented Interfaces:
ModelField
Direct Known Subclasses:
CurveField, ModelCheckbox, ModelColorField, ModelComboField, ModelDoubleField, ModelIntField, ModelSliderField, ModelTextArea, ModelTextField

public abstract class BasicModel
extends java.lang.Object
implements ModelField

Base model with resizing capabilities.

Author:
Guilherme Silveira

Constructor Summary
BasicModel()
           
 
Method Summary
 double getHeight()
           
 double getWidth()
           
 void setSize(double width, double height)
           
 
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
getComponent, updateField, updateObject
 

Constructor Detail

BasicModel

public BasicModel()
Method Detail

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in interface ModelField

getHeight

public double getHeight()
Specified by:
getHeight in interface ModelField

getWidth

public double getWidth()
Specified by:
getWidth in interface ModelField


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