|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeystrokeVerifier
Interface for a keystroke verifier which extends javax.swing.text.Document, so a keystroke verifier is a model in a Model-View-Controller relationship. The purpose of this interface is to force a keystroke verifier class to get and set DataAttributes to control the data model.
Document
,
FieldModel
,
NumericCharacterDocument
,
UpperCaseDocument
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from interface javax.swing.text.Document |
---|
StreamDescriptionProperty, TitleProperty |
Method Summary | |
---|---|
void |
enableErrorChecking(boolean enable)
Call this to enable/disable error checking |
Attributes |
getDataAttributes()
|
Attributes |
getEditmaskAttributes()
|
String |
getUneditedText()
|
void |
setCurrentFocusField(JComponent comp)
Set the focus on the component that passed in as argument. |
void |
setDataAttributes(Attributes dataAttributes)
Sets the dataAttributes property (com.ibm.etools.iseries.ui.Attributes) value. |
void |
setEditmaskAttributes(Attributes a)
Sets the editmaskAttributes property (com.ibm.etools.iseries.ui.Attributes) value. |
Methods inherited from interface javax.swing.text.Document |
---|
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render |
Field Detail |
---|
static final String copyright
Method Detail |
---|
void enableErrorChecking(boolean enable)
Attributes getDataAttributes()
Attributes getEditmaskAttributes()
String getUneditedText()
void setCurrentFocusField(JComponent comp)
comp
- javax.swing.JComponentvoid setDataAttributes(Attributes dataAttributes) throws PropertyVetoException
dataAttributes
- The new value for the property.
PropertyVetoException
getDataAttributes()
void setEditmaskAttributes(Attributes a) throws PropertyVetoException
editmaskAttributes
- The new value for the property.
PropertyVetoException
getEditmaskAttributes()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |