本文整理了Java中org.apache.wicket.markup.html.list.ListView.getDefaultModelObject()
方法的一些代码示例,展示了ListView.getDefaultModelObject()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListView.getDefaultModelObject()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.list.ListView
类名称:ListView
方法名:getDefaultModelObject
暂无
代码示例来源:origin: org.apache.wicket/wicket-core
/**
* Gets model object
*
* @return model object
*/
@SuppressWarnings("unchecked")
public final List<T> getModelObject()
{
return (List<T>)getDefaultModelObject();
}
代码示例来源:origin: apache/wicket
/**
* Gets model object
*
* @return model object
*/
@SuppressWarnings("unchecked")
public final List<T> getModelObject()
{
return (List<T>)getDefaultModelObject();
}
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
/**
* Gets model object
*
* @return model object
*/
@SuppressWarnings("unchecked")
public final List<T> getModelObject()
{
return (List<T>)getDefaultModelObject();
}
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
/**
* Gets the list of items in the listView. This method is final because it is not designed to be
* overridden. If it were allowed to be overridden, the values returned by getModelObject() and
* getList() might not coincide.
*
* @return The list of items in this list view.
*/
@SuppressWarnings("unchecked")
public final List<? extends T> getList()
{
final List<? extends T> list = (List<? extends T>)getDefaultModelObject();
if (list == null)
{
return Collections.emptyList();
}
return list;
}
代码示例来源:origin: org.apache.wicket/wicket-core
/**
* Gets the list of items in the listView. This method is final because it is not designed to be
* overridden. If it were allowed to be overridden, the values returned by getModelObject() and
* getList() might not coincide.
*
* @return The list of items in this list view.
*/
@SuppressWarnings("unchecked")
public final List<T> getList()
{
final List<T> list = (List<T>)getDefaultModelObject();
if (list == null)
{
return Collections.emptyList();
}
return list;
}
代码示例来源:origin: apache/wicket
/**
* Gets the list of items in the listView. This method is final because it is not designed to be
* overridden. If it were allowed to be overridden, the values returned by getModelObject() and
* getList() might not coincide.
*
* @return The list of items in this list view.
*/
@SuppressWarnings("unchecked")
public final List<T> getList()
{
final List<T> list = (List<T>)getDefaultModelObject();
if (list == null)
{
return Collections.emptyList();
}
return list;
}
代码示例来源:origin: org.geoserver.web/web-core
@Override
public void onClick(AjaxRequestTarget target) {
((List)listView.getDefaultModelObject()).add(new Tuple());
target.addComponent(container);
}
});
代码示例来源:origin: org.apache.wicket/wicket-core
final Object modelObject = getDefaultModelObject();
if (modelObject == null)
代码示例来源:origin: apache/wicket
final Object modelObject = getDefaultModelObject();
if (modelObject == null)
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
final Object modelObject = getDefaultModelObject();
if (modelObject == null)
内容来源于网络,如有侵权,请联系作者删除!