com.google.code.validationframework.swing.trigger
Class JFormattedTextFieldFocusGainedTrigger

java.lang.Object
  extended by com.google.code.validationframework.base.trigger.AbstractTrigger
      extended by com.google.code.validationframework.swing.trigger.BaseJComponentFocusGainedTrigger<JFormattedTextField>
          extended by com.google.code.validationframework.swing.trigger.JFormattedTextFieldFocusGainedTrigger
All Implemented Interfaces:
com.google.code.validationframework.api.common.Disposable, com.google.code.validationframework.api.trigger.Trigger

public class JFormattedTextFieldFocusGainedTrigger
extends BaseJComponentFocusGainedTrigger<JFormattedTextField>

Convenience class for triggers on focus gain by a JFormattedTextField.
When this trigger is not longer required, do not forget to call BaseJComponentFocusGainedTrigger.dispose().

See Also:
BaseJComponentFocusGainedTrigger, BaseJComponentFocusGainedTrigger.dispose()

Field Summary
 
Fields inherited from class com.google.code.validationframework.base.trigger.AbstractTrigger
listeners
 
Constructor Summary
JFormattedTextFieldFocusGainedTrigger(JFormattedTextField source)
          Constructor specified the formatted textfield whose focus is to be tracked.
A focus listener will be installed.
 
Method Summary
 
Methods inherited from class com.google.code.validationframework.swing.trigger.BaseJComponentFocusGainedTrigger
dispose, getComponent
 
Methods inherited from class com.google.code.validationframework.base.trigger.AbstractTrigger
addTriggerListener, fireTriggerEvent, removeTriggerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFormattedTextFieldFocusGainedTrigger

public JFormattedTextFieldFocusGainedTrigger(JFormattedTextField source)
Constructor specified the formatted textfield whose focus is to be tracked.
A focus listener will be installed. So you may need to call BaseJComponentFocusGainedTrigger.dispose() when trigger is no longer needed.

Parameters:
source - Component whose focus is to be tracked.
See Also:
BaseJComponentFocusGainedTrigger.dispose()


Copyright © 2013. All Rights Reserved.