com.ibm.cryptobeans.editors
Class ModeOfTransformationPropertyEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.ibm.cryptobeans.editors.ModeOfTransformationPropertyEditor

public class ModeOfTransformationPropertyEditor
extends java.beans.PropertyEditorSupport

This class realizes the property editor for the inputMode property of the Encryptor and PBEncryptor beans.


Constructor Summary
ModeOfTransformationPropertyEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Returns inputMode as a text.
 java.lang.String getJavaInitializationString()
          Returns the inputMode value for the initialization.
 java.lang.String[] getTags()
          Returns an array of valid values for the input mode.
 void setAsText(java.lang.String text)
          Sets the input mode value.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModeOfTransformationPropertyEditor

public ModeOfTransformationPropertyEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Returns inputMode as a text.
Overrides:
getAsText in class java.beans.PropertyEditorSupport
Returns:
java.lang.String

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Returns the inputMode value for the initialization.
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport
Returns:
java.lang.String

getTags

public java.lang.String[] getTags()
Returns an array of valid values for the input mode.
Overrides:
getTags in class java.beans.PropertyEditorSupport
Returns:
java.lang.String

setAsText

public void setAsText(java.lang.String text)
Sets the input mode value.
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Parameters:
param - java.lang.String