DESY ACOP Beans Home

com.cosylab.gui.components.ledder
Class LedIconFactory

java.lang.Object
  extended by com.cosylab.gui.components.ledder.LedIconFactory

public class LedIconFactory
extends java.lang.Object

Creates LED icon for given color.

Version:
$id$
Author:
Ales Pucelj

Constructor Summary
LedIconFactory()
           
 
Method Summary
static javax.swing.Icon createIcon(java.awt.Color color)
          Creates the icon from java.awt.Color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LedIconFactory

public LedIconFactory()
Method Detail

createIcon

public static javax.swing.Icon createIcon(java.awt.Color color)
Creates the icon from java.awt.Color. See the class overview for details.

Parameters:
color - color of the icon.
Returns:
Icon always an instance of an icon


Copyright © 2010. All Rights Reserved.