net.sf.jasperreports.jsf.component.html
Class HtmlReport

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 net.sf.jasperreports.jsf.component.html.HtmlReport
All Implemented Interfaces:
StateHolder, UIReport

public class HtmlReport
extends HtmlPanelGroup
implements UIReport

The Class HtmlReport.


Field Summary
static String COMPONENT_TYPE
          The Constant COMPONENT_TYPE.
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface net.sf.jasperreports.jsf.component.UIReport
COMPONENT_FAMILY
 
Constructor Summary
HtmlReport()
          Instantiates a new html report.
 
Method Summary
 void encodeContent(FacesContext context)
           
 void encodeHeaders(FacesContext context)
           
 String getDataSource()
          Gets the data source.
 String getFamily()
           
 String getFormat()
          Gets the format.
 boolean getFrameborder()
          Gets the frameborder.
 String getHeight()
          Gets the height.
 String getMarginheight()
          Gets the marginheight.
 String getMarginwidth()
          Gets the marginwidth.
 String getName()
           
 String getPath()
          Gets the path.
 String getSubreportDir()
          Gets the subreport dir.
 String getWidth()
          Gets the width.
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setDataSource(String dataSource)
          Sets the data source.
 void setFormat(String type)
          Sets the format.
 void setFrameborder(boolean frameborder)
          Sets the frameborder.
 void setHeight(String height)
          Sets the height.
 void setMarginheight(String marginheight)
          Sets the marginheight.
 void setMarginwidth(String marginwidth)
          Sets the marginwidth.
 void setName(String name)
           
 void setPath(String path)
          Sets the path.
 void setSubreportDir(String subreportDir)
          Sets the subreport dir.
 void setWidth(String width)
          Sets the width.
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getLayout, getStyle, getStyleClass, setLayout, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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 javax.faces.component.StateHolder
isTransient, setTransient
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
The Constant COMPONENT_TYPE.

See Also:
Constant Field Values
Constructor Detail

HtmlReport

public HtmlReport()
Instantiates a new html report.

Method Detail

getDataSource

public String getDataSource()
Description copied from interface: UIReport
Gets the data source.

Specified by:
getDataSource in interface UIReport
Returns:
the data source

setDataSource

public void setDataSource(String dataSource)
Description copied from interface: UIReport
Sets the data source.

Specified by:
setDataSource in interface UIReport
Parameters:
dataSource - the new data source

getName

public String getName()
Specified by:
getName in interface UIReport

setName

public void setName(String name)
Specified by:
setName in interface UIReport

getPath

public String getPath()
Description copied from interface: UIReport
Gets the path.

Specified by:
getPath in interface UIReport
Returns:
the path

setPath

public void setPath(String path)
Description copied from interface: UIReport
Sets the path.

Specified by:
setPath in interface UIReport
Parameters:
path - the new path

getSubreportDir

public String getSubreportDir()
Description copied from interface: UIReport
Gets the subreport dir.

Specified by:
getSubreportDir in interface UIReport
Returns:
the subreport dir

setSubreportDir

public void setSubreportDir(String subreportDir)
Description copied from interface: UIReport
Sets the subreport dir.

Specified by:
setSubreportDir in interface UIReport
Parameters:
subreportDir - the new subreport dir

getFormat

public String getFormat()
Description copied from interface: UIReport
Gets the format.

Specified by:
getFormat in interface UIReport
Returns:
the format

setFormat

public void setFormat(String type)
Description copied from interface: UIReport
Sets the format.

Specified by:
setFormat in interface UIReport
Parameters:
type - the new format

getFrameborder

public boolean getFrameborder()
Gets the frameborder.

Returns:
the frameborder

setFrameborder

public void setFrameborder(boolean frameborder)
Sets the frameborder.

Parameters:
frameborder - the new frameborder

getMarginheight

public String getMarginheight()
Gets the marginheight.

Returns:
the marginheight

setMarginheight

public void setMarginheight(String marginheight)
Sets the marginheight.

Parameters:
marginheight - the new marginheight

getMarginwidth

public String getMarginwidth()
Gets the marginwidth.

Returns:
the marginwidth

setMarginwidth

public void setMarginwidth(String marginwidth)
Sets the marginwidth.

Parameters:
marginwidth - the new marginwidth

getHeight

public String getHeight()
Gets the height.

Returns:
the height

setHeight

public void setHeight(String height)
Sets the height.

Parameters:
height - the new height

getWidth

public String getWidth()
Gets the width.

Returns:
the width

setWidth

public void setWidth(String width)
Sets the width.

Parameters:
width - the new width

getFamily

public String getFamily()
Overrides:
getFamily in class UIPanel

encodeContent

public void encodeContent(FacesContext context)
                   throws IOException
Specified by:
encodeContent in interface UIReport
Throws:
IOException

encodeHeaders

public void encodeHeaders(FacesContext context)
                   throws IOException
Specified by:
encodeHeaders in interface UIReport
Throws:
IOException

restoreState

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

saveState

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


Copyright © 2009 SourceForge.net. All Rights Reserved.