com.yworks.yfiles.server.graphml.flexio.data
Class ComponentNodeStyle

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.ComponentNodeStyle
All Implemented Interfaces:
INodeStyle

public class ComponentNodeStyle
extends java.lang.Object
implements INodeStyle

yFiles Flex client component node style data object. Either the component object or the componentClassName should be set. For (de)serialization, the component object has a higher priority than the component class name, i.e., the class name will only be set if the component could not be deserialized and the class name will only be written if the component property is null. The (de)serialization of the component instance is delegated to appropriate serializer/deserializer instances.

See Also:
ComponentNodeStyleSerializer, ComponentNodeStyleDeserializer

Constructor Summary
ComponentNodeStyle()
           
 
Method Summary
 java.lang.Object getComponent()
           
 java.lang.String getComponentClassName()
           
 void setComponent(java.lang.Object component)
           
 void setComponentClassName(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentNodeStyle

public ComponentNodeStyle()
Method Detail

getComponent

public java.lang.Object getComponent()

setComponent

public void setComponent(java.lang.Object component)

getComponentClassName

public java.lang.String getComponentClassName()

setComponentClassName

public void setComponentClassName(java.lang.String className)


Copyright © 2000-2007 yWorks GmbH. All rights reserved