gestalt.candidates
Class JoglTextureReader

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.candidates.JoglTextureReader
All Implemented Interfaces:
Drawable

public class JoglTextureReader
extends AbstractDrawable


Constructor Summary
JoglTextureReader(TexturePlugin theTexture)
           
 
Method Summary
 Bitmap bitmap()
           
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 boolean isActive()
          returns whether the drawable is active.
 void setActive(boolean theIsActive)
           
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglTextureReader

public JoglTextureReader(TexturePlugin theTexture)
Method Detail

bitmap

public Bitmap bitmap()

isActive

public boolean isActive()
Description copied from interface: Drawable
returns whether the drawable is active. it is commonly implemented so that the drawables 'draw' method will be ommitted if 'isActive' return false, although this behavior can vary depending on the implementation.

Specified by:
isActive in interface Drawable
Overrides:
isActive in class AbstractDrawable
Returns:
boolean

setActive

public void setActive(boolean theIsActive)

draw

public void draw(GLContext theRenderContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Parameters:
theRenderContext - GLContext


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009