cz.cuni.jagrlib.gui
Class ParamColor

java.lang.Object
  extended by cz.cuni.jagrlib.gui.ParamColor
All Implemented Interfaces:
ParamGUI.ParamEdit

public class ParamColor
extends Object
implements ParamGUI.ParamEdit

Color edit dialog.

Version:
0.26 $Rev: 429 $ $Date: 2007-04-28 21:59:20 +0200 (so, 28 IV 2007) $ $Author: pepca $
Author:
PE, Petr Stepan
See Also:
ParamColor.java

Field Summary
protected  Color c
           
 
Constructor Summary
ParamColor()
           
 
Method Summary
 String edit()
          Invokes edit dialog for special parameter.
 String getText()
          Returns String representation of parameter value.
 Object getValue()
          Returns internal value of the parameter.
 Object setValue(Object val)
          Sets value of the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

protected Color c
Constructor Detail

ParamColor

public ParamColor()
Method Detail

setValue

public Object setValue(Object val)
Sets value of the parameter.

Specified by:
setValue in interface ParamGUI.ParamEdit
Parameters:
val - New value (internal representation).
Returns:
Old value (internal representation).

getValue

public Object getValue()
Returns internal value of the parameter.

Specified by:
getValue in interface ParamGUI.ParamEdit

getText

public String getText()
Returns String representation of parameter value.

Specified by:
getText in interface ParamGUI.ParamEdit

edit

public String edit()
Invokes edit dialog for special parameter.

Specified by:
edit in interface ParamGUI.ParamEdit
Returns:
String representation of the new parameter value.