com.yworks.yfiles.server.graphml.flexio.compat
Class SolidColor

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.compat.SolidColor
All Implemented Interfaces:
IFill, ISharedInstanceProvider

public class SolidColor
extends java.lang.Object
implements IFill, ISharedInstanceProvider

A Basic fill using a solid color.


Constructor Summary
SolidColor()
           
SolidColor(java.awt.Color color)
           
 
Method Summary
 java.awt.Color getColor()
          Returns the stroke's color.
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 void setColor(java.awt.Color color)
          Sets the stroke's color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolidColor

public SolidColor(java.awt.Color color)

SolidColor

public SolidColor()
Method Detail

getColor

public java.awt.Color getColor()
Returns the stroke's color.


setColor

public void setColor(java.awt.Color color)
Sets the stroke's color.

Parameters:
color -

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