|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.util.NOClipboard
Tha App Clipboard Based on simple examples found on www
Constructor Summary | |
NOClipboard()
Construct the clipboard |
Method Summary | |
static void |
copy(ClassStyle pClassStyle)
Copy a class style |
static void |
copy(LineStyle pLineStyle)
Copy a line style |
static void |
copy(java.lang.String pString)
Copy some Text |
static void |
copy(java.util.Vector pCurrentObjects)
Copy an object |
static void |
cut(java.util.Vector objects)
Cut an object |
static boolean |
isBaseObjectClipped()
Define if there is a usable class like object in the clipboard. |
static boolean |
isClassStyleClipped()
Define if there is a style object in the clipboard |
static boolean |
isColumnClipped()
Define if there is a column like object in the clipboard |
static boolean |
isLineStyleClipped()
Define if there is a style object in the clipboard |
void |
lostOwnership(java.awt.datatransfer.Clipboard parClipboard,
java.awt.datatransfer.Transferable parTransferable)
This function must be declared because of the class implementation |
static void |
pasteBaseObject(int x,
int y)
Paste the objects contained in the clipboard TODO: simplify using BaseModel instead of ConceptualModel/PhysicalModel |
static void |
pasteClassStyle(ClassView pClassView)
Paste clipped style |
static void |
pasteColumn(BaseObject object)
Paste a field contained in the clipboard |
static void |
pasteLineStyle(LineView pLineView)
Paste clipped style |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NOClipboard()
Method Detail |
public void lostOwnership(java.awt.datatransfer.Clipboard parClipboard, java.awt.datatransfer.Transferable parTransferable)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
parClipboard
- the parent clipboardparTransferable
- the parent transferable objectpublic static boolean isBaseObjectClipped()
public static boolean isColumnClipped()
public static boolean isClassStyleClipped()
public static boolean isLineStyleClipped()
public static void cut(java.util.Vector objects)
objects
- a Vector containing the objects to cutpublic static void copy(java.util.Vector pCurrentObjects)
pCurrentObjects
- the objects to be copiedpublic static void copy(java.lang.String pString)
pString
- the string to be copiedpublic static void copy(ClassStyle pClassStyle)
pClassStyle
- the class style to be copiedpublic static void copy(LineStyle pLineStyle)
pLineStyle
- the line style to be copiedpublic static void pasteBaseObject(int x, int y)
x
- the x coordinatey
- the y coordinatepublic static void pasteColumn(BaseObject object)
object
- the column to pastepublic static void pasteClassStyle(ClassView pClassView)
pClassView
- the class view to which the style will applypublic static void pasteLineStyle(LineView pLineView)
pLineView
- the line view to which the style will apply
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |