|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.ControlOptions
org.gwtopenmaps.openlayers.client.control.SelectFeatureOptions
public class SelectFeatureOptions
See SelectFeature
.
Default mode of selection is clickout, see SelectFeature
.
Field Summary |
---|
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
---|
eventListeners |
Constructor Summary | |
---|---|
SelectFeatureOptions()
|
Method Summary | |
---|---|
void |
clickFeature(SelectFeature.ClickFeatureListener listener)
Triggers when a feature is clicked TODO: Same concern that for onSelect and onUnSelect ? |
void |
onSelect(SelectFeature.SelectFeatureListener listener)
Triggers when a feature is selected. |
void |
onUnSelect(SelectFeature.UnselectFeatureListener listener)
Triggers when a feature is unselected. |
void |
setBox(boolean box)
Allows features to be selected by dragging a box. |
void |
setHighlightOnly(boolean highlightOnly)
From OpenLayers documentation: If true do not actually select features (i.e. |
void |
setHover()
Indicates that the selection of the feature should occur when the mouse hovers the feature rather then when clicked. |
void |
setMultiple()
Indicates that the user can select multiple features at the same time. |
void |
setRenderIntent(RenderIntent renderIntent)
Sets the render intent of the styles to be used when drawing the features on the selected state controled by the SelectFeature.Defaults to DEFAULT. |
void |
setToggle()
Indicates that when clicking a already selected feature again, it will be unselected. |
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
---|
getListeners, narrowToOpenLayersEObjectWrapper, removeListener |
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper |
---|
getClassName, getEvents, narrowToOpenLayersObjectWrapper |
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper |
---|
getJSObject, setJSObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectFeatureOptions()
Method Detail |
---|
public void setHover()
Note: the behavior of the selection on hover depends also of the highlightOnly property
public void setToggle()
public void setMultiple()
public void onSelect(SelectFeature.SelectFeatureListener listener)
public void onUnSelect(SelectFeature.UnselectFeatureListener listener)
public void clickFeature(SelectFeature.ClickFeatureListener listener)
public void setHighlightOnly(boolean highlightOnly)
highlightOnly
- The property valuepublic void setRenderIntent(RenderIntent renderIntent)
renderIntent
- The render intent to be usedpublic void setBox(boolean box)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |