palmed.buffer
Class BufferFactory

java.lang.Object
  extended by palmed.buffer.BufferFactory
All Implemented Interfaces:
IBufferFactory

public final class BufferFactory
extends java.lang.Object
implements IBufferFactory

This class implements a factory for buffers.

Version:
$Revision: 377 $ $Date: 2005-12-29 14:25:52 +0900 (jeu., 29 déc. 2005) $
Author:
Mathieu Champlon

Constructor Summary
BufferFactory(IRecordFactory factory, ITextBox textBox)
          Create a buffer factory.
 
Method Summary
 IRecordBuffer createBuffer()
          Create an empty buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferFactory

public BufferFactory(IRecordFactory factory,
                     ITextBox textBox)
Create a buffer factory.

Parameters:
factory - the record factory
textBox - the text box
Method Detail

createBuffer

public IRecordBuffer createBuffer()
Create an empty buffer.

Specified by:
createBuffer in interface IBufferFactory
Returns:
a buffer


Copyright © 2004-2006 PalmEd. All Rights Reserved.