Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.ui
Interface KeystrokeVerifier

All Superinterfaces:
Document
All Known Implementing Classes:
NumericCharacterDocument, UpperCaseDocument

public interface KeystrokeVerifier
extends Document

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.

See Also:
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

copyright

static final String copyright
See Also:
Constant Field Values
Method Detail

enableErrorChecking

void enableErrorChecking(boolean enable)
Call this to enable/disable error checking


getDataAttributes

Attributes getDataAttributes()

getEditmaskAttributes

Attributes getEditmaskAttributes()

getUneditedText

String getUneditedText()

setCurrentFocusField

void setCurrentFocusField(JComponent comp)
Set the focus on the component that passed in as argument.

Parameters:
comp - javax.swing.JComponent

setDataAttributes

void setDataAttributes(Attributes dataAttributes)
                       throws PropertyVetoException
Sets the dataAttributes property (com.ibm.etools.iseries.ui.Attributes) value.

Parameters:
dataAttributes - The new value for the property.
Throws:
PropertyVetoException
See Also:
getDataAttributes()

setEditmaskAttributes

void setEditmaskAttributes(Attributes a)
                           throws PropertyVetoException
Sets the editmaskAttributes property (com.ibm.etools.iseries.ui.Attributes) value.

Parameters:
editmaskAttributes - The new value for the property.
Throws:
PropertyVetoException
See Also:
getEditmaskAttributes()

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.