public class FontWeightRange
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
logging instance
|
| Constructor and Description |
|---|
FontWeightRange(int start,
int end)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public FontWeightRange(int start,
int end)
start - the start value rangeend - the end value rangepublic static FontWeightRange valueOf(java.lang.String weightRangeString)
FontWeightRange object holding the
range values of the specified String.weightRangeString - the value range stringFontWeightRange object holding the value rangespublic boolean isWithinRange(int value)
value - the integer valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic int[] toArray()
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.