public interface View
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the view.
|
void |
copy(Clipboard c)
Get the currently selected objects from this view, if any,
and place them on the given clipboard.
|
void |
cut(Clipboard c)
Remove the currently selected objects from this view, if any,
and place them on the given clipboard.
|
JComponent |
getComponent()
Return the component that implements the display of this view.
|
Document |
getDocument()
Get the document that this view is viewing.
|
String |
getShortTitle()
Get the short title of this document.
|
String |
getTitle()
Get the title of this document
|
void |
paste(Clipboard c)
Clone the objects currently on the clipboard, if any, and
place them in the given view.
|
void close() throws Exception
Exception
- If the close operation fails.void copy(Clipboard c)
void cut(Clipboard c)
JComponent getComponent()
Document getDocument()
String getTitle()
String getShortTitle()
void paste(Clipboard c)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.