org.jrabbit.standard.profiler.entities.base
Class FontBasedProfilerEntity

java.lang.Object
  extended by org.jrabbit.standard.profiler.entities.base.BaseProfilerEntity
      extended by org.jrabbit.standard.profiler.entities.base.FontBasedProfilerEntity
All Implemented Interfaces:
Renderable, Referenced, Dimensioned, Visible, ProfilerEntity
Direct Known Subclasses:
ProfilerMessage, TextProfilerEntity

public abstract class FontBasedProfilerEntity
extends BaseProfilerEntity

FontBasedProfilerEntity extends BaseProfilerEntity to allow the ProfilerEntity to use a FontPointer to access a Font in the cache. By default, the default Font is used.

Author:
Chris Molini

Field Summary
protected  FontPointer fontPointer
          The FontPointer that accesses the ResourceCache.
 
Fields inherited from class org.jrabbit.standard.profiler.entities.base.BaseProfilerEntity
height, reference, visible, width
 
Constructor Summary
FontBasedProfilerEntity(java.lang.String reference)
          Creates a FontBasedProfilerEntity with the supplied identifier.
 
Method Summary
 FontPointer fontPointer()
          Accesses the FontPointer utilized by this object.
 
Methods inherited from class org.jrabbit.standard.profiler.entities.base.BaseProfilerEntity
height, reference, setVisible, visible, width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jrabbit.base.core.types.Renderable
render
 

Field Detail

fontPointer

protected FontPointer fontPointer
The FontPointer that accesses the ResourceCache.

Constructor Detail

FontBasedProfilerEntity

public FontBasedProfilerEntity(java.lang.String reference)
Creates a FontBasedProfilerEntity with the supplied identifier. It uses the default Font.

Parameters:
reference - The String that will identify this ProfilerEntity.
Method Detail

fontPointer

public FontPointer fontPointer()
Accesses the FontPointer utilized by this object.

Returns:
The FontPointer that accesses the central cache of Fonts.