Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.clprompter
Class ClTextLimitListener

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.clprompter.ClTextLimitListener

public class ClTextLimitListener
extends Object

Port of com.ibm.etools.iseries.core.util.clprompter.ClTextFieldLimit


Field Summary
static String Copyright
           
 
Constructor Summary
ClTextLimitListener(int limit, Object control, boolean variables, boolean expression)
          Constructor
 
Method Summary
 void modifyText(ModifyEvent e)
          Adjusts the text limit of the control TODO: figure out limits for HEX items
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ClTextLimitListener

public ClTextLimitListener(int limit,
                           Object control,
                           boolean variables,
                           boolean expression)
Constructor

Parameters:
limit - the text limit for the control specified
control - the control which need its text limited (either a ClText or ClCombo widget
variables - true if variables are allowed for this field, false otherwise
cl - the common layout for the parameter
Method Detail

modifyText

public void modifyText(ModifyEvent e)
Adjusts the text limit of the control TODO: figure out limits for HEX items

See Also:
ModifyListener

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.