com.birosoft.liquid.skin
Class SkinElement

java.lang.Object
  extended by com.birosoft.liquid.skin.SkinElement
Direct Known Subclasses:
Skin, SkinMenuItem

public class SkinElement
extends java.lang.Object

The base class for Skin and SkinMenuItem. It's responsibility is to handle the loading of the image from the cache.


Constructor Summary
SkinElement(java.lang.String filename, boolean useAutomaticBitmap)
           
 
Method Summary
 java.lang.String getFilename()
          returns the filename for the skin file.
 java.awt.Image getImage()
          returns the image for the skin
 void setFilename(java.lang.String filename)
          Sets the filename for the skin file
protected  void setImage(java.awt.Image image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinElement

public SkinElement(java.lang.String filename,
                   boolean useAutomaticBitmap)
Method Detail

getFilename

public java.lang.String getFilename()
returns the filename for the skin file.

Returns:
String

setFilename

public void setFilename(java.lang.String filename)
Sets the filename for the skin file

Parameters:
filename - the filename for the skin file

getImage

public java.awt.Image getImage()
returns the image for the skin

Returns:
Image

setImage

protected void setImage(java.awt.Image image)