org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag
Class GridLayoutRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.tobago.renderkit.RendererBase
org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
org.apache.myfaces.tobago.renderkit.AbstractLayoutRenderer
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer
- All Implemented Interfaces:
- LayoutableRenderer, LayoutInformationProvider, LayoutRenderer
public class GridLayoutRenderer
- extends DefaultLayoutRenderer
|
Method Summary |
int |
calculateLayoutWidth(FacesContext facesContext,
UIComponent component,
boolean minimum)
|
void |
encodeChildrenOfComponent(FacesContext facesContext,
UIComponent component)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent component)
|
int |
getComponentExtraHeight(FacesContext facesContext,
UIComponent component)
|
int |
getComponentExtraWidth(FacesContext facesContext,
UIComponent component)
|
int |
getFixedHeight(FacesContext facesContext,
UIComponent component)
|
int |
getFixedWidth(FacesContext facesContext,
UIComponent component)
|
void |
layoutBegin(FacesContext facesContext,
UIComponent component)
|
void |
layoutEnd(FacesContext facesContext,
UIComponent component)
|
void |
parseFixedSpace(LayoutInfo layoutInfo,
org.apache.myfaces.tobago.component.UIGridLayout layout,
LayoutTokens layoutTokens,
boolean width,
FacesContext facesContext)
|
void |
prepareRender(FacesContext facesContext,
UIComponent component)
|
| Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase |
decode, getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getValue, onComponentCreated, prepareRendersChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridLayoutRenderer
public GridLayoutRenderer()
getFixedHeight
public int getFixedHeight(FacesContext facesContext,
UIComponent component)
- Specified by:
getFixedHeight in interface LayoutInformationProvider- Overrides:
getFixedHeight in class AbstractLayoutRenderer
getFixedWidth
public int getFixedWidth(FacesContext facesContext,
UIComponent component)
- Specified by:
getFixedWidth in interface LayoutInformationProvider- Overrides:
getFixedWidth in class LayoutableRendererBase
calculateLayoutWidth
public int calculateLayoutWidth(FacesContext facesContext,
UIComponent component,
boolean minimum)
prepareRender
public void prepareRender(FacesContext facesContext,
UIComponent component)
throws IOException
- Specified by:
prepareRender in interface LayoutableRenderer- Specified by:
prepareRender in interface LayoutRenderer- Overrides:
prepareRender in class LayoutableRendererBase
- Throws:
IOException
encodeChildrenOfComponent
public void encodeChildrenOfComponent(FacesContext facesContext,
UIComponent component)
throws IOException
- Specified by:
encodeChildrenOfComponent in interface LayoutRenderer- Overrides:
encodeChildrenOfComponent in class DefaultLayoutRenderer
- Throws:
IOException
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Specified by:
encodeEnd in interface LayoutableRenderer- Overrides:
encodeEnd in class Renderer
- Throws:
IOException
layoutEnd
public void layoutEnd(FacesContext facesContext,
UIComponent component)
- Specified by:
layoutEnd in interface LayoutableRenderer- Overrides:
layoutEnd in class LayoutableRendererBase
parseFixedSpace
public void parseFixedSpace(LayoutInfo layoutInfo,
org.apache.myfaces.tobago.component.UIGridLayout layout,
LayoutTokens layoutTokens,
boolean width,
FacesContext facesContext)
layoutBegin
public void layoutBegin(FacesContext facesContext,
UIComponent component)
- Specified by:
layoutBegin in interface LayoutableRenderer- Overrides:
layoutBegin in class LayoutableRendererBase
getComponentExtraWidth
public int getComponentExtraWidth(FacesContext facesContext,
UIComponent component)
- Specified by:
getComponentExtraWidth in interface LayoutInformationProvider- Overrides:
getComponentExtraWidth in class LayoutableRendererBase
getComponentExtraHeight
public int getComponentExtraHeight(FacesContext facesContext,
UIComponent component)
- Specified by:
getComponentExtraHeight in interface LayoutInformationProvider- Overrides:
getComponentExtraHeight in class LayoutableRendererBase
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.