public final class CommonHyphenation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
StringProperty |
country
The "country" property
|
EnumProperty |
hyphenate
The "hyphenate" property
|
CharacterProperty |
hyphenationCharacter
The "hyphenation-character" property
|
NumberProperty |
hyphenationPushCharacterCount
The "hyphenation-push-character-count" property
|
NumberProperty |
hyphenationRemainCharacterCount
The "hyphenation-remain-character-count" property
|
StringProperty |
language
The "language" property
|
protected static org.apache.commons.logging.Log |
log
Logger
|
StringProperty |
script
The "script" property
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
char |
getHyphChar(Font font)
Returns the effective hyphenation character for a font.
|
int |
getHyphIPD(Font font)
Returns the IPD for the hyphenation character for a font.
|
static CommonHyphenation |
getInstance(PropertyList propertyList)
Gets the canonical
CommonHyphenation instance corresponding
to the values of the related properties present on the given
PropertyList |
int |
hashCode() |
protected static org.apache.commons.logging.Log log
public final StringProperty language
public final StringProperty country
public final StringProperty script
public final EnumProperty hyphenate
public final CharacterProperty hyphenationCharacter
public final NumberProperty hyphenationPushCharacterCount
public final NumberProperty hyphenationRemainCharacterCount
public static CommonHyphenation getInstance(PropertyList propertyList) throws PropertyException
CommonHyphenation
instance corresponding
to the values of the related properties present on the given
PropertyList
propertyList
- the PropertyList
PropertyException
public char getHyphChar(Font font)
font
- the fontpublic int getHyphIPD(Font font)
font
- the fontpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.