com.jmex.bui.icon
Class BlankIcon

java.lang.Object
  extended by com.jmex.bui.icon.BIcon
      extended by com.jmex.bui.icon.BlankIcon

public class BlankIcon
extends BIcon

Takes up space.


Field Summary
protected  int _height
           
protected  int _width
           
 
Constructor Summary
BlankIcon(int width, int height)
           
 
Method Summary
 int getHeight()
          Returns the height of this icon.
 int getWidth()
          Returns the width of this icon.
 void render(Renderer renderer, int x, int y, float alpha)
          Renders this icon.
 
Methods inherited from class com.jmex.bui.icon.BIcon
wasAdded, wasRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_width

protected int _width

_height

protected int _height
Constructor Detail

BlankIcon

public BlankIcon(int width,
                 int height)
Method Detail

getWidth

public int getWidth()
Description copied from class: BIcon
Returns the width of this icon.

Specified by:
getWidth in class BIcon

getHeight

public int getHeight()
Description copied from class: BIcon
Returns the height of this icon.

Specified by:
getHeight in class BIcon

render

public void render(Renderer renderer,
                   int x,
                   int y,
                   float alpha)
Description copied from class: BIcon
Renders this icon.

Overrides:
render in class BIcon


Copyright © 2008 Michael Bayne. All Rights Reserved.