|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.Node oracle.ide.model.ImageNode
public class ImageNode
Node
subclass for GIF, JPEG, and PNG image files.
Field Summary | |
---|---|
static java.lang.String |
GIF_EXT
|
static java.lang.String |
JPEG_EXT
|
static java.lang.String |
JPG_EXT
|
static java.lang.String |
PNG_EXT
|
Fields inherited from class oracle.ide.model.Node |
---|
LOG_READONLY |
Constructor Summary | |
---|---|
ImageNode()
|
|
ImageNode(java.net.URL url)
|
Method Summary | |
---|---|
protected void |
closeImpl()
Subclasses should override this method to customize the close() behavior. |
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.awt.Image |
getImage()
|
static URLFilter |
getImageURLFilter()
Returns a URLFilter that selects the image file formats
directly supported by ImageNode. |
static void |
init()
|
protected void |
openImpl()
Subclasses should override this method to customize the open() behavior. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GIF_EXT
public static final java.lang.String JPG_EXT
public static final java.lang.String JPEG_EXT
public static final java.lang.String PNG_EXT
Constructor Detail |
---|
public ImageNode()
public ImageNode(java.net.URL url)
Method Detail |
---|
public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns
a generic icon.
getIcon
in interface Displayable
getIcon
in class Node
Icon
to be displayed for the
Displayable
.protected void openImpl() throws java.io.IOException
Node
Node.open()
invokes this only if the node is not open, under
write lock. The Node
implementation does nothing.
openImpl
in class Node
java.io.IOException
- if an I/O error occurred while openingprotected void closeImpl() throws java.io.IOException
Node
Node.close()
invokes this only if the node is open, under
write lock. The Node
implementation does nothing.
closeImpl
in class Node
java.io.IOException
- if an I/O error occurred while closingpublic java.awt.Image getImage()
public static URLFilter getImageURLFilter()
URLFilter
that selects the image file formats
directly supported by ImageNode.
public static void init()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |