net.sf.doolin.gui.field
Interface Field<V>

Type Parameters:
V - Type of object for the view
All Superinterfaces:
PropertyContainer
All Known Implementing Classes:
AbstractField, GUITableField, GUITreeField, MultiComboField, SimpleField

public interface Field<V>
extends PropertyContainer

Definition for a field instance.

Author:
Damien Coraboeuf

Method Summary
 ActionContext getActionContext()
          Gets the action context for this field
 JComponent getCoreComponent()
           
 JComponent getFieldComponent()
          Gets the component for the field.
 FieldDescriptor<V> getFieldDescriptor()
          Gets the field descriptor.
 GUIView<V> getView()
          Gets the view.
 
Methods inherited from interface net.sf.doolin.gui.util.PropertyContainer
getProperty, setProperty
 

Method Detail

getActionContext

ActionContext getActionContext()
Gets the action context for this field

Returns:
Action context

getCoreComponent

JComponent getCoreComponent()

getFieldComponent

JComponent getFieldComponent()
Gets the component for the field.

Returns:
Component

getFieldDescriptor

FieldDescriptor<V> getFieldDescriptor()
Gets the field descriptor.

Returns:
the field descriptor

getView

GUIView<V> getView()
Gets the view.

Returns:
the view


Copyright © 2011. All Rights Reserved.