facets.core.app
Interface StatefulViewable.Clipper

Enclosing class:
StatefulViewable<S extends Stateful>

public static interface StatefulViewable.Clipper

Can copy and paste the content of a StatefulViewable.


Method Summary
 boolean canPaste()
          Are the current clipboard contents suitable for pasting?
 void copySelection()
          Place the currently selected content on the clipboard.
 Stateful[] newStatefuls()
          Attempt to create content from the current clipboard contents.
 

Method Detail

copySelection

void copySelection()
Place the currently selected content on the clipboard.


canPaste

boolean canPaste()
Are the current clipboard contents suitable for pasting?


newStatefuls

Stateful[] newStatefuls()
Attempt to create content from the current clipboard contents.

Returns:
the content, or null on failure