|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.font.TransformAttribute
The TransformAttribute
class provides an immutable
wrapper for a transform so that it is safe to use as an attribute.
Field Summary | |
(package private) static long |
serialVersionUID
|
private AffineTransform |
transform
The AffineTransform for this
TransformAttribute , or null
if AffineTransform is the identity transform. |
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. |
private void |
writeObject(ObjectOutputStream s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private AffineTransform transform
AffineTransform
for this
TransformAttribute
, or null
if AffineTransform
is the identity transform.
static final long serialVersionUID
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.private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |