|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.model.Node
oracle.ide.model.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
|
| 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()
NodeDisplayable interface method. The Node class returns
a generic icon.
getIcon in interface DisplayablegetIcon in class Node
protected void openImpl()
throws java.io.IOException
Node
openImpl in class Nodejava.io.IOException - if an I/O error occurred while opening
protected void closeImpl()
throws java.io.IOException
Node
closeImpl in class Nodejava.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()
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.