| java.lang.Object com.ibm.richtext.textpanel.StyledTextClipboard
StyledTextClipboard | class StyledTextClipboard implements ClipboardOwner(Code) | | Wrapper for java.awt.datatransfer.Clipboard
Packages an MConstText in a transferable, and puts it on the clipboard.
|
getContents | public MConstText getContents(AttributeMap defaultStyle)(Code) | | If the Clipboard has text content, return it as an
MConstText. Otherwise return null.
Parameters: defaultStyle - the style to apply to unstyledtext (such as a String). If the clipboardhas styled text this parameter is not used. |
hasContents | public boolean hasContents()(Code) | | Has contents - faster than getContents for finding out whether the
clipboard has text.
|
|
|