|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.spec.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent net.ezcontent.web.admin.TabbedListViews
Maneja varias sub-vistas para listar objetos. Presenta pestanias en caso de haber mas de una vista. Su configuracion se toma directamente de un ListConfiguration que debe recibir.
Field Summary |
Fields inherited from class org.apache.tapestry.BaseComponent |
|
Fields inherited from class org.apache.tapestry.AbstractComponent |
|
Fields inherited from class org.apache.tapestry.spec.BaseLocatable |
|
Constructor Summary | |
TabbedListViews()
|
Method Summary | |
int |
getCurrentPage()
|
ViewConfiguration |
getCurrentView()
Devuelve la vista seleccionada, o la primera de las vistas si no hay una seleccionada. |
abstract ListConfiguration |
getListConfiguration()
La configuracion a utilizar. |
List |
getListFragment()
Devuelve el fragmento de objetos correspondiente a la pagina actual. |
abstract ViewConfiguration |
getListView()
La vista de listado para el Foreach de vistas. |
abstract List |
getObjects()
La lista de objetos a desplegar. |
String |
getTabClass()
Devuelve la clase para la pestania del Foreach. |
String |
getTabName()
Devuelve la etiqueta de la pestania que esta generandose, en el idioma de la pagina. |
void |
selectView(IRequestCycle cycle)
Se invoca cuando el usuario selecciona una nueva vista. |
Methods inherited from class org.apache.tapestry.BaseComponent |
addOuter, finishLoad, renderComponent |
Methods inherited from class org.apache.tapestry.spec.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.ILocationHolder |
setLocation |
Methods inherited from interface org.apache.tapestry.ILocatable |
getLocation |
Constructor Detail |
public TabbedListViews()
Method Detail |
public abstract ListConfiguration getListConfiguration()
public abstract List getObjects()
public abstract ViewConfiguration getListView()
public void selectView(IRequestCycle cycle)
public ViewConfiguration getCurrentView()
public String getTabName()
public String getTabClass()
public int getCurrentPage()
public List getListFragment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |