com.partnersoft.gui
Interface GUIField<T>

All Known Implementing Classes:
BigStringField, CheckboxField, ColorField, ComboField, DatabaseConfigurationField, DateAndTimeField, DateField, FilenameField, IconField, IntegerField, NamedBlobField, NumberField, PasswordField, PicklistField, ReadOnlyStringField, SoundField, StringField, TextAreaField, TimeField, TreeField

public interface GUIField<T>

A data-entry field on a GUIForm.

Copyright 2005 Partner Software, Inc.

Version:
$Id: GUIField.java 1012 2007-11-24 18:30:02Z paul $
Author:
Paul Reavis

Method Summary
 void doAction()
          This does different things depending on the field; for example in a text field it indicates return was hit.
 javax.swing.JComponent getGUI()
          Returns the GUI component for this field.
 T getValue()
          Returns the current value for this field.
 void setValue(T newValue)
          Sets the current value for this field.
 void valueChanged(T newValue)
          When the value changes, this is run.
 

Method Detail

getGUI

javax.swing.JComponent getGUI()
Returns the GUI component for this field.


getValue

T getValue()
Returns the current value for this field.


setValue

void setValue(T newValue)
Sets the current value for this field.


valueChanged

void valueChanged(T newValue)
When the value changes, this is run. Use as a more convenient form of event handling.


doAction

void doAction()
This does different things depending on the field; for example in a text field it indicates return was hit.