y.io.gml
Class NodeLabelGraphicsEncoder

java.lang.Object
  |
  +--y.io.gml.LabelGraphicsEncoder
        |
        +--y.io.gml.NodeLabelGraphicsEncoder
All Implemented Interfaces:
ObjectEncoder

public class NodeLabelGraphicsEncoder
extends LabelGraphicsEncoder

This class can encode NodeLabels in valid GML


Field Summary
static Map anchorEncoding
           
static Map modelEncoding
           
 
Constructor Summary
NodeLabelGraphicsEncoder()
           
 
Method Summary
 void encode(Object item, GMLEncoder enc)
          This method will try to encode the given object using the GMLEncoder
static String encodeAutoSizePolicy(byte policy)
           
 
Methods inherited from class y.io.gml.LabelGraphicsEncoder
encodeAlignment, encodeFontStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anchorEncoding

public static final Map anchorEncoding

modelEncoding

public static final Map modelEncoding
Constructor Detail

NodeLabelGraphicsEncoder

public NodeLabelGraphicsEncoder()
Method Detail

encode

public void encode(Object item,
                   GMLEncoder enc)
            throws IOException
Description copied from interface: ObjectEncoder
This method will try to encode the given object using the GMLEncoder

Specified by:
encode in interface ObjectEncoder
Overrides:
encode in class LabelGraphicsEncoder
IOException
Parameters:
item - the object to be encoded
enc - an encoder

encodeAutoSizePolicy

public static String encodeAutoSizePolicy(byte policy)

© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003