FieldView

public interface FieldView
Known Indirect Subclasses

Describes methods that all views that are representing a Field must implement.

Implementations of FieldView must extend View or one of its subclasses.

Public Method Summary

abstract Field
abstract void
setField(Field field)
Sets the Field model for this view.
abstract void
unlinkField()
Disconnect the model from this view.

Public Methods

public abstract Field getField ()

Returns
  • The field represented by this view.

public abstract void setField (Field field)

Sets the Field model for this view. If null the current field will be disconnected from the view if one is set. The field must be of the appropriate type for the specific view implementation or a ClassCastException may be thrown.

Parameters
field The field backing this view.

public abstract void unlinkField ()

Disconnect the model from this view.