TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Class DFontRegistry

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DFontRegistry
All Implemented Interfaces:
IDObject, IDRegistry

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DFontRegistry
extends java.lang.Object
implements IDRegistry

A DFontRegistry is a container for IDFont. A DFontRegistry stores only one instance of IDFont if two IDFont are equals. Before to store a new IDFont the registry checks if the IDFont doesn't exist in the registry by calling the method contains.

See Also:
IDFont, contains(org.eclipse.tptp.platform.report.core.internal.IDFont)

Constructor Summary
DFontRegistry()
          Deprecated. Creates an empty Font Registry.
 
Method Summary
 void clear()
          Deprecated. Deletes all font in the registry.
 boolean contains(IDFont font)
          Deprecated. Checks if the font is already stored in the registry.
 boolean isEmpty()
          Deprecated.  
 java.util.Iterator iterator()
          Deprecated. Returns
 void putFont(IDFont font)
          Deprecated. Puts the font in the registry only if font isn't already stored (and not null)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFontRegistry

public DFontRegistry()
Deprecated. 
Creates an empty Font Registry.

Method Detail

clear

public void clear()
Deprecated. 
Deletes all font in the registry.

Specified by:
clear in interface IDRegistry

contains

public boolean contains(IDFont font)
Deprecated. 
Checks if the font is already stored in the registry.

Returns:
true if font is stored by this registry.

putFont

public void putFont(IDFont font)
Deprecated. 
Puts the font in the registry only if font isn't already stored (and not null)


iterator

public java.util.Iterator iterator()
Deprecated. 
Returns

Specified by:
iterator in interface IDRegistry
Returns:
an iterator to access all fonts.

isEmpty

public boolean isEmpty()
Deprecated. 
Returns:
true if registry is empty, false if not

TPTP 4.5.0 Platform Project
Internal API Specification