Class GtkImage
- java.lang.Object
-
- com.l2fprod.gui.plaf.skin.impl.gtk.GtkProps
-
- com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
public class GtkImage extends GtkProps implements javax.swing.tree.TreeNode
- Version:
- $Revision: 1.2 $, $Date: 2003/12/06 21:48:36 $
- Author:
- $Author: l2fprod $
-
-
Constructor Summary
Constructors Constructor Description GtkImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration
children()
Description of the Methodboolean
getAllowsChildren()
Gets the AllowsChildren attribute of the GtkImage objectjavax.swing.tree.TreeNode
getChildAt(int childIndex)
Gets the ChildAt attribute of the GtkImage objectint
getChildCount()
Gets the ChildCount attribute of the GtkImage objectjava.lang.String
getFilename()
Gets the Filename attribute of the GtkImage objectjava.awt.Image
getImage(java.net.URL skinDirectory)
Gets the Image attribute of the GtkImage objectjava.awt.Image
getImage(java.net.URL skinDirectory, java.lang.String prop)
Gets the Image attribute of the GtkImage objectint
getIndex(javax.swing.tree.TreeNode node)
Gets the Index attribute of the GtkImage objectjava.awt.Image
getOverlayImage(java.net.URL skinDirectory)
Gets the OverlayImage attribute of the GtkImage objectjavax.swing.tree.TreeNode
getParent()
Gets the Parent attribute of the GtkImage objectjava.awt.Image
getPreview(int w, int h)
Gets the Preview attribute of the GtkImage objectboolean
isLeaf()
Gets the Leaf attribute of the GtkImage objectvoid
setPreview(java.awt.Image image)
Sets the Preview attribute of the GtkImage objectjava.lang.String
toString()
Description of the Method-
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.gtk.GtkProps
getKeys, getProperties, getProperty, setProperty
-
-
-
-
Method Detail
-
setPreview
public void setPreview(java.awt.Image image)
Sets the Preview attribute of the GtkImage object- Parameters:
image
- The new Preview value
-
getPreview
public java.awt.Image getPreview(int w, int h) throws java.lang.Exception
Gets the Preview attribute of the GtkImage object- Parameters:
w
- Description of Parameterh
- Description of Parameter- Returns:
- The Preview value
- Throws:
java.lang.Exception
- Description of Exception
-
getFilename
public java.lang.String getFilename()
Gets the Filename attribute of the GtkImage object- Returns:
- The Filename value
-
getImage
public java.awt.Image getImage(java.net.URL skinDirectory) throws java.lang.Exception
Gets the Image attribute of the GtkImage object- Parameters:
skinDirectory
- Description of Parameter- Returns:
- The Image value
- Throws:
java.lang.Exception
- Description of Exception
-
getOverlayImage
public java.awt.Image getOverlayImage(java.net.URL skinDirectory) throws java.lang.Exception
Gets the OverlayImage attribute of the GtkImage object- Parameters:
skinDirectory
- Description of Parameter- Returns:
- The OverlayImage value
- Throws:
java.lang.Exception
- Description of Exception
-
getImage
public java.awt.Image getImage(java.net.URL skinDirectory, java.lang.String prop) throws java.lang.Exception
Gets the Image attribute of the GtkImage object- Parameters:
skinDirectory
- Description of Parameterprop
- Description of Parameter- Returns:
- The Image value
- Throws:
java.lang.Exception
- Description of Exception
-
getAllowsChildren
public boolean getAllowsChildren()
Gets the AllowsChildren attribute of the GtkImage object- Specified by:
getAllowsChildren
in interfacejavax.swing.tree.TreeNode
- Returns:
- The AllowsChildren value
-
getChildAt
public javax.swing.tree.TreeNode getChildAt(int childIndex)
Gets the ChildAt attribute of the GtkImage object- Specified by:
getChildAt
in interfacejavax.swing.tree.TreeNode
- Parameters:
childIndex
- Description of Parameter- Returns:
- The ChildAt value
-
getChildCount
public int getChildCount()
Gets the ChildCount attribute of the GtkImage object- Specified by:
getChildCount
in interfacejavax.swing.tree.TreeNode
- Returns:
- The ChildCount value
-
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
Gets the Index attribute of the GtkImage object- Specified by:
getIndex
in interfacejavax.swing.tree.TreeNode
- Parameters:
node
- Description of Parameter- Returns:
- The Index value
-
getParent
public javax.swing.tree.TreeNode getParent()
Gets the Parent attribute of the GtkImage object- Specified by:
getParent
in interfacejavax.swing.tree.TreeNode
- Returns:
- The Parent value
-
isLeaf
public boolean isLeaf()
Gets the Leaf attribute of the GtkImage object- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeNode
- Returns:
- The Leaf value
-
children
public java.util.Enumeration children()
Description of the Method- Specified by:
children
in interfacejavax.swing.tree.TreeNode
- Returns:
- Description of the Returned Value
-
toString
public java.lang.String toString()
Description of the Method- Overrides:
toString
in classjava.lang.Object
- Returns:
- Description of the Returned Value
-
-