de.uni_paderborn.tools.fsa
Class FSATypeConverterMethods

java.lang.Object
  extended byde.uni_paderborn.tools.fsa.FSATypeConverterMethods

public class FSATypeConverterMethods
extends java.lang.Object

fsa default "converter"/"modifier" methods from sourcetype to targettype

Version:
$Revision: 1.17 $
Author:
$Author: schneider $

Constructor Summary
FSATypeConverterMethods()
           
 
Method Summary
static int booleanToint(boolean value)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String booleanToString(boolean value)
          No comment provided by developer, please add a comment to improve documentation.
static int getBlue(java.awt.Color value)
          Get the blue attribute of the FSATypeConverterMethods class
static int getGreen(java.awt.Color value)
          Get the green attribute of the FSATypeConverterMethods class
static int getHeight(java.awt.Dimension value)
          Get the height attribute of the FSATypeConverterMethods class
static int getRed(java.awt.Color value)
          Get the red attribute of the FSATypeConverterMethods class
static int getWidth(java.awt.Dimension value)
          Get the width attribute of the FSATypeConverterMethods class
static int getX(java.awt.Point value)
          Get the x attribute of the FSATypeConverterMethods class
static int getY(java.awt.Point value)
          Get the y attribute of the FSATypeConverterMethods class
static int integerToint(java.lang.Integer value)
          No comment provided by developer, please add a comment to improve documentation.
static boolean intToboolean(int value)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String intToString(int value)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String pointToString(java.awt.Point value)
          No comment provided by developer, please add a comment to improve documentation.
static java.awt.Color setBlue(int newBlue, java.awt.Color oldValue)
           
static java.awt.Color setGreen(int newGreen, java.awt.Color oldValue)
           
static java.awt.Dimension setHeight(int newHeight, java.awt.Dimension oldValue)
          set oldValue.height = newHeight
static java.awt.Color setRed(int newRed, java.awt.Color oldValue)
           
static java.awt.Dimension setWidth(int newWidth, java.awt.Dimension oldValue)
          set oldValue.width = newWidth
static java.awt.Point setX(int newX, java.awt.Point oldValue)
          set oldValue.x = newX
static java.awt.Point setY(int newY, java.awt.Point oldValue)
          set oldValue.y = newY
static boolean stringToboolean(java.lang.String value)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.Boolean stringToBoolean(java.lang.String value)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.Class stringToClass(java.lang.String className)
           
static java.awt.Dimension stringToDimension(java.lang.String value)
          No comment provided by developer, please add a comment to improve documentation.
static int stringToint(java.lang.String value)
          No comment provided by developer, please add a comment to improve documentation.
static java.awt.Point stringToPoint(java.lang.String value)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSATypeConverterMethods

public FSATypeConverterMethods()
Method Detail

intToString

public static java.lang.String intToString(int value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

booleanToString

public static java.lang.String booleanToString(boolean value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

pointToString

public static java.lang.String pointToString(java.awt.Point value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

intToboolean

public static boolean intToboolean(int value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

stringToboolean

public static boolean stringToboolean(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

stringToBoolean

public static java.lang.Boolean stringToBoolean(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

integerToint

public static int integerToint(java.lang.Integer value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

stringToint

public static int stringToint(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

booleanToint

public static int booleanToint(boolean value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

getWidth

public static int getWidth(java.awt.Dimension value)
Get the width attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The width value

getHeight

public static int getHeight(java.awt.Dimension value)
Get the height attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The height value

getX

public static int getX(java.awt.Point value)
Get the x attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The x value

getY

public static int getY(java.awt.Point value)
Get the y attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The y value

getRed

public static int getRed(java.awt.Color value)
Get the red attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The red value

getBlue

public static int getBlue(java.awt.Color value)
Get the blue attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The blue value

getGreen

public static int getGreen(java.awt.Color value)
Get the green attribute of the FSATypeConverterMethods class

Parameters:
value - No description provided
Returns:
The green value

stringToDimension

public static java.awt.Dimension stringToDimension(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

setWidth

public static java.awt.Dimension setWidth(int newWidth,
                                          java.awt.Dimension oldValue)
set oldValue.width = newWidth

Parameters:
newWidth - the new width
oldValue - the Dimension
Returns:
oldValue with width=newWidth

setHeight

public static java.awt.Dimension setHeight(int newHeight,
                                           java.awt.Dimension oldValue)
set oldValue.height = newHeight

Parameters:
newHeight - the new height
oldValue - the Dimension
Returns:
oldValue with height=newHeight

stringToPoint

public static java.awt.Point stringToPoint(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

setX

public static java.awt.Point setX(int newX,
                                  java.awt.Point oldValue)
set oldValue.x = newX

Parameters:
newX - the new X
oldValue - the Point
Returns:
oldValue with x=newX

setY

public static java.awt.Point setY(int newY,
                                  java.awt.Point oldValue)
set oldValue.y = newY

Parameters:
newY - the new Y
oldValue - the Point
Returns:
oldValue with y=newY

setGreen

public static java.awt.Color setGreen(int newGreen,
                                      java.awt.Color oldValue)
Parameters:
newGreen - The new green value
oldValue - The new green value
Returns:
new Color ( oldValue.getRed(),newGreen , oldValue.getBlue ())

setBlue

public static java.awt.Color setBlue(int newBlue,
                                     java.awt.Color oldValue)
Parameters:
newBlue - The new blue value
oldValue - The new blue value
Returns:
new Color ( oldValue.getRed (),oldValue.getGreen (),newBlue )

setRed

public static java.awt.Color setRed(int newRed,
                                    java.awt.Color oldValue)
Parameters:
newRed - The new red value
oldValue - The new red value
Returns:
new Color ( newRed , oldValue.getGreen () , oldValue.getBlue ())

stringToClass

public static java.lang.Class stringToClass(java.lang.String className)
Parameters:
className - No description provided
Returns:
FSAClassMap.get().forName ( className ) ;