net.ezcontent.web.admin.lists
Class LCIconView
java.lang.Object
org.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
net.ezcontent.web.admin.lists.LCIconView
- All Implemented Interfaces:
- IComponent, ILocatable, ILocationHolder, IRender
- public abstract class LCIconView
- extends BaseComponent
Despliega una lista de objetos en forma de una matriz de iconos.
- Author:
- Enrique Zamudio
Fields inherited from class org.apache.tapestry.spec.BaseLocatable |
|
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString |
LCIconView
public LCIconView()
getRow
public abstract List getRow()
getItem
public abstract Object getItem()
getRowIndex
public abstract int getRowIndex()
getColIndex
public abstract int getColIndex()
viewConfiguration
private ViewConfiguration viewConfiguration()
getRowSize
public int getRowSize()
- Lee la longitud de cada renglon, de la configuracion
(atributo size, elemento columns).
getRows
public List getRows()
- Devuelve un arreglo de arreglos, cada subarreglo es un renglon de objetos.
getLabelPath
public String getLabelPath()
- Devuelve la ruta OGNL para obtener la etiqueta de cada objeto.
getIconName
public String getIconName()
- Devuelve el nombre del icono que hay que mostrar para los objetos.
getIcon
public IAsset getIcon()
- Devuelve un asset que representa el icono a utilizar para los objetos.
getLabel
public Object getLabel()
- Devuelve la etiqueta correspondiente al objeto actual.
getItemIndex
public int getItemIndex()
selectObject
public void selectObject(IRequestCycle cycle)