|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.font.TransformAttribute
public final class TransformAttribute
The TransformAttribute
class provides an immutable
wrapper for a transform so that it is safe to use as an attribute.
Constructor Summary | |
---|---|
TransformAttribute(AffineTransform transform)
Wraps the specified transform. |
Method Summary | |
---|---|
AffineTransform |
getTransform()
Returns a copy of the wrapped transform. |
boolean |
isIdentity()
Returns true if the wrapped transform is
an identity transform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformAttribute(AffineTransform transform)
transform
- the specified AffineTransform
to be wrappedMethod Detail |
---|
public AffineTransform getTransform()
AffineTransform
that is a copy of the wrapped
transform of this TransformAttribute
.public boolean isIdentity()
true
if the wrapped transform is
an identity transform.
true
if the wrapped transform is
an identity transform; false
otherwise.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.