Search this API

y.view
Class AutoRotationSliderEdgeLabelModel.Handler

java.lang.Object
  extended by y.view.AutoRotationSliderEdgeLabelModel.Handler
All Implemented Interfaces:
java.util.EventListener, DeserializationHandler, SerializationHandler
Enclosing class:
AutoRotationSliderEdgeLabelModel

public static final class AutoRotationSliderEdgeLabelModel.Handler
extends java.lang.Object
implements SerializationHandler, DeserializationHandler

Provides GraphML (de-)serialization support for AutoRotationSliderEdgeLabelModel and its parameters.

 
Your browser does not support SVG content.

Constructor Summary
AutoRotationSliderEdgeLabelModel.Handler()
           
 
Method Summary
 void onHandleDeserialization(DeserializationEvent event)
          Callback method to handle the deserialization of the data contained in event.
 void onHandleSerialization(SerializationEvent event)
          Callback method to handle the serialization of the data contained in event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoRotationSliderEdgeLabelModel.Handler

public AutoRotationSliderEdgeLabelModel.Handler()
Method Detail

onHandleDeserialization

public void onHandleDeserialization(DeserializationEvent event)
                             throws GraphMLParseException
Description copied from interface: DeserializationHandler
Callback method to handle the deserialization of the data contained in event.

If this callback could deserialize the data in event, it should assign the deserialization result to the event's DeserializationEvent.setResult(Object) property.

Specified by:
onHandleDeserialization in interface DeserializationHandler
Parameters:
event - Event that contains all data that is needed for deserialization.
Throws:
GraphMLParseException

onHandleSerialization

public void onHandleSerialization(SerializationEvent event)
                           throws GraphMLWriteException
Description copied from interface: SerializationHandler
Callback method to handle the serialization of the data contained in event.

If this callback could serialize the data in event, it should set the SerializationEvent.setHandled(boolean) property to true to prevent further serialization code from processing this data.

Specified by:
onHandleSerialization in interface SerializationHandler
Parameters:
event - Event that contains all data that is needed for serialization.
Throws:
GraphMLWriteException

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