|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.ui.AbstractValidator
public abstract class AbstractValidator
An implementation of Validator interface to serve as a basis for implementing various validators used by JFormattedComponent, such as JFormattedTextField, JFormattedLabel, JFormattedTableColumn, and JFormattedComboBox.
ComparisonRangeValidator
,
DefaultValidator
,
Validator
Field Summary | |
---|---|
static String |
Copyright
|
protected VetoableChangeSupport |
vetoPropertyChange
|
Fields inherited from interface com.ibm.etools.iseries.ui.Validator |
---|
copyright |
Constructor Summary | |
---|---|
AbstractValidator()
Constructs a new AbstractValidator |
|
AbstractValidator(Attributes dataAttributes)
Constructs a new AbstractValidator with the specified DataAttributes. |
Method Summary | |
---|---|
void |
addVetoableChangeListener(VetoableChangeListener listener)
The addVetoableChangeListener method was generated to support the vetoPropertyChange field. |
static String |
Copyright()
This method returns the copyright notice for this class. |
void |
fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
The fireVetoableChange method was generated to support the vetoPropertyChange field. |
abstract Attributes |
getDataAttributes()
Returns DataAttributes. |
protected VetoableChangeSupport |
getVetoPropertyChange()
Accessor for the vetoPropertyChange field. |
abstract boolean |
isDataValid(String text)
Determine if text is valid and returns true or false. |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
The removeVetoableChangeListener method was generated to support the vetoPropertyChange field. |
abstract void |
setDataAttributes(Attributes dataAttributes)
Replace DataAttributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected transient VetoableChangeSupport vetoPropertyChange
Constructor Detail |
---|
public AbstractValidator()
public AbstractValidator(Attributes dataAttributes)
dataAttributes
- com.ibm.etools.iseries.ui.AttributesMethod Detail |
---|
public void addVetoableChangeListener(VetoableChangeListener listener)
public static String Copyright()
public void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException
PropertyVetoException
public abstract Attributes getDataAttributes()
getDataAttributes
in interface Validator
protected VetoableChangeSupport getVetoPropertyChange()
public abstract boolean isDataValid(String text)
isDataValid
in interface Validator
text
- String
public void removeVetoableChangeListener(VetoableChangeListener listener)
public abstract void setDataAttributes(Attributes dataAttributes) throws PropertyVetoException
setDataAttributes
in interface Validator
dataAttributes
- com.ibm.etools.iseries.ui.Attributes
PropertyVetoException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |