org.sakaiproject.tool.gradebook.jsf.dhtmlpopup
Class DhtmlPopupComponent

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byorg.sakaiproject.tool.gradebook.jsf.iterator.IteratorComponent
              extended byorg.sakaiproject.tool.gradebook.jsf.dhtmlpopup.DhtmlPopupComponent
All Implemented Interfaces:
NamingContainer, StateHolder

public class DhtmlPopupComponent
extends IteratorComponent
implements NamingContainer


Field Summary
static String COMPONENT_TYPE
           
static String POPUP_ID_DIV_PREFIX
           
 
Fields inherited from class org.sakaiproject.tool.gradebook.jsf.iterator.IteratorComponent
COMPONENT_FAMILY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
DhtmlPopupComponent()
           
 
Method Summary
 void encodeBegin(FacesContext context)
           
 void encodeEnd(FacesContext context)
           
 String getCloseIconUrl()
           
 Integer getNumberOfColumns()
           
 String getPopupId()
           
 String getTitleText()
           
protected  void renderRowChildren(FacesContext context)
          Subclasses can decorate the children as they see fit.
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setCloseClass(String closeClass)
           
 void setCloseIconUrl(String closeIconUrl)
           
 void setDataRowClass(String dataRowClass)
           
 void setNumberOfColumns(Integer numberOfColumns)
           
 void setPopupId(String popupId)
           
 void setStyleClass(String styleClass)
           
 void setTitleBarClass(String titleBarClass)
           
 void setTitleText(String titleText)
           
 
Methods inherited from class org.sakaiproject.tool.gradebook.jsf.iterator.IteratorComponent
decode, encodeChildren, encodeRecursive, getFamily, getFieldOrBinding, getRendersChildren, getValue, getVar, setRowIndexVar, setValue, setValueBinding, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

POPUP_ID_DIV_PREFIX

public static final String POPUP_ID_DIV_PREFIX
See Also:
Constant Field Values
Constructor Detail

DhtmlPopupComponent

public DhtmlPopupComponent()
Method Detail

encodeBegin

public void encodeBegin(FacesContext context)
                 throws IOException
Overrides:
encodeBegin in class IteratorComponent
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext context)
               throws IOException
Overrides:
encodeEnd in class IteratorComponent
Throws:
IOException

renderRowChildren

protected void renderRowChildren(FacesContext context)
                          throws IOException
Description copied from class: IteratorComponent
Subclasses can decorate the children as they see fit.

Overrides:
renderRowChildren in class IteratorComponent
Throws:
IOException

getPopupId

public String getPopupId()

setPopupId

public void setPopupId(String popupId)

getNumberOfColumns

public Integer getNumberOfColumns()

setNumberOfColumns

public void setNumberOfColumns(Integer numberOfColumns)

getTitleText

public String getTitleText()

setTitleText

public void setTitleText(String titleText)

getCloseIconUrl

public String getCloseIconUrl()

setCloseIconUrl

public void setCloseIconUrl(String closeIconUrl)

setStyleClass

public void setStyleClass(String styleClass)

setTitleBarClass

public void setTitleBarClass(String titleBarClass)

setCloseClass

public void setCloseClass(String closeClass)

setDataRowClass

public void setDataRowClass(String dataRowClass)

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class IteratorComponent

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class IteratorComponent