Package com.im.ijc.core.api.ui
Class BinaryDataSupport
- java.lang.Object
-
- com.im.ijc.core.api.ui.BinaryDataSupport
-
- All Implemented Interfaces:
com.im.df.api.util.ReferencedContentProvider
public class BinaryDataSupport extends java.lang.Object implements com.im.df.api.util.ReferencedContentProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BinaryDataSupport.FileChooser
static class
BinaryDataSupport.FileFilter
static class
BinaryDataSupport.FileURLChooser
static class
BinaryDataSupport.ImagePreview
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELETE_VALUE_ACTION
-
Constructor Summary
Constructors Constructor Description BinaryDataSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinaryDataSupport.FileChooser
createFileChooser(javax.swing.filechooser.FileFilter fileFilter)
static BinaryDataSupport.FileChooser
createFileChooser(javax.swing.filechooser.FileFilter fileFilter, javax.swing.JComponent accessory)
static BinaryDataSupport.FileURLChooser
createFileURLChooser(javax.swing.filechooser.FileFilter fileFilter)
static BinaryDataSupport.ImagePreview
createImagePreview(javax.swing.JFileChooser fc, boolean showDelete)
static java.io.ByteArrayOutputStream
fetchURLResource(java.lang.String urif)
java.lang.Object
getReferencedContent(java.lang.String url)
void
setContentProvider(com.im.df.api.util.ReferencedContentProvider contentProvider)
-
-
-
Method Detail
-
createFileURLChooser
public static BinaryDataSupport.FileURLChooser createFileURLChooser(javax.swing.filechooser.FileFilter fileFilter)
-
createFileChooser
public static BinaryDataSupport.FileChooser createFileChooser(javax.swing.filechooser.FileFilter fileFilter)
-
createFileChooser
public static BinaryDataSupport.FileChooser createFileChooser(javax.swing.filechooser.FileFilter fileFilter, javax.swing.JComponent accessory)
-
getReferencedContent
public java.lang.Object getReferencedContent(java.lang.String url)
- Specified by:
getReferencedContent
in interfacecom.im.df.api.util.ReferencedContentProvider
-
setContentProvider
public void setContentProvider(com.im.df.api.util.ReferencedContentProvider contentProvider)
- Specified by:
setContentProvider
in interfacecom.im.df.api.util.ReferencedContentProvider
-
fetchURLResource
public static java.io.ByteArrayOutputStream fetchURLResource(java.lang.String urif)
-
createImagePreview
public static BinaryDataSupport.ImagePreview createImagePreview(javax.swing.JFileChooser fc, boolean showDelete)
-
-