com.sapportals.htmlb.validation

Class CancelButtonValidator

java.lang.Object
  extended bycom.sapportals.htmlb.validation.Validator
      extended bycom.sapportals.htmlb.validation.CancelButtonValidator

public class CancelButtonValidator
extends Validator


Constructor Summary
CancelButtonValidator()
           
 
Method Summary
 String getErrorText(Locale locale)
          gets a locale specific error text
 String getJavascript(Locale locale)
          gets a locale specific Javascript representation of the validator.
 
Methods inherited from class com.sapportals.htmlb.validation.Validator
getResourceBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelButtonValidator

public CancelButtonValidator()
Method Detail

getJavascript

public String getJavascript(Locale locale)
Description copied from class: Validator
gets a locale specific Javascript representation of the validator.

Specified by:
getJavascript in class Validator
Parameters:
locale - the locale for which to format the value
Returns:
a String representation of Javascript

getErrorText

public String getErrorText(Locale locale)
gets a locale specific error text

Specified by:
getErrorText in class Validator
Parameters:
locale - the locale for which to format the value
Returns:
a String


Copyright 2006 SAP AG Complete Copyright Notice