com.ibm.etools.iseries.core.util.clprompter
Class ClTextLimitListener
java.lang.Object
com.ibm.etools.iseries.core.util.clprompter.ClTextLimitListener
- All Implemented Interfaces:
- EventListener, ModifyListener, SWTEventListener
- public class ClTextLimitListener
- extends Object
- implements ModifyListener
Port of com.ibm.etools.iseries.core.util.clprompter.ClTextFieldLimit
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 |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
ClTextLimitListener
public ClTextLimitListener(int limit,
Object control,
boolean variables,
boolean expression)
- Constructor
- Parameters:
limit
- the text limit for the control specifiedcontrol
- the control which need its text limited (either a ClText or ClCombo widgetvariables
- true if variables are allowed for this field, false otherwise
modifyText
public void modifyText(ModifyEvent e)
- Adjusts the text limit of the control
TODO: figure out limits for HEX items
- Specified by:
modifyText
in interface ModifyListener
- See Also:
ModifyListener.modifyText(org.eclipse.swt.events.ModifyEvent)
Copyright © 2005 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.