org.jrabbit.standard.profiler.renderer
Class BLProfilerRenderer

java.lang.Object
  extended by org.jrabbit.standard.profiler.renderer.ProfilerRenderer
      extended by org.jrabbit.standard.profiler.renderer.BLProfilerRenderer

public class BLProfilerRenderer
extends ProfilerRenderer

BLProfilerRenderer (short for "Bottom-Left" ProfilerRenderer) renders the list of ProfilerEntities from the bottom-left corner of the screen, going up. Every time the rendering hits the top of the allowed area, the next ProfilerEntity is rendered at the bottom of the area and to the right.

Author:
Chris Molini

Field Summary
 
Fields inherited from class org.jrabbit.standard.profiler.renderer.ProfilerRenderer
padding
 
Constructor Summary
BLProfilerRenderer(float padding)
          Creates a TLProfilerRenderer with the indicated padding.
 
Method Summary
 void render(java.lang.Iterable<ProfilerEntity> entities, float width, float height, Color color)
          Renders the indicated list of ProfilerEntities from the bottom-left corner of the screen.
 
Methods inherited from class org.jrabbit.standard.profiler.renderer.ProfilerRenderer
padding, setPadding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BLProfilerRenderer

public BLProfilerRenderer(float padding)
Creates a TLProfilerRenderer with the indicated padding.

Parameters:
padding - The distance to put between each ProfilerEntity.
Method Detail

render

public void render(java.lang.Iterable<ProfilerEntity> entities,
                   float width,
                   float height,
                   Color color)
Renders the indicated list of ProfilerEntities from the bottom-left corner of the screen. Rendering heads towards the top-right of the screen.

Specified by:
render in class ProfilerRenderer
Parameters:
entities - The ordered list of ProfilerEntities to render.
width - The width of the area to keep rendering within.
height - The height of the area to keep rendering within.
color - The Color to render each ProfilerEntity at.