当前位置: 首页>>代码示例>>Java>>正文


Java FieldEvents.FocusListener方法代码示例

本文整理汇总了Java中com.vaadin.event.FieldEvents.FocusListener方法的典型用法代码示例。如果您正苦于以下问题:Java FieldEvents.FocusListener方法的具体用法?Java FieldEvents.FocusListener怎么用?Java FieldEvents.FocusListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.vaadin.event.FieldEvents的用法示例。


在下文中一共展示了FieldEvents.FocusListener方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addFocusListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void addFocusListener(FieldEvents.FocusListener listener) {
    addListener(FieldEvents.FocusEvent.EVENT_ID, FieldEvents.FocusEvent.class, listener,
            FieldEvents.FocusListener.focusMethod);
}
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:6,代码来源:CubaManagedTabSheet.java

示例2: addListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
@Deprecated
public void addListener(FieldEvents.FocusListener listener) {
    addFocusListener(listener);
}
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:6,代码来源:CubaManagedTabSheet.java

示例3: removeFocusListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public void removeFocusListener(FieldEvents.FocusListener listener) {
    removeListener(FieldEvents.FocusEvent.EVENT_ID, FieldEvents.FocusEvent.class, listener);
}
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:5,代码来源:CubaManagedTabSheet.java

示例4: removeListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
@Deprecated
public void removeListener(FieldEvents.FocusListener listener) {
    removeFocusListener(listener);
}
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:6,代码来源:CubaManagedTabSheet.java

示例5: withFocusListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public DoubleField withFocusListener(FieldEvents.FocusListener listener) {
    return (DoubleField) super.withFocusListener(listener);
}
 
开发者ID:viritin,项目名称:viritin,代码行数:5,代码来源:DoubleField.java

示例6: withFocusListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
@Override
public IntegerField withFocusListener(FieldEvents.FocusListener listener) {
    return (IntegerField) super.withFocusListener(listener);
}
 
开发者ID:viritin,项目名称:viritin,代码行数:5,代码来源:IntegerField.java

示例7: addFocusListener

import com.vaadin.event.FieldEvents; //导入方法依赖的package包/类
/**
 * Adds a <code>FocusListener</code> to the Component which gets fired
 * when a <code>Field</code> receives keyboard focus.
 *
 * @param listener the focus listener to add, not null
 * @return a registration object for removing the listener
 * @see FieldEvents.FocusListener
 * @see Registration
 * @since 0.2
 */
public Registration addFocusListener(FieldEvents.FocusListener listener) {
    // Sorry no withFocusListener. You need the Registration later on to remove
    // the Listener again because there is no removeListener Method
    return getField().addFocusListener(listener);
}
 
开发者ID:knoobie,项目名称:bootstrap-formgroup,代码行数:16,代码来源:FormGroup.java


注:本文中的com.vaadin.event.FieldEvents.FocusListener方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。