public interface View
Red |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the view.
|
void |
copy(java.awt.datatransfer.Clipboard c)
Get the currently selected objects from this view, if any,
and place them on the given clipboard.
|
void |
cut(java.awt.datatransfer.Clipboard c)
Remove the currently selected objects from this view, if any,
and place them on the given clipboard.
|
javax.swing.JComponent |
getComponent()
Return the component that implements the display of this view.
|
Document |
getDocument()
Get the document that this view is viewing.
|
java.lang.String |
getShortTitle()
Get the short title of this document.
|
java.lang.String |
getTitle()
Get the title of this document
|
void |
paste(java.awt.datatransfer.Clipboard c)
Clone the objects currently on the clipboard, if any, and
place them in the given view.
|
void close() throws java.lang.Exception
java.lang.Exception
- If the close operation fails.void copy(java.awt.datatransfer.Clipboard c)
void cut(java.awt.datatransfer.Clipboard c)
javax.swing.JComponent getComponent()
Document getDocument()
java.lang.String getTitle()
java.lang.String getShortTitle()
void paste(java.awt.datatransfer.Clipboard c)