com.l2fprod.gui.plaf.skin.impl.gtk
Class GtkImage

java.lang.Object
  extended by com.l2fprod.gui.plaf.skin.impl.gtk.GtkProps
      extended by 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
GtkImage()
           
 
Method Summary
 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
 
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.gtk.GtkProps
getKeys, getProperties, getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GtkImage

public GtkImage()
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 Parameter
h - 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 Parameter
prop - 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 interface javax.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 interface javax.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 interface javax.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 interface javax.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 interface javax.swing.tree.TreeNode
Returns:
The Parent value

isLeaf

public boolean isLeaf()
Gets the Leaf attribute of the GtkImage object

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Returns:
The Leaf value

children

public java.util.Enumeration children()
Description of the Method

Specified by:
children in interface javax.swing.tree.TreeNode
Returns:
Description of the Returned Value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Returned Value