|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.network.Clipboard
public class Clipboard
Buffer which holds network objects.
| Constructor Summary | |
|---|---|
Clipboard()
|
|
| Method Summary | |
|---|---|
static void |
add(ArrayList objects)
Add objects to the clipboard. |
static void |
addClipboardListener(ClipboardListener l)
Add the specified clipboard listener. |
static boolean |
canBeCopied(PNode node,
NetworkPanel netPanel)
Determines whether or not a pnode can be copied. |
static void |
clear()
Clear the clipboard. |
static void |
fireClipboardChanged()
Fire a clipboard changed event to all registered model listeners. |
static boolean |
isEmpty()
|
static void |
paste(NetworkPanel net)
Paste objects into the netPanel. |
static void |
translateObjects(ArrayList clip,
NetworkPanel net)
Move the designated objects over based on number of pastes that have occurred in the specified network. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Clipboard()
| Method Detail |
|---|
public static void clear()
public static void add(ArrayList objects)
objects - objects to addpublic static void paste(NetworkPanel net)
net - the network to paste intopublic static boolean isEmpty()
public static void translateObjects(ArrayList clip,
NetworkPanel net)
clip - the list of things to pastenet - reference to the NetworkPanel
public static boolean canBeCopied(PNode node,
NetworkPanel netPanel)
node - node to be checkednetPanel - reference to NetworkPanel to be copied from
public static void addClipboardListener(ClipboardListener l)
l - listener to addpublic static void fireClipboardChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||