diva.pod
Interface View

All Superinterfaces:
PropertyContainer

public interface View
extends PropertyContainer

A View displays data in the Layout protocol. This is the only recommended means by which anything be placed on a computer screen. Pods must never create a graphical object.

Although Views can only understand the Layout protocol, their interpretion of the data may differ wildly. A View is not a "general-purpose data viewer" (although a default one is provided in this package). Rather, it is simple the root abstraction for the various data viewers and editors that can be used to display and manipulate Pod data.

Views can have string-named properties attached to them.

Version:
$Revision: 1.2 $
Author:
John Reekie

Method Summary
 Receiver getReceiver(HashMap properties)
          Get a receiver in the Layout protocol from the View.
 
Methods inherited from interface diva.util.PropertyContainer
getProperty, propertyNames, setProperty
 

Method Detail

getReceiver

Receiver getReceiver(HashMap properties)
Get a receiver in the Layout protocol from the View. The properties hash map, if supplied, can be used in a protocol-specific way to place constraints on the selection of a receiver.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.