net.sf.doolin.gui.field.support
Class SimpleField<V>

java.lang.Object
  extended by net.sf.doolin.gui.field.support.AbstractField<V>
      extended by net.sf.doolin.gui.field.support.SimpleField<V>
Type Parameters:
V - Type of object for the view
All Implemented Interfaces:
Field<V>, PropertyContainer
Direct Known Subclasses:
MultiComboField

public class SimpleField<V>
extends AbstractField<V>

Simple field definition that associates a view, a field descriptor and a component.

Author:
Damien Coraboeuf

Constructor Summary
SimpleField(GUIView<V> view, FieldDescriptor<V> fieldDescriptor, JComponent fieldComponent)
          Instantiates a new simple field.
 
Method Summary
 JComponent getFieldComponent()
          Gets the component for the field.
 
Methods inherited from class net.sf.doolin.gui.field.support.AbstractField
getActionContext, getCoreComponent, getFieldDescriptor, getProperty, getView, setActionContext, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleField

public SimpleField(GUIView<V> view,
                   FieldDescriptor<V> fieldDescriptor,
                   JComponent fieldComponent)
Instantiates a new simple field.

Parameters:
view - the view
fieldDescriptor - the field descriptor
fieldComponent - the field component
Method Detail

getFieldComponent

public JComponent getFieldComponent()
Gets the component for the field.

Returns:
Component


Copyright © 2011. All Rights Reserved.