|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.gml.LabelGraphicsEncoder
public class LabelGraphicsEncoder
This class can encode YLabels in valid GML
| Constructor Summary | |
|---|---|
LabelGraphicsEncoder()
|
|
| Method Summary | |
|---|---|
void |
encode(Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
static String |
encodeAlignment(byte alignment)
Encodes a YLabel YLabel.getAlignment() to a string. |
static String |
encodeFontStyle(int style)
Encodes the Font.getStyle() to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelGraphicsEncoder()
| Method Detail |
|---|
public void encode(Object item,
GMLEncoder enc)
throws IOException
ObjectEncoder
encode in interface ObjectEncoderIOException - in the case of an I/O exceptionitem - the object to be encodedenc - an encoderpublic static String encodeFontStyle(int style)
Font.getStyle() to a string.
public static String encodeAlignment(byte alignment)
YLabel.getAlignment() to a string.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||