org.openfaces.component.input
Class DropDownPopup

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.openfaces.component.AbstractPopup
                  extended by org.openfaces.component.input.DropDownPopup
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class DropDownPopup
extends AbstractPopup

This class is only for internal usage from within the OpenFaces library. It shouldn't be used explicitly by any application code.


Nested Class Summary
static class DropDownPopup.ChildData
           
 
Field Summary
static java.lang.String COMPONENT_TYPE
           
static java.lang.String INNER_TABLE_SUFFIX
           
static java.lang.String ITEM_PREFIX
           
 
Fields inherited from class org.openfaces.component.AbstractPopup
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
DropDownPopup()
           
 
Method Summary
 void encodeOpeningTags(javax.faces.context.FacesContext context)
           
 DropDownPopup.ChildData getChildData()
           
 java.util.List getVisibleColumns()
           
 void renderRows(javax.faces.context.FacesContext context, DropDownFieldBase dropDownField, DropDownPopup.ChildData childData, java.util.Collection<javax.faces.component.UISelectItem> items)
           
 void resetChildData()
           
 void setDropDownList(java.util.Collection<javax.faces.component.UISelectItem> dropDownList)
           
 
Methods inherited from class org.openfaces.component.AbstractPopup
encodeBegin, encodeChildren, encodeEnd, getFamily, getRendersChildren
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, broadcast, clearInitialState, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

INNER_TABLE_SUFFIX

public static final java.lang.String INNER_TABLE_SUFFIX
See Also:
Constant Field Values

ITEM_PREFIX

public static final java.lang.String ITEM_PREFIX
See Also:
Constant Field Values
Constructor Detail

DropDownPopup

public DropDownPopup()
Method Detail

getVisibleColumns

public java.util.List getVisibleColumns()

getChildData

public DropDownPopup.ChildData getChildData()

resetChildData

public void resetChildData()

renderRows

public void renderRows(javax.faces.context.FacesContext context,
                       DropDownFieldBase dropDownField,
                       DropDownPopup.ChildData childData,
                       java.util.Collection<javax.faces.component.UISelectItem> items)
                throws java.io.IOException
Throws:
java.io.IOException

setDropDownList

public void setDropDownList(java.util.Collection<javax.faces.component.UISelectItem> dropDownList)

encodeOpeningTags

public void encodeOpeningTags(javax.faces.context.FacesContext context)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.