|
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 | +--java.util.EventObject | +--com.klg.jclass.cell.validate.JCValidateEvent
Data validation event. Validate events are typically
fired when stopCellEditing()
is called.
JCCellEditor
,
Serialized FormField Summary | |
protected boolean |
beep
|
protected Object |
old_value
|
protected boolean |
valid
|
protected Object |
value
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCValidateEvent(Object src)
|
|
JCValidateEvent(Object source,
Object old_value,
Object value,
boolean valid)
|
|
JCValidateEvent(Object source,
Object old_value,
Object value,
boolean valid,
boolean beep)
|
Method Summary | |
boolean |
getBeep()
Returns whether the event will cause a beep or not. |
Object |
getOldValue()
Returns the previous value of the field. |
Object |
getValue()
Returns the new value of the field. |
boolean |
isValid()
Returns whether the value is considered valid or not. |
void |
setBeep(boolean beep)
Sets whether the event will cause a beep or not. |
void |
setValid(boolean valid)
Sets whether the current value is considered valid or not. |
void |
setValue(Object value)
In the valueChangedBegin method, this may be called to changed
the new value. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Object old_value
protected Object value
protected boolean beep
protected boolean valid
Constructor Detail |
public JCValidateEvent(Object src)
public JCValidateEvent(Object source, Object old_value, Object value, boolean valid)
public JCValidateEvent(Object source, Object old_value, Object value, boolean valid, boolean beep)
Method Detail |
public boolean getBeep()
public void setBeep(boolean beep)
beep
- public Object getValue()
public void setValue(Object value)
valueChangedBegin
method, this may be called to changed
the new value. The new value is run through the validator associated with
the source to ensure that it is valid.
value
- public Object getOldValue()
public boolean isValid()
public void setValid(boolean valid)
valid
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |