|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.hci.r3.units.Units
edu.stanford.hci.r3.units.PatternDots
public class PatternDots
Unit representing the length from pattern dot to pattern dot.
This software is distributed under the BSD License.
| Field Summary | |
|---|---|
static java.text.DecimalFormat |
FORMATTER
Prettifies printouts. |
static Units |
ONE
Identity Element representing one Pattern Dot. |
| Fields inherited from class edu.stanford.hci.r3.units.Units |
|---|
POINTS_PER_INCH |
| Constructor Summary | |
|---|---|
PatternDots()
Default Constructor for Doing unit conversions, etc... |
|
PatternDots(double dots)
|
|
| Method Summary | |
|---|---|
protected double |
getNumberOfUnitsInOneInch()
How many pattern dots per inch? |
java.lang.String |
toString()
|
| Methods inherited from class edu.stanford.hci.r3.units.Units |
|---|
add, clone, equals, getConversionTo, getCopy, getUnitName, getUnitsObjectOfSameLengthIn, getUnitsObjectOfSameTypeWithValue, getValue, getValueIn, getValueInCentimeters, getValueInInches, getValueInMillimeters, getValueInPatternDots, getValueInPixels, getValueInPoints, subtract, toInches, toPixels, toPoints |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.text.DecimalFormat FORMATTER
public static final Units ONE
| Constructor Detail |
|---|
public PatternDots()
public PatternDots(double dots)
dots - | Method Detail |
|---|
protected double getNumberOfUnitsInOneInch()
getNumberOfUnitsInOneInch in class UnitsUnits.getNumberOfUnitsInOneInch()public java.lang.String toString()
toString in class UnitsObject.toString()
|
Copyright 2006 Stanford University | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||