SourceForge.net Logo
aXSL API 0.1

org.axsl.text
Interface TextServer


public interface TextServer

This class encapsulates the various text processing functions.


Method Summary
 EagerLineBreaker provideEagerLineBreaker(LineBreakControl control, LineBreakHandler handler, FontConsumer fontConsumer)
          Returns a LineBreaker instance that can be used by the client to compute line-breaks.
 PatientLineBreaker providePatientLineBreaker(LineBreakControl control, LineBreakHandler handler, FontConsumer fontConsumer)
          Returns a LineBreaker instance that can be used by the client to compute line-breaks.
 

Method Detail

provideEagerLineBreaker

public EagerLineBreaker provideEagerLineBreaker(LineBreakControl control,
                                                LineBreakHandler handler,
                                                FontConsumer fontConsumer)
Returns a LineBreaker instance that can be used by the client to compute line-breaks.

Parameters:
control - The LineBreakControl instance which will be responsible to provide the line-breaking system with new LineOutput instances as they are needed by the system.
handler - The LineBreakHandler instance which will be responsible to catch and handle the results of the line-breaking logic.
fontConsumer - The FontConsumer used to resolve font issues.
Returns:
An EagerLineBreaker instance.

providePatientLineBreaker

public PatientLineBreaker providePatientLineBreaker(LineBreakControl control,
                                                    LineBreakHandler handler,
                                                    FontConsumer fontConsumer)
Returns a LineBreaker instance that can be used by the client to compute line-breaks.

Parameters:
control - The LineBreakControl instance which will be responsible to provide the line-breaking system with new LineOutput instances as they are needed by the system.
handler - The LineBreakHandler instance which will be responsible to catch and handle the results of the line-breaking logic.
fontConsumer - The FontConsumer used to resolve font issues.
Returns:
A PatientLineBreaker instance.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.