au.id.pbw.hyfo.hyph
Class BreakMinima

java.lang.Object
  extended by au.id.pbw.hyfo.hyph.BreakMinima
All Implemented Interfaces:
Serializable

public class BreakMinima
extends Object
implements Serializable

Represents the minimum number of characters allowable before and after a hyphenation line-break.

Author:
pbw
See Also:
Serialized Form

Constructor Summary
BreakMinima(byte before, byte after)
          Creates a new instance of BreakMinima, with the given minimum number for characters before and after the hyphenation.
 
Method Summary
 byte get_after()
          Gets the minimum number of characters after a hyphenation break.
 byte get_before()
          Gets the minimum number of characters before a hyphenation break.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakMinima

public BreakMinima(byte before,
                   byte after)
Creates a new instance of BreakMinima, with the given minimum number for characters before and after the hyphenation.

Parameters:
before - the minimum number of characters before a hyphen.
after - the minimum number of characters after a hyphen.
Method Detail

get_before

public byte get_before()
Gets the minimum number of characters before a hyphenation break.

Returns:
minimum characters before a break.

get_after

public byte get_after()
Gets the minimum number of characters after a hyphenation break.

Returns:
minimum characters after a break.


Copyright © 2005-2006 Peter B. West.