|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.cell.validate.ValidateSupport
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.
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 |
protected com.klg.jclass.util.JCListenerList validateListeners
Constructor Detail |
public ValidateSupport()
Method Detail |
public void addValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
public void removeValidateListener(com.klg.jclass.cell.validate.JCValidateListener l)
public void fireValueChangedBegin(com.klg.jclass.cell.validate.JCValidateEvent event)
public void fireValueChangedEnd(com.klg.jclass.cell.validate.JCValidateEvent event)
public void fireStateIsInvalid(com.klg.jclass.cell.validate.JCValidateEvent event)
public boolean fireValidateEvents(com.klg.jclass.cell.validate.JCValidateEvent ev)
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |