Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.validators
Class SystemNumericVerifyListener


java.lang.Object
  extended by 
org.eclipse.rse.ui.validators.SystemNumericVerifyListener
All Implemented Interfaces:
EventListener, VerifyListener, org.eclipse.swt.internal.SWTEventListener

public class SystemNumericVerifyListener
extends Object
implements VerifyListener

A class that only allows keys representing numeric values to be entered. It can be turned off if necessary.


Constructor Summary
SystemNumericVerifyListener ()
          Constructor.
 
Method Summary
 boolean isOff ()
          Returns whether the verifier is on or off.
 void setOff (boolean isOff)
          Turns the verifier on or off.
 void verifyText ( VerifyEvent e)
          Verifies the event text if it is not turned off.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemNumericVerifyListener

public SystemNumericVerifyListener()
Constructor. The verifier is on by default.

Method Detail

verifyText

public void verifyText(
VerifyEvent e)
Verifies the event text if it is not turned off.

Specified by:
verifyText in interface VerifyListener
See Also:
VerifyListener.verifyText(org.eclipse.swt.events.VerifyEvent)

setOff

public void setOff(boolean isOff)
Turns the verifier on or off.

Parameters:
isOff - true to turn the verifier off, false to turn it on.

isOff

public boolean isOff()
Returns whether the verifier is on or off.

Returns:
true if the verifier is off, false if it is on.

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire