Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink
Class CategoriesDialog.UpperCaseFormatter

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by javax.swing.text.DefaultFormatter
          extended by oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink.CategoriesDialog.UpperCaseFormatter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
CategoriesDialog

public class CategoriesDialog.UpperCaseFormatter
extends javax.swing.text.DefaultFormatter

Formatter class that ensures that Strings are in upper case.

See Also:
Serialized Form

Constructor Summary
CategoriesDialog.UpperCaseFormatter()
           
 
Method Summary
 java.lang.Object stringToValue(java.lang.String s)
          Converts string to a value whilst checking for uppercase characters only.
 java.lang.String valueToString(java.lang.Object value)
          Converts the passed in Object into a String by way of the toString method.
 
Methods inherited from class javax.swing.text.DefaultFormatter
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
 
Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter
getActions, getFormattedTextField, invalidEdit, setEditValid, uninstall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoriesDialog.UpperCaseFormatter

public CategoriesDialog.UpperCaseFormatter()
Method Detail

stringToValue

public java.lang.Object stringToValue(java.lang.String s)
                               throws java.text.ParseException
Converts string to a value whilst checking for uppercase characters only.

Overrides:
stringToValue in class javax.swing.text.DefaultFormatter
Parameters:
s - String to convert
Returns:
Object representation of text
Throws:
java.text.ParseException - if there is an error in the checking or conversion.

valueToString

public java.lang.String valueToString(java.lang.Object value)
                               throws java.text.ParseException
Converts the passed in Object into a String by way of the toString method.

Overrides:
valueToString in class javax.swing.text.DefaultFormatter
Parameters:
value - Value to convert
Returns:
String representation of value
Throws:
java.text.ParseException - if there is an error in the conversion

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.