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


Java ComponentFactory类代码示例

本文整理汇总了Java中org.springframework.richclient.factory.ComponentFactory的典型用法代码示例。如果您正苦于以下问题:Java ComponentFactory类的具体用法?Java ComponentFactory怎么用?Java ComponentFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: doSetUp

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
protected final void doSetUp() throws Exception {
	formModel = new DefaultFormModel(new TestBean());
	BindingFactory bindingFactory= new SwingBindingFactory(formModel);
	
	formBuilder = createFormBuilder(bindingFactory);
	assertNotNull("formBuilder cannot be null", formBuilder);
	
	mockComponentFactory= (ComponentFactory) EasyMock.createMock(ComponentFactory.class);
	formBuilder.setComponentFactory(mockComponentFactory);
	
	mockInterceptorFactory = (FormComponentInterceptorFactory) EasyMock.createMock(FormComponentInterceptorFactory.class);
	formBuilder.setFormComponentInterceptorFactory(mockInterceptorFactory);
	
	additionalSetUp();
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:16,代码来源:AbstractFormBuilderTestCase.java

示例2: ScrollPaneDecoratedBinding

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ScrollPaneDecoratedBinding(final Binding source) {
    this(source, ((ComponentFactory)ApplicationServicesLocator.services().getService(ComponentFactory.class)).createScrollPane(source.getControl()));
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:4,代码来源:ScrollPaneDecoratedBinding.java

示例3: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory) {
    super.setComponentFactory(componentFactory);
    builder.setComponentFactory(componentFactory);
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:5,代码来源:GridBagLayoutFormBuilder.java

示例4: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
 * Set the {@link ComponentFactory}.
 */
public void setComponentFactory(ComponentFactory componentFactory) {
	this.componentFactory = componentFactory;
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:7,代码来源:AbstractFormBuilder.java

示例5: getComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
protected ComponentFactory getComponentFactory() {
    return (ComponentFactory)getService(ComponentFactory.class);
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:4,代码来源:ApplicationServicesAccessor.java

示例6: getComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
 * @see CommandServices#getComponentFactory()
 */
protected ComponentFactory getComponentFactory() {
	return getCommandServices().getComponentFactory();
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:7,代码来源:AbstractCommand.java

示例7: getComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ComponentFactory getComponentFactory(){
	return getCommandServices().getComponentFactory();
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:4,代码来源:DefaultCommandManager.java

示例8: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory){
	this.componentFactory = componentFactory;
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:4,代码来源:DefaultCommandServices.java

示例9: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory) {
    this.componentFactory = componentFactory;
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:4,代码来源:GridBagLayoutBuilder.java

示例10: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
 * Set the component factory service implementation
 *
 * @param componentFactory
 */
public void setComponentFactory( ComponentFactory componentFactory ) {
    services.put( ComponentFactory.class, componentFactory );
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:9,代码来源:DefaultApplicationServices.java

示例11: setComponentFactoryId

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
 * Set the component factory service implementation bean id
 *
 * @param componentFactoryId bean id
 */
public void setComponentFactoryId( String componentFactoryId ) {
    services.put( ComponentFactory.class, componentFactoryId );
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:9,代码来源:DefaultApplicationServices.java

示例12: setComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
 * Sets the {@link ComponentFactory}that this uses to create things like
 * labels.
 */
public void setComponentFactory(ComponentFactory componentFactory) {
    this.componentFactory = componentFactory;
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:8,代码来源:TableLayoutBuilder.java

示例13: getComponentFactory

import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ComponentFactory getComponentFactory(); 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:2,代码来源:CommandServices.java


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