ru.goodidea.df.dictionary
Class Field

java.lang.Object
  extended by ru.goodidea.df.dictionary.datasource.FieldAbstract
      extended by ru.goodidea.df.dictionary.Field
All Implemented Interfaces:
java.io.Serializable, PanelBuildable, XMLable, XMLFillable
Direct Known Subclasses:
BooleanField, DateField, EnumField, FileField, NumberField, PasswordField, SingleChoiceField, StringField

public abstract class Field
extends FieldAbstract
implements java.io.Serializable, XMLable, PanelBuildable

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Konstantin Pupkov
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ru.goodidea.df.xml.XMLFillable
ATTRIBUTE_HEIGHT, ATTRIBUTE_WIDTH, ATTRIBUTE_X, ATTRIBUTE_Y
 
Constructor Summary
Field(Componentable componentable, FieldModel model)
           
 
Method Summary
 void fillXML(org.w3c.dom.Element root)
          fillXML
 Componentable getComponentable()
           
 java.lang.String getName()
           
abstract  java.lang.Object getValue()
           
 void restoreXML(org.w3c.dom.Element root)
           
 void setName(java.lang.String name)
           
abstract  void setValue(java.lang.Object value)
           
 
Methods inherited from class ru.goodidea.df.dictionary.datasource.FieldAbstract
equals, getConstraint, getLabel, getModel, getType, hashCode, setConstraint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ru.goodidea.df.ui.PanelBuildable
getConstraint, getLabel, setConstraint
 

Constructor Detail

Field

public Field(Componentable componentable,
             FieldModel model)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getComponentable

public Componentable getComponentable()

fillXML

public void fillXML(org.w3c.dom.Element root)
fillXML

Specified by:
fillXML in interface XMLFillable
Parameters:
root - Element

restoreXML

public void restoreXML(org.w3c.dom.Element root)
Specified by:
restoreXML in interface XMLable

setValue

public abstract void setValue(java.lang.Object value)
Specified by:
setValue in class FieldAbstract

getValue

public abstract java.lang.Object getValue()
Specified by:
getValue in class FieldAbstract


Copyright © 2009. All Rights Reserved.