JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.cell.validate
Class ValidateSupport

java.lang.Object
  |
  +--com.klg.jclass.cell.validate.ValidateSupport
All Implemented Interfaces:
Serializable

public class ValidateSupport
extends Object
implements Serializable

ValidateSupport is a convenience class that can be used by cell editors to implement standard validate event handling. In addition to registering validate event listeners, it provides convenient methods for firing events.

See Also:
Serialized Form

Field Summary
protected  com.klg.jclass.util.JCListenerList validateListeners
          Manages ValidateListeners
 
Constructor Summary
ValidateSupport()
          Creates a ValidateSupport instance.
 
Method Summary
 void addValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
          Adds a new ValidateListener to the list.
 void fireStateIsInvalid(com.klg.jclass.cell.validate.JCValidateEvent event)
          Sends a stateIsInvalid message to all listeners.
 boolean fireValidateEvents(com.klg.jclass.cell.validate.JCValidateEvent ev)
          Fires the validation events in the standard order.
 void fireValueChangedBegin(com.klg.jclass.cell.validate.JCValidateEvent event)
          Sends a valueChangedBegin message to all listeners.
 void fireValueChangedEnd(com.klg.jclass.cell.validate.JCValidateEvent event)
          Sends a valueChangedEnd message to all listeners.
 void removeValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
          Removes a ValidateListener from the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validateListeners

protected com.klg.jclass.util.JCListenerList validateListeners
Manages ValidateListeners

Constructor Detail

ValidateSupport

public ValidateSupport()
Creates a ValidateSupport instance.

Method Detail

addValidateListener

public void addValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
Adds a new ValidateListener to the list.


removeValidateListener

public void removeValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
Removes a ValidateListener from the list.


fireValueChangedBegin

public void fireValueChangedBegin(com.klg.jclass.cell.validate.JCValidateEvent event)
Sends a valueChangedBegin message to all listeners.


fireValueChangedEnd

public void fireValueChangedEnd(com.klg.jclass.cell.validate.JCValidateEvent event)
Sends a valueChangedEnd message to all listeners.


fireStateIsInvalid

public void fireStateIsInvalid(com.klg.jclass.cell.validate.JCValidateEvent event)
Sends a stateIsInvalid message to all listeners.


fireValidateEvents

public boolean fireValidateEvents(com.klg.jclass.cell.validate.JCValidateEvent ev)
Fires the validation events in the standard order.


Copyright © 2004 Quest Software Inc..
All rights reserved.