protected void createDatePicker( int style )
{
btnDate = new Button( this, SWT.CHECK );
btnDate.addListener( SWT.Selection, this );
pickerDate = new DateTime( this, SWT.DATE | style );
pickerDate.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
pickerDate.addListener( SWT.Selection, this );
btnTime = new Button( this, SWT.CHECK );
btnTime.addListener( SWT.Selection, this );
pickerTime = new DateTime( this, SWT.TIME | style );
pickerTime.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
pickerTime.addListener( SWT.Selection, this );
}
DateTimeDataElementComposite.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:birt
作者:
评论列表
文章目录