|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.inghuimische.uta.linebreaking.AbstractWidth
An abstract implementation of the Width interface where all three widths are equal to the preferred width.
Field Summary | |
protected double |
preferredWidth
Holds the preferred width. |
Constructor Summary | |
AbstractWidth()
|
Method Summary | |
double |
getMaximumWidth()
Returns the preferred width if not overridden. |
double |
getMinimumWidth()
Returns the preferred width if not overridden. |
double |
getPreferredWidth()
Returns the preferred width. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double preferredWidth
Constructor Detail |
public AbstractWidth()
Method Detail |
public double getPreferredWidth()
getPreferredWidth
in interface Width
public double getMaximumWidth()
getMaximumWidth
in interface Width
public double getMinimumWidth()
getMinimumWidth
in interface Width
|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() An inghuimische.de project. | Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details. |