|
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.AbstractFieldModel com.ibm.etools.iseries.ui.AS400FieldModel
public class AS400FieldModel
AS400FieldModel is a field model particularly for AS/400 users. This field model sets the following default properties:
FieldModel
,
AbstractFieldModel
,
DefaultFieldModel
,
Serialized FormField Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.iseries.ui.DataAttributesChangeListener |
---|
copyright |
Fields inherited from interface com.ibm.etools.iseries.ui.FieldModel |
---|
copyright |
Constructor Summary | |
---|---|
AS400FieldModel()
Constructs a new AS400FieldModel. |
|
AS400FieldModel(Attributes dataAttributes)
Constructs a new AS400FieldModel with the specified DataAttributes. |
|
AS400FieldModel(Attributes dataAttributes,
Formatter f)
Constructs a new AS400FieldModel with the specified DataAttributes and Formatter. |
|
AS400FieldModel(Attributes dataAttributes,
Formatter f,
Validator v)
Constructs a new AS400FieldModel with the specified DataAttributes, Formatter and Validator. |
|
AS400FieldModel(Attributes dataAttributes,
Formatter f,
Validator v,
Document d)
Constructs a new AS400FieldModel with the specified DataAttributes, Formatter, Validator and Document. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a propertyChangeListener. |
void |
addVetoableChangeListener(VetoableChangeListener l)
Add a vetoableChangeListener. |
static String |
Copyright()
This method returns the copyright notice for this class. |
void |
dataAttributesChanged(DataAttributesChangeEvent evt)
Whenever a bound property of DataAttributes changes, a DataAttributesChangeEvent is fired and this method will be called by the DataAttributesChangeListener. |
Attributes |
getDataAttributes()
Gets the dataAttributes property (com.ibm.etools.iseries.ui.Attributes) value. |
Formatter |
getFormatter()
Gets the formatter property (com.ibm.etools.iseries.ui.Formatter) value. |
Document |
getKeystrokeVerifier()
Gets the keystrokeVerifier property (javax.swing.text.Document) value. |
Validator |
getValidator()
Gets the validator property (com.ibm.etools.iseries.ui.Validator) value. |
void |
propertyChange(PropertyChangeEvent e)
Examine the PropertyChangeEvent and decides what to do on a particular event. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a propertyChangeListener. |
void |
removeVetoableChangeListener(VetoableChangeListener l)
Removes a vetoableChangeListener. |
void |
setDataAttributes(Attributes a)
Sets the dataAttributes property (com.ibm.etools.iseries.ui.Attributes) value. |
void |
setFormatter(Formatter f)
Sets the formatter property (com.ibm.etools.iseries.ui.Formatter) value. |
void |
setKeystrokeVerifier(Document d)
Sets the keystrokeVerifier property (javax.swing.text.Document) value. |
void |
setValidator(Validator v)
Sets the validator property (com.ibm.etools.iseries.ui.Validator) value. |
void |
vetoableChange(PropertyChangeEvent e)
This method gets called when a constrained property is changed. |
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
Constructor Detail |
---|
public AS400FieldModel()
public AS400FieldModel(Attributes dataAttributes)
dataAttributes
- com.ibm.etools.iseries.ui.Attributespublic AS400FieldModel(Attributes dataAttributes, Formatter f)
dataAttributes
- com.ibm.etools.iseries.ui.Attributesf
- com.ibm.etools.iseries.ui.Formatterpublic AS400FieldModel(Attributes dataAttributes, Formatter f, Validator v)
dataAttributes
- com.ibm.etools.iseries.ui.Attributesf
- com.ibm.etools.iseries.ui.Formatterv
- com.ibm.etools.iseries.ui.Validatorpublic AS400FieldModel(Attributes dataAttributes, Formatter f, Validator v, Document d)
dataAttributes
- com.ibm.etools.iseries.ui.Attributesf
- com.ibm.etools.iseries.ui.Formatterv
- com.ibm.etools.iseries.ui.Validatord
- javax.swing.text.DocumentMethod Detail |
---|
public void addPropertyChangeListener(PropertyChangeListener l)
l
- PropertyChangeListenerpublic void addVetoableChangeListener(VetoableChangeListener l)
l
- java.beans.VetoableChangeListenerpublic static String Copyright()
public void dataAttributesChanged(DataAttributesChangeEvent evt)
dataAttributesChanged
in interface DataAttributesChangeListener
evt
- com.ibm.etools.iseries.ui.DataAttributesChangeEventpublic Attributes getDataAttributes()
getDataAttributes
in interface FieldModel
getDataAttributes
in class AbstractFieldModel
setDataAttributes(com.ibm.etools.iseries.ui.Attributes)
public Formatter getFormatter()
getFormatter
in interface FieldModel
getFormatter
in class AbstractFieldModel
setFormatter(com.ibm.etools.iseries.ui.Formatter)
public Document getKeystrokeVerifier()
getKeystrokeVerifier
in interface FieldModel
getKeystrokeVerifier
in class AbstractFieldModel
setKeystrokeVerifier(javax.swing.text.Document)
public Validator getValidator()
getValidator
in interface FieldModel
getValidator
in class AbstractFieldModel
setValidator(com.ibm.etools.iseries.ui.Validator)
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
e
- PropertyChangeEventpublic void removePropertyChangeListener(PropertyChangeListener l)
l
- PropertyChangeListenerpublic void removeVetoableChangeListener(VetoableChangeListener l)
l
- java.beans.VetoableChangeListenerpublic void setDataAttributes(Attributes a) throws PropertyVetoException
setDataAttributes
in interface FieldModel
setDataAttributes
in class AbstractFieldModel
dataAttributes
- The new value for the property.
PropertyVetoException
getDataAttributes()
public void setFormatter(Formatter f)
setFormatter
in interface FieldModel
setFormatter
in class AbstractFieldModel
f
- The new value for the property.getFormatter()
public void setKeystrokeVerifier(Document d)
setKeystrokeVerifier
in interface FieldModel
setKeystrokeVerifier
in class AbstractFieldModel
d
- The new value for the property.getKeystrokeVerifier()
public void setValidator(Validator v)
setValidator
in interface FieldModel
setValidator
in class AbstractFieldModel
v
- The new value for the property.getValidator()
public void vetoableChange(PropertyChangeEvent e) throws PropertyVetoException
vetoableChange
in interface VetoableChangeListener
e
- java.beans.PropertyChangeEvent a PropertyChangeEvent object describing the event source and the property that has changed.
PropertyVetoException
- if the recipient wishes the property change to be rolled back.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |