本文整理汇总了Java中com.google.gwt.editor.client.adapters.EditorSource类的典型用法代码示例。如果您正苦于以下问题:Java EditorSource类的具体用法?Java EditorSource怎么用?Java EditorSource使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EditorSource类属于com.google.gwt.editor.client.adapters包,在下文中一共展示了EditorSource类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ListValidationEditorWrapper
import com.google.gwt.editor.client.adapters.EditorSource; //导入依赖的package包/类
/**
* constructor.
*
* @param backing list of data entries.
* @param chain editor deligator
* @param editorSource editor source
* @param pparentDriver parent driver
*/
public ListValidationEditorWrapper(final List<T> backing,
final CompositeEditor.EditorChain<T, E> chain, final EditorSource<E> editorSource,
final BeanValidationEditorDriver<?, ?> pparentDriver) {
super();
this.backing = backing;
this.chain = chain;
this.editorSource = editorSource;
if (this.chain instanceof HasParentDriverSetter) {
((HasParentDriverSetter) this.chain).setParentDriver(pparentDriver);
}
this.editors = new ArrayList<>(backing.size());
this.workingCopy = new ArrayList<>(backing);
}
开发者ID:ManfredTremmel,项目名称:gwt-bean-validators,代码行数:22,代码来源:ListValidationEditorWrapper.java
示例2: of
import com.google.gwt.editor.client.adapters.EditorSource; //导入依赖的package包/类
/**
* Create a ListEditor backed by an EditorSource.
*
* @param <T> The type of data being managed
* @param <E> The type of Editor
* @param source the EditorSource which will create sub-Editors
* @return a new instance of ListEditor
*/
public static <T, E extends Editor<? super T>> ListValidationEditor<T, E> of( // NOPMD
final EditorSource<E> source) {
return new ListValidationEditor<>(source);
}
开发者ID:ManfredTremmel,项目名称:gwt-bean-validators,代码行数:13,代码来源:ListValidationEditor.java
示例3: ListValidationEditor
import com.google.gwt.editor.client.adapters.EditorSource; //导入依赖的package包/类
/**
* Create a ListEditor backed by an EditorSource.
*
* @param source the EditorSource which will create sub-Editors
*/
protected ListValidationEditor(final EditorSource<E> source) {
this.editorSource = source;
}
开发者ID:ManfredTremmel,项目名称:gwt-bean-validators,代码行数:9,代码来源:ListValidationEditor.java
注:本文中的com.google.gwt.editor.client.adapters.EditorSource类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论