IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester Proxy SDK Reference

Project Version 2.3

com.rational.test.ft.domain.java.swt
Class ColorPropertyConverter

java.lang.Object   extended by com.rational.test.ft.domain.java.swt.ColorPropertyConverter
All Implemented Interfaces:
com.rational.test.ft.value.property.IConvertPropertyClass

public class ColorPropertyConverter
extends java.lang.Object
implements com.rational.test.ft.value.property.IConvertPropertyClass

This class is a property converter for SWT colors. It can convert colors from SWT to AWT, but not in the other direction.


Constructor Summary
ColorPropertyConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object theObject)
          Convert from the source class to the target class
 java.lang.String getSourceClassName()
          The source classname
 java.lang.String getTargetClassName()
          The target classname
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPropertyConverter

public ColorPropertyConverter()
Method Detail

getSourceClassName

public java.lang.String getSourceClassName()
The source classname

Specified by:
getSourceClassName in interface com.rational.test.ft.value.property.IConvertPropertyClass

getTargetClassName

public java.lang.String getTargetClassName()
The target classname

Specified by:
getTargetClassName in interface com.rational.test.ft.value.property.IConvertPropertyClass

convert

public java.lang.Object convert(java.lang.Object theObject)
Convert from the source class to the target class

Specified by:
convert in interface com.rational.test.ft.value.property.IConvertPropertyClass