|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.faces.event.ContinuousPanPhaseListener
public class ContinuousPanPhaseListener
Phase listener to handle ajax requests to handle following map operations:
Required parameters :
doContinuousPan=doContinuousPan
: Identifier for phase listener to process request
formId=[value]
: Id of form within which map is rendered
tocId=[value]
: Id of map
Optional parameters :
resizeMap=resizeMap
: Resize map control
width=[value]
: New width
height=[value]
: New height
JavaScript functions :
Request sender : adf.Map.resize()
Response handling : EsriControls.processPostBack()
Optional parameters :
At 9.3.1, the following map extent request parameters should be used instead of using the
centerx/centery
values.
getImage=getImage
: Retrieve continuous pan images
xmin=[value]
: minimum x value for the requested map image (in map coordinates)
ymax=[value]
: maximum y value for the requested map image (in map coordinates)
xmax=[value]
: maximum x value for the requested map image (in map coordinates)
ymin=[value]
: minimum y value for the requested map image (in map coordinates)
index=[value]
: Index of resource in map
JavaScript functions :
Request sender : adf.MapSourceDynamic.addImage()
Response handling : adf.MapSourceDynamic.process_getImageResponse()
Optional parameters :
At 9.3.1, the following getImage request parameters should no longer be used. Instead, use map extent values (see
above). getImage=getImage
: Retrieve continuous pan images
centerx=[value]
: X offset of image tile from original center (in screen coordinates)
centery=[value]
: Y offset of image tile from original center (in screen coordinates)
index=[value]
: Index of resource in map
JavaScript functions :
Request sender : adf.MapSourceDynamic.addImage()
Response handling : adf.MapSourceDynamic.process_getImageResponse()
Optional parameters :
centerAt=centerAt
: Set map's center and update context
centerx=[value]
: X offset of image tile from previous center (in screen coordinates)
centery=[value]
: Y offset of image tile from previous center (in screen coordinates)
JavaScript functions :
Request sender : adf.Map.centerAt()
Response handling : adf.Map.process_centerAtResponse()
Optional parameters :
changeLevel=changeLevel
: Update map's zoom level and update context
level=[value]
: New zoom level
source=[value]
: Resource type (dynamic/tile)
JavaScript functions :
Request sender : adf.Map.changeLevel()
Response handling : EsriControls.processPostBack()
Field Summary | |
---|---|
static String |
MIME_ID_PREFIX
The unique MIME id prefix. |
static String |
REQUEST_PARAM
|
Constructor Summary | |
---|---|
ContinuousPanPhaseListener()
|
Method Summary | |
---|---|
void |
afterPhase(javax.faces.event.PhaseEvent phaseEvent)
|
void |
beforePhase(javax.faces.event.PhaseEvent phaseEvent)
|
javax.faces.event.PhaseId |
getPhaseId()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REQUEST_PARAM
public static final String MIME_ID_PREFIX
Constructor Detail |
---|
public ContinuousPanPhaseListener()
Method Detail |
---|
public javax.faces.event.PhaseId getPhaseId()
getPhaseId
in interface javax.faces.event.PhaseListener
public void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
beforePhase
in interface javax.faces.event.PhaseListener
public void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
afterPhase
in interface javax.faces.event.PhaseListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |