|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.substitute.FontWeightRange
public class FontWeightRange
Encapsulates a range of font weight values
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
logging instance |
Constructor Summary | |
---|---|
FontWeightRange(int start,
int end)
Main constructor |
Method Summary | |
---|---|
boolean |
isWithinRange(int value)
Returns true if the given integer value is within this integer range |
int[] |
toArray()
|
java.lang.String |
toString()
|
static FontWeightRange |
valueOf(java.lang.String weightRangeString)
Returns an FontWeightRange object holding the
range values of the specified String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public FontWeightRange(int start, int end)
start
- the start value rangeend
- the end value rangeMethod Detail |
---|
public static FontWeightRange valueOf(java.lang.String weightRangeString)
FontWeightRange
object holding the
range values of the specified String
.
weightRangeString
- the value range string
FontWeightRange
object holding the value rangespublic boolean isWithinRange(int value)
value
- the integer value
public java.lang.String toString()
toString
in class java.lang.Object
public int[] toArray()
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |