facets.core.superficial.app
Interface SSelection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
PathSelection

public interface SSelection
extends java.io.Serializable

Selection within application content.

SSelection encapsulates the two key features of a selection (potentially multiple) within content:

Implementors should provide a valid implementation of at least one of selection() and selections(); instances are intended to be immutable, each defining a specific selection.


Method Summary
 java.lang.Object content()
          The content within which to select.
 java.lang.Object selection()
          Single object defining the currently selected portion(s) of content().
 java.lang.Object[] selections()
          Array defining the currently selected portion(s) of content().
 

Method Detail

content

java.lang.Object content()
The content within which to select.

This will generally be the content to display within a viewer; and thus itself a portion of some larger content.


selection

java.lang.Object selection()
Single object defining the currently selected portion(s) of content().


selections

java.lang.Object[] selections()
Array defining the currently selected portion(s) of content().