本文整理汇总了Java中com.vaadin.event.FieldEvents.BlurListener方法的典型用法代码示例。如果您正苦于以下问题:Java FieldEvents.BlurListener方法的具体用法?Java FieldEvents.BlurListener怎么用?Java FieldEvents.BlurListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.vaadin.event.FieldEvents
的用法示例。
在下文中一共展示了FieldEvents.BlurListener方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void addBlurListener(FieldEvents.BlurListener listener) {
addListener(FieldEvents.BlurEvent.EVENT_ID, FieldEvents.BlurEvent.class, listener,
FieldEvents.BlurListener.blurMethod);
}
示例2: addListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
@Deprecated
public void addListener(FieldEvents.BlurListener listener) {
addBlurListener(listener);
}
示例3: removeBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void removeBlurListener(FieldEvents.BlurListener listener) {
removeListener(FieldEvents.BlurEvent.EVENT_ID, FieldEvents.BlurEvent.class, listener);
}
示例4: removeListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
@Deprecated
public void removeListener(FieldEvents.BlurListener listener) {
removeBlurListener(listener);
}
示例5: withBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public DoubleField withBlurListener(FieldEvents.BlurListener listener) {
return (DoubleField) super.withBlurListener(listener);
}
示例6: withBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public IntegerField withBlurListener(FieldEvents.BlurListener listener) {
return (IntegerField) super.withBlurListener(listener);
}
示例7: addBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void addBlurListener(FieldEvents.BlurListener listener) {
textArea.addBlurListener(listener);
}
示例8: addListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void addListener(FieldEvents.BlurListener listener) {
textArea.addListener(listener);
}
示例9: removeBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void removeBlurListener(FieldEvents.BlurListener listener) {
textArea.removeBlurListener(listener);
}
示例10: removeListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void removeListener(FieldEvents.BlurListener listener) {
textArea.removeListener(listener);
}
示例11: addBlurListener
import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
/**
* Adds a <code>BlurListener</code> to the Component which gets fired
* when a <code>Field</code> loses keyboard focus.
*
* @param listener the blur listener to add, not null
* @return a registration object for removing the listener
* @see FieldEvents.BlurListener
* @see Registration
* @since 0.2
*/
public Registration addBlurListener(FieldEvents.BlurListener listener) {
// Sorry no withBlurListener. You need the Registration later on to remove
// the Listener again because there is no removeListener Method
return getField().addBlurListener(listener);
}