|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javatools.util
Class Clipboard

java.lang.Objectjavatools.util.Clipboard
- public class Clipboard
- extends java.lang.Object
It represents a simple clipboard. Now it can contains several elements at a time.
- Version:
- 0.1.8
| Field Summary | |
private Clippable[] |
clipObjects
|
| Constructor Summary | |
Clipboard()
Creates a new instance of Clipboard |
|
| Method Summary | |
static Clippable[] |
buildClippableArray(javax.swing.JTree tree)
|
boolean |
canBeAttached(Clippable clip,
boolean checkOnlyOne)
|
static boolean |
canBeCopied(Clippable[] clips,
boolean checkOnlyOne)
|
static boolean |
canBeCut(Clippable[] clips,
boolean checkOnlyOne)
|
void |
clear()
Clears everything. |
void |
copy(Clippable clip)
Copies an item. |
void |
copy(Clippable[] clips)
Copies an array of items. |
void |
cut(Clippable clip)
Cuts an item. |
void |
cut(Clippable[] clips)
Cuts an array of items. |
Clippable |
getClipObject()
Returns the first of the array of clipped objects. |
Clippable[] |
getClipObjects()
Returns the array of clipped objects. |
static java.lang.String |
getFirstType(Clippable[] clips)
|
static boolean |
isOmogeneous(Clippable[] clips)
|
void |
paste(Clippable father)
Pastes an item. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
clipObjects
private Clippable[] clipObjects
| Constructor Detail |
Clipboard
public Clipboard()
- Creates a new instance of Clipboard
| Method Detail |
buildClippableArray
public static Clippable[] buildClippableArray(javax.swing.JTree tree)
isOmogeneous
public static boolean isOmogeneous(Clippable[] clips)
getFirstType
public static java.lang.String getFirstType(Clippable[] clips)
canBeCut
public static boolean canBeCut(Clippable[] clips, boolean checkOnlyOne)
canBeCopied
public static boolean canBeCopied(Clippable[] clips, boolean checkOnlyOne)
canBeAttached
public boolean canBeAttached(Clippable clip, boolean checkOnlyOne)
cut
public void cut(Clippable clip)
- Cuts an item.
cut
public void cut(Clippable[] clips)
- Cuts an array of items.
copy
public void copy(Clippable clip)
- Copies an item.
copy
public void copy(Clippable[] clips)
- Copies an array of items.
paste
public void paste(Clippable father)
- Pastes an item.
getClipObject
public Clippable getClipObject()
- Returns the first of the array of clipped objects.
getClipObjects
public Clippable[] getClipObjects()
- Returns the array of clipped objects.
clear
public void clear()
- Clears everything.
|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javatools.util.Clipboard