javax.swing.tree.TreeNode
public class GtkImage extends GtkProps implements javax.swing.tree.TreeNode
Constructor | Description |
---|---|
GtkImage() |
Modifier and Type | Method | Description |
---|---|---|
java.util.Enumeration |
children() |
Description of the Method
|
boolean |
getAllowsChildren() |
Gets the AllowsChildren attribute of the GtkImage object
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
Gets the ChildAt attribute of the GtkImage object
|
int |
getChildCount() |
Gets the ChildCount attribute of the GtkImage object
|
java.lang.String |
getFilename() |
Gets the Filename attribute of the GtkImage object
|
java.awt.Image |
getImage(java.net.URL skinDirectory) |
Gets the Image attribute of the GtkImage object
|
java.awt.Image |
getImage(java.net.URL skinDirectory,
java.lang.String prop) |
Gets the Image attribute of the GtkImage object
|
int |
getIndex(javax.swing.tree.TreeNode node) |
Gets the Index attribute of the GtkImage object
|
java.awt.Image |
getOverlayImage(java.net.URL skinDirectory) |
Gets the OverlayImage attribute of the GtkImage object
|
javax.swing.tree.TreeNode |
getParent() |
Gets the Parent attribute of the GtkImage object
|
java.awt.Image |
getPreview(int w,
int h) |
Gets the Preview attribute of the GtkImage object
|
boolean |
isLeaf() |
Gets the Leaf attribute of the GtkImage object
|
void |
setPreview(java.awt.Image image) |
Sets the Preview attribute of the GtkImage object
|
java.lang.String |
toString() |
Description of the Method
|
getKeys, getProperties, getProperty, setProperty
public void setPreview(java.awt.Image image)
image
- The new Preview valuepublic java.awt.Image getPreview(int w, int h) throws java.lang.Exception
w
- Description of Parameterh
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic java.lang.String getFilename()
public java.awt.Image getImage(java.net.URL skinDirectory) throws java.lang.Exception
skinDirectory
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic java.awt.Image getOverlayImage(java.net.URL skinDirectory) throws java.lang.Exception
skinDirectory
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic java.awt.Image getImage(java.net.URL skinDirectory, java.lang.String prop) throws java.lang.Exception
skinDirectory
- Description of Parameterprop
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
childIndex
- Description of Parameterpublic int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
node
- Description of Parameterpublic javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public java.lang.String toString()
toString
in class java.lang.Object