com.jmex.bui.icon
Class BIcon

java.lang.Object
  extended by com.jmex.bui.icon.BIcon
Direct Known Subclasses:
BlankIcon, ImageIcon, SubimageIcon

public abstract class BIcon
extends Object

Provides icon imagery for various components which make use of it.


Constructor Summary
BIcon()
           
 
Method Summary
abstract  int getHeight()
          Returns the height of this icon.
abstract  int getWidth()
          Returns the width of this icon.
 void render(Renderer renderer, int x, int y, float alpha)
          Renders this icon.
 void wasAdded()
          Called when the component that contains this icon is was added to the interface hierarchy.
 void wasRemoved()
          Called when the component that contains this icon is no longer part of a user interface hierarchy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIcon

public BIcon()
Method Detail

getWidth

public abstract int getWidth()
Returns the width of this icon.


getHeight

public abstract int getHeight()
Returns the height of this icon.


render

public void render(Renderer renderer,
                   int x,
                   int y,
                   float alpha)
Renders this icon.


wasAdded

public void wasAdded()
Called when the component that contains this icon is was added to the interface hierarchy.


wasRemoved

public void wasRemoved()
Called when the component that contains this icon is no longer part of a user interface hierarchy.



Copyright © 2008 Michael Bayne. All Rights Reserved.