Package com.inductiveautomation.rm.text
Class RMTextEditorUtils.RMXStringTransferable
java.lang.Object
com.inductiveautomation.rm.text.RMTextEditorUtils.RMXStringTransferable
- All Implemented Interfaces:
- Transferable
- Enclosing class:
- RMTextEditorUtils
Transferable implementation for text editor and xstrings.
- 
Constructor SummaryConstructorsConstructorDescriptionRMXStringTransferable(RMXString aString) Creates a new editor clipboard for given xstring.
- 
Method SummaryModifier and TypeMethodDescriptiongetTransferData(DataFlavor flavor) Returns an inputstream with clipboard data for requested flavor.Returns the supported flavors: RMTextFlavor and stringFlavor.booleanReturns whether given flavor is supported.
- 
Constructor Details- 
RMXStringTransferableCreates a new editor clipboard for given xstring.
 
- 
- 
Method Details- 
getTransferDataFlavorsReturns the supported flavors: RMTextFlavor and stringFlavor.- Specified by:
- getTransferDataFlavorsin interface- Transferable
 
- 
isDataFlavorSupportedReturns whether given flavor is supported.- Specified by:
- isDataFlavorSupportedin interface- Transferable
 
- 
getTransferDataReturns an inputstream with clipboard data for requested flavor.- Specified by:
- getTransferDatain interface- Transferable
- Throws:
- UnsupportedFlavorException
- IOException
 
 
-