org.apache.myfaces.component.html.ext
Class AbstractHtmlPanelGroup

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by javax.faces.component.html.HtmlPanelGroup
                  extended by org.apache.myfaces.component.html.ext.AbstractHtmlPanelGroup
All Implemented Interfaces:
javax.faces.component.StateHolder, DisplayValueOnlyAware, EventAware, ForceIdAware, UniversalProperties, UserRoleAware, org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
Direct Known Subclasses:
org.apache.myfaces.component.html.ext.HtmlPanelGroup

public abstract class AbstractHtmlPanelGroup
extends javax.faces.component.html.HtmlPanelGroup
implements UserRoleAware, org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable, DisplayValueOnlyAware, ForceIdAware, EventAware, UniversalProperties

Extends standard panelGroup with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
static String BLOCK_LAYOUT
           
static String COMPONENT_TYPE
           
static int DEFAULT_COLSPAN
           
static String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR
 
Constructor Summary
AbstractHtmlPanelGroup()
           
 
Method Summary
 String getClientId(javax.faces.context.FacesContext context)
           
abstract  int getColspan()
          standard html colspan attribute for table cell
abstract  String getLayout()
          Determines the type of layout that is used when rendering a panelGroup: when 'block' is specified, an HTML div is rendered instead of the default HTML span.
 boolean isDisplayValueOnly()
           
 boolean isRendered()
           
 boolean isSetDisplayValueOnly()
           
 void setDisplayValueOnly(boolean displayValueOnly)
           
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, restoreState, saveState, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
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.component.UserRoleAware
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole
 
Methods inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass
 
Methods inherited from interface org.apache.myfaces.component.DisplayValueOnlyAware
getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass
 
Methods inherited from interface org.apache.myfaces.component.ForceIdAware
isForceId, isForceIdIndex, setForceId, setForceIdIndex
 
Methods inherited from interface org.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface org.apache.myfaces.component.UniversalProperties
getDir, getLang, getTitle
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values

DEFAULT_COLSPAN

public static final int DEFAULT_COLSPAN
See Also:
Constant Field Values

BLOCK_LAYOUT

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

AbstractHtmlPanelGroup

public AbstractHtmlPanelGroup()
Method Detail

getClientId

public String getClientId(javax.faces.context.FacesContext context)
Overrides:
getClientId in class javax.faces.component.UIComponentBase

isRendered

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

isSetDisplayValueOnly

public boolean isSetDisplayValueOnly()
Specified by:
isSetDisplayValueOnly in interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable

isDisplayValueOnly

public boolean isDisplayValueOnly()
Specified by:
isDisplayValueOnly in interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable

setDisplayValueOnly

public void setDisplayValueOnly(boolean displayValueOnly)
Specified by:
setDisplayValueOnly in interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable

getLayout

public abstract String getLayout()
Determines the type of layout that is used when rendering a panelGroup: when 'block' is specified, an HTML div is rendered instead of the default HTML span.


getColspan

public abstract int getColspan()
standard html colspan attribute for table cell



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.