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.Enumerationchildren()Description of the MethodbooleangetAllowsChildren()Gets the AllowsChildren attribute of the GtkImage objectjavax.swing.tree.TreeNodegetChildAt(int childIndex)Gets the ChildAt attribute of the GtkImage objectintgetChildCount()Gets the ChildCount attribute of the GtkImage objectjava.lang.StringgetFilename()Gets the Filename attribute of the GtkImage objectjava.awt.ImagegetImage(java.net.URL skinDirectory)Gets the Image attribute of the GtkImage objectjava.awt.ImagegetImage(java.net.URL skinDirectory, java.lang.String prop)Gets the Image attribute of the GtkImage objectintgetIndex(javax.swing.tree.TreeNode node)Gets the Index attribute of the GtkImage objectjava.awt.ImagegetOverlayImage(java.net.URL skinDirectory)Gets the OverlayImage attribute of the GtkImage objectjavax.swing.tree.TreeNodegetParent()Gets the Parent attribute of the GtkImage objectjava.awt.ImagegetPreview(int w, int h)Gets the Preview attribute of the GtkImage objectbooleanisLeaf()Gets the Leaf attribute of the GtkImage objectvoidsetPreview(java.awt.Image image)Sets the Preview attribute of the GtkImage objectjava.lang.StringtoString()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.ExceptionGets 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.ExceptionGets 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.ExceptionGets 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.ExceptionGets 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:
getAllowsChildrenin 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:
getChildAtin 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:
getChildCountin 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:
getIndexin 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:
getParentin interfacejavax.swing.tree.TreeNode- Returns:
- The Parent value
-
isLeaf
public boolean isLeaf()
Gets the Leaf attribute of the GtkImage object- Specified by:
isLeafin interfacejavax.swing.tree.TreeNode- Returns:
- The Leaf value
-
children
public java.util.Enumeration children()
Description of the Method- Specified by:
childrenin interfacejavax.swing.tree.TreeNode- Returns:
- Description of the Returned Value
-
toString
public java.lang.String toString()
Description of the Method- Overrides:
toStringin classjava.lang.Object- Returns:
- Description of the Returned Value
-
-