facets.core.superficial.app
Class SelectionView

java.lang.Object
  extended by facets.util.Tracer
      extended by facets.util.StatefulCore
          extended by facets.core.superficial.app.SelectionView
All Implemented Interfaces:
SView, Stateful, Titled, java.io.Serializable
Direct Known Subclasses:
AvatarViewWorks, TableView, TextView, TreeView

public abstract class SelectionView
extends StatefulCore
implements SView

SSelection-aware SView implementation.

SelectionView creates a suitable SSelection for use by the viewer(s) it controls, based on the complete selection within viewable content.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface facets.core.superficial.app.SView
NO_VIEW
 
Constructor Summary
protected SelectionView(java.lang.String title)
          Unique constructor.
 
Method Summary
 boolean allowMultipleSelection()
          Implements interface method.
 boolean isLive()
          Implements interface method.
 SSelection newViewerSelection(SViewer viewer, SSelection viewable)
          Return content to be displayed by viewer.
 
Methods inherited from class facets.util.StatefulCore
copyState, setState, setTitle, stateEquals, stateStamp, title, toString, updateStateStamp
 
Methods inherited from class facets.util.Tracer
trace, trace, trace, trace, trace, traceDebug, traceDebug, traceObjectText, traceOutput, traceOutputWithClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface facets.util.Titled
title
 

Constructor Detail

SelectionView

protected SelectionView(java.lang.String title)
Unique constructor.

Parameters:
title - passed to superclass
Method Detail

isLive

public boolean isLive()
Implements interface method.

Default returns false.

Specified by:
isLive in interface SView

allowMultipleSelection

public boolean allowMultipleSelection()
Implements interface method.

Default returns false.

Specified by:
allowMultipleSelection in interface SView

newViewerSelection

public SSelection newViewerSelection(SViewer viewer,
                                     SSelection viewable)
Return content to be displayed by viewer.

Enables delegation from implementations of ViewableFrame.newViewerSelection(SViewer); default returns viewable

Parameters:
viewer - controlled by this view
viewable - the current SelectingFrame.selection()