public class FontWeightRange
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.apache.commons.logging.Log |
log |
logging instance
|
| Constructor | Description |
|---|---|
FontWeightRange(int start,
int end) |
Main constructor
|
| Modifier and Type | Method | 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-2016 The Apache Software Foundation. All Rights Reserved.