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

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.DelegatingStyle
All Implemented Interfaces:
IEdgeStyle, ILabelStyle, INodeStyle, IPortStyle, ISharedInstanceProvider

public abstract class DelegatingStyle
extends java.lang.Object
implements INodeStyle, IEdgeStyle, ILabelStyle, IPortStyle, ISharedInstanceProvider

Abstract base class for containers which model styles which inherit from DelegatingStyle at the client.


Field Summary
protected  java.lang.Object wrapped
          The wrapped style.
 
Constructor Summary
DelegatingStyle()
           
 
Method Summary
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 java.lang.Object getWrapped()
          Gets the wrapped style.
 void setWrapped(java.lang.Object wrapped)
          Sets the wrapped style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.yworks.yfiles.server.graphml.flexio.data.IEdgeStyle
getSourceArrow, getTargetArrow
 

Field Detail

wrapped

protected java.lang.Object wrapped
The wrapped style.

Constructor Detail

DelegatingStyle

public DelegatingStyle()
Method Detail

getWrapped

public java.lang.Object getWrapped()
Gets the wrapped style.

Returns:
The wrapped style.

setWrapped

public void setWrapped(java.lang.Object wrapped)
Sets the wrapped style.

Parameters:
wrapped - The wrapped style.

getSharedInstances

public java.util.Collection getSharedInstances()
Description copied from interface: ISharedInstanceProvider
Returns an Collection for objects that shall be shared.

Specified by:
getSharedInstances in interface ISharedInstanceProvider
Returns:


Copyright © 2000-2013 yWorks GmbH. All rights reserved