org.rhq.enterprise.gui.legacy.taglib.display
Class Decorator

java.lang.Object
  extended by org.rhq.enterprise.gui.legacy.taglib.display.Decorator
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ColumnDecorator, TableDecorator

public abstract class Decorator
extends Object
implements Cloneable

This class provides some basic functionality for all objects which serve as decorators for the objects in the List being displayed.


Constructor Summary
Decorator()
           
 
Method Summary
 void finish()
           
 String finishRow()
           
 List getList()
           
 int getListIndex()
           
 Object getObject()
           
 javax.servlet.jsp.PageContext getPageContext()
           
 int getViewIndex()
           
 void init(javax.servlet.jsp.PageContext ctx, List list)
           
 String initRow(Object obj, int viewIndex, int listIndex)
           
 void release()
           
 void setPageContext(javax.servlet.jsp.PageContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decorator

public Decorator()
Method Detail

init

public void init(javax.servlet.jsp.PageContext ctx,
                 List list)

initRow

public String initRow(Object obj,
                      int viewIndex,
                      int listIndex)

finishRow

public String finishRow()

finish

public void finish()

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext context)

getPageContext

public javax.servlet.jsp.PageContext getPageContext()

getList

public List getList()

getObject

public Object getObject()

getViewIndex

public int getViewIndex()

getListIndex

public int getListIndex()

release

public void release()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.