本文整理了Java中org.apache.wicket.markup.html.list.ListView.removeAll()
方法的一些代码示例,展示了ListView.removeAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListView.removeAll()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.list.ListView
类名称:ListView
方法名:removeAll
暂无
代码示例来源:origin: net.ontopia/ontopoly-editor
public void onUpdate(AjaxRequestTarget target) {
// NOTE: callback to use when entire field needs to be refreshed
listView.removeAll();
updateDependentComponents(target);
}
代码示例来源:origin: net.ontopia/ontopoly-editor
protected void onUpdate(AjaxRequestTarget target) {
listView.removeAll();
fieldAssignmentModels.detach(); // make sure list of field assignments is reloaded
target.addComponent(FieldsEditor.this);
}
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
protected void onUpdate(AjaxRequestTarget target) {
fieldValuesModel.setShowExtraField(false, false);
if (updateListView)
listView.removeAll();
updateDependentComponents(target);
}
protected void onError(AjaxRequestTarget target, RuntimeException e) {
代码示例来源:origin: ontopia/ontopia
@Override
protected void onUpdate(AjaxRequestTarget target) {
fieldValuesModel.setShowExtraField(false, false);
if (updateListView)
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: OrienteerBAP/Orienteer
@Override
public void onClick(Optional<AjaxRequestTarget> targetOptional) {
convertToData();
getData().add(null);
targetOptional.ifPresent(target -> target.add(EmbeddedCollectionEditPanel.this));
listView.removeAll();
}
代码示例来源:origin: ontopia/ontopia
protected void onUpdate(AjaxRequestTarget target) {
listView.removeAll();
fieldAssignmentModels.detach(); // make sure list of field assignments is reloaded
target.addComponent(FieldsEditor.this);
}
代码示例来源:origin: OrienteerBAP/Orienteer
@Override
public void onClick(Optional<AjaxRequestTarget> targetOptional) {
convertToData();
getData().add(new Pair<V>());
targetOptional.ifPresent(target -> target.add(EmbeddedMapEditPanel.this));
listView.removeAll();
}
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
updateDependentComponents(target);
listView.removeAll();
}
@Override
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: ontopia/ontopia
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: ontopia/ontopia
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: net.ontopia/ontopoly-editor
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: ontopia/ontopia
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: ontopia/ontopia
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
updateDependentComponents(target);
listView.removeAll();
}
@Override
代码示例来源:origin: ontopia/ontopia
@Override
public void onClick(AjaxRequestTarget target) {
boolean showExtraField = !fieldValuesModel.getShowExtraField();
fieldValuesModel.setShowExtraField(showExtraField, true);
listView.removeAll();
updateDependentComponents(target);
}
@Override
代码示例来源:origin: org.apache.wicket/wicket-core
/**
* @see org.apache.wicket.markup.html.link.Link#onClick()
*/
@Override
public void onClick()
{
addStateChange();
item.modelChanging();
// Remove item and invalidate listView
getList().remove(item.getIndex());
ListView.this.modelChanged();
ListView.this.removeAll();
}
};
代码示例来源:origin: apache/wicket
/**
* @see org.apache.wicket.markup.html.link.Link#onClick()
*/
@Override
public void onClick()
{
addStateChange();
item.modelChanging();
// Remove item and invalidate listView
getList().remove(item.getIndex());
ListView.this.modelChanged();
ListView.this.removeAll();
}
};
代码示例来源:origin: stackoverflow.com
add(new ListView("listId", list) {
protected void populateItem(ListItem item) {
final ListView lv = this;
item.add(new Link("linkId") {
public void onClick() {
lv.modelChange();
lv.removeAll();
}
});
}
});
内容来源于网络,如有侵权,请联系作者删除!