org.apache.myfaces.tobago.internal.component
Class AbstractUIPopup

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIPanelBase
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUIPopup
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder, DeprecatedDimension, OnComponentCreated, OnComponentPopulated, Position, Configurable, LayoutBase, LayoutBox, LayoutContainer
Direct Known Subclasses:
UIPopup

public abstract class AbstractUIPopup
extends AbstractUIPanelBase
implements OnComponentCreated, OnComponentPopulated, javax.faces.component.NamingContainer, DeprecatedDimension, Position, LayoutContainer


Field Summary
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentCreated
MARKER
 
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentPopulated
MARKER
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
AbstractUIPopup()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext context)
           
 List<LayoutComponent> getComponents()
           
abstract  Measure getHeight()
           
 LayoutManager getLayoutManager()
           
abstract  Measure getLeft()
           
abstract  Measure getTop()
           
abstract  Measure getWidth()
           
 boolean isLayoutChildren()
          Should the children of the this component be laid out from the given layout manager.
 boolean isRendered()
           
 void onComponentCreated(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent parent)
           
 void onComponentPopulated(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent parent)
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void processValidators(javax.faces.context.FacesContext context)
           
 void restoreState(javax.faces.context.FacesContext context, Object savedState)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setActivated(boolean activated)
           
abstract  void setHeight(Measure height)
           
 void setLayoutManager(LayoutManager layoutManager)
           
abstract  void setLeft(Measure left)
           
abstract  void setTop(Measure top)
           
abstract  void setWidth(Measure width)
           
abstract  void setZIndex(Integer zIndex)
           
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutContainer
isOverflowX, isOverflowY, setOverflowX, setOverflowY
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBox
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBase
getCurrentHeight, getCurrentWidth, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, setCurrentHeight, setCurrentWidth, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getCurrentMarkup, getRendererType
 

Constructor Detail

AbstractUIPopup

public AbstractUIPopup()
Method Detail

onComponentCreated

public void onComponentCreated(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UIComponent parent)
Specified by:
onComponentCreated in interface OnComponentCreated

onComponentPopulated

public void onComponentPopulated(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent parent)
Specified by:
onComponentPopulated in interface OnComponentPopulated

getComponents

public List<LayoutComponent> getComponents()
Specified by:
getComponents in interface LayoutContainer

setActivated

public void setActivated(boolean activated)

processDecodes

public void processDecodes(javax.faces.context.FacesContext facesContext)
Overrides:
processDecodes in class javax.faces.component.UIComponentBase

isRendered

public boolean isRendered()
Overrides:
isRendered in class javax.faces.component.UIComponentBase

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Overrides:
processValidators in class javax.faces.component.UIComponentBase

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class javax.faces.component.UIComponentBase

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object savedState)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
IOException

getLayoutManager

public LayoutManager getLayoutManager()
Specified by:
getLayoutManager in interface LayoutContainer

setLayoutManager

public void setLayoutManager(LayoutManager layoutManager)
Specified by:
setLayoutManager in interface LayoutContainer

isLayoutChildren

public boolean isLayoutChildren()
Description copied from interface: LayoutContainer
Should the children of the this component be laid out from the given layout manager.

Specified by:
isLayoutChildren in interface LayoutContainer

getWidth

public abstract Measure getWidth()
Specified by:
getWidth in interface DeprecatedDimension
Specified by:
getWidth in interface LayoutBase

setWidth

public abstract void setWidth(Measure width)
Specified by:
setWidth in interface DeprecatedDimension
Specified by:
setWidth in interface LayoutBase

getHeight

public abstract Measure getHeight()
Specified by:
getHeight in interface DeprecatedDimension
Specified by:
getHeight in interface LayoutBase

setHeight

public abstract void setHeight(Measure height)
Specified by:
setHeight in interface DeprecatedDimension
Specified by:
setHeight in interface LayoutBase

getTop

public abstract Measure getTop()
Specified by:
getTop in interface Position
Specified by:
getTop in interface LayoutBase

setTop

public abstract void setTop(Measure top)
Specified by:
setTop in interface Position
Specified by:
setTop in interface LayoutBase

getLeft

public abstract Measure getLeft()
Specified by:
getLeft in interface Position
Specified by:
getLeft in interface LayoutBase

setLeft

public abstract void setLeft(Measure left)
Specified by:
setLeft in interface Position
Specified by:
setLeft in interface LayoutBase

setZIndex

public abstract void setZIndex(Integer zIndex)


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.