public void setEditor( T editor, boolean fShowCancel )
{
m_table.clear();
m_editor = editor;
if( m_editor != null )
{
m_table.setWidget( 0, 0, m_editor );
if( m_editor instanceof HasKeyUpHandlers )
((HasKeyUpHandlers) m_editor).addKeyUpHandler( this );
if( m_editor instanceof Focusable )
((Focusable) m_editor).setFocus( true );
}
m_table.setWidget( 0, 1, m_okBut );
if( fShowCancel )
m_table.setWidget( 0, 2, m_cancelBut );
}
Validator.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:hexa.tools
作者:
评论列表
文章目录