Class GtkImage

java.lang.Object
com.l2fprod.gui.plaf.skin.impl.gtk.GtkProps
com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage
All Implemented Interfaces:
TreeNode

public class GtkImage extends GtkProps implements TreeNode
Version:
$Revision: 1.2 $, $Date: 2003/12/06 21:48:36 $
Author:
$Author: l2fprod $
  • Constructor Details

    • GtkImage

      public GtkImage()
  • Method Details

    • setPreview

      public void setPreview(Image image)
      Sets the Preview attribute of the GtkImage object
      Parameters:
      image - The new Preview value
    • getPreview

      public Image getPreview(int w, int h) throws Exception
      Gets the Preview attribute of the GtkImage object
      Parameters:
      w - Description of Parameter
      h - Description of Parameter
      Returns:
      The Preview value
      Throws:
      Exception - Description of Exception
    • getFilename

      public String getFilename()
      Gets the Filename attribute of the GtkImage object
      Returns:
      The Filename value
    • getImage

      public Image getImage(URL skinDirectory) throws Exception
      Gets the Image attribute of the GtkImage object
      Parameters:
      skinDirectory - Description of Parameter
      Returns:
      The Image value
      Throws:
      Exception - Description of Exception
    • getOverlayImage

      public Image getOverlayImage(URL skinDirectory) throws Exception
      Gets the OverlayImage attribute of the GtkImage object
      Parameters:
      skinDirectory - Description of Parameter
      Returns:
      The OverlayImage value
      Throws:
      Exception - Description of Exception
    • getImage

      public Image getImage(URL skinDirectory, String prop) throws Exception
      Gets the Image attribute of the GtkImage object
      Parameters:
      skinDirectory - Description of Parameter
      prop - Description of Parameter
      Returns:
      The Image value
      Throws:
      Exception - Description of Exception
    • getAllowsChildren

      public boolean getAllowsChildren()
      Gets the AllowsChildren attribute of the GtkImage object
      Specified by:
      getAllowsChildren in interface TreeNode
      Returns:
      The AllowsChildren value
    • getChildAt

      public TreeNode getChildAt(int childIndex)
      Gets the ChildAt attribute of the GtkImage object
      Specified by:
      getChildAt in interface 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 TreeNode
      Returns:
      The ChildCount value
    • getIndex

      public int getIndex(TreeNode node)
      Gets the Index attribute of the GtkImage object
      Specified by:
      getIndex in interface TreeNode
      Parameters:
      node - Description of Parameter
      Returns:
      The Index value
    • getParent

      public TreeNode getParent()
      Gets the Parent attribute of the GtkImage object
      Specified by:
      getParent in interface TreeNode
      Returns:
      The Parent value
    • isLeaf

      public boolean isLeaf()
      Gets the Leaf attribute of the GtkImage object
      Specified by:
      isLeaf in interface TreeNode
      Returns:
      The Leaf value
    • children

      public Enumeration children()
      Description of the Method
      Specified by:
      children in interface TreeNode
      Returns:
      Description of the Returned Value
    • toString

      public String toString()
      Description of the Method
      Overrides:
      toString in class Object
      Returns:
      Description of the Returned Value