com.esri.adf.web.faces.renderkit.xml
Class OverviewRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.esri.adf.web.faces.renderkit.xml.OverviewRenderer

public class OverviewRenderer
extends javax.faces.render.Renderer

A renderer for the OverviewControl. Generates an XML representation of the control and then uses XSLT to transform it to the required markup.


Field Summary
static String MAX_X_SUFFIX
          The maxx request parameter representing the x-coordinate of the bottom right corner of a rectangle.
static String MAX_Y_SUFFIX
          The maxy request parameter representing the y-coordinate of the bottom right corner of a rectangle.
static String MIN_X_SUFFIX
          The minx request parameter representing the x-coordinate of the top left corner of a rectangle or of a point.
static String MIN_Y_SUFFIX
          The miny request parameter representing the y-coordinate of the top left corner of a rectangle or of a point.
static String MODE_RECENTER
           
static String MODE_ZOOM
           
 
Constructor Summary
OverviewRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Determines if the associated overview map has to handle this event.
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Begin the encoding of a given context.
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Encodes the children of a given context.
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Generates an XML representation of the OverviewControl and then encodes using XSLT to transform to the required markup.
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_X_SUFFIX

public static final String MIN_X_SUFFIX
The minx request parameter representing the x-coordinate of the top left corner of a rectangle or of a point.

See Also:
Constant Field Values

MIN_Y_SUFFIX

public static final String MIN_Y_SUFFIX
The miny request parameter representing the y-coordinate of the top left corner of a rectangle or of a point.

See Also:
Constant Field Values

MAX_X_SUFFIX

public static final String MAX_X_SUFFIX
The maxx request parameter representing the x-coordinate of the bottom right corner of a rectangle.

See Also:
Constant Field Values

MAX_Y_SUFFIX

public static final String MAX_Y_SUFFIX
The maxy request parameter representing the y-coordinate of the bottom right corner of a rectangle.

See Also:
Constant Field Values

MODE_ZOOM

public static final String MODE_ZOOM
See Also:
Constant Field Values

MODE_RECENTER

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

OverviewRenderer

public OverviewRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
Determines if the associated overview map has to handle this event. If yes, it calls the control's setEventArgs method.

Overrides:
decode in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent component)
Generates an XML representation of the OverviewControl and then encodes using XSLT to transform to the required markup.

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent component)
Begin the encoding of a given context. Currently, this is an empty implementation and throws an IOException.

Overrides:
encodeBegin in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext,
                           javax.faces.component.UIComponent component)
Encodes the children of a given context. Currently, this is an empty implementation and throws an IOException.

Overrides:
encodeChildren in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component