|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.infront.cartridge.model.GeoFilterBreadcrumb
public class GeoFilterBreadcrumb
GeoFilterBreadcrumb is the model for a view of a geo range filter
a.k.a., a breadcrumb. Use getLatitude()
, getLongitude()
and getRadiusMiles()
or getRadiusKM()
to generate a custom label.
Constructor Summary | |
---|---|
GeoFilterBreadcrumb()
|
Method Summary | |
---|---|
String |
getLabel()
|
double |
getLatitude()
|
String |
getLocation()
The cached result of a reverse geocode lookup, for instance '101 Main Street, Cambridge MA'. |
double |
getLongitude()
|
String |
getName()
|
String |
getPropertyName()
|
double |
getRadiusKM()
|
double |
getRadiusMiles()
|
NavigationAction |
getRemoveAction()
Returns a navigation action with the necessary information to remove this breadcrumb. |
void |
setLabel(String label)
Sets the label that describes this breadcrumb. |
void |
setLatitude(double latitude)
Sets the latitude coordinate of this GeoFilterBreadcrumb . |
void |
setLocation(String location)
Sets the result of a reverse geocode lookup. |
void |
setLongitude(double longitude)
Sets the longitude coordinate of this GeoFilterBreadcrumb . |
void |
setName(String name)
Sets the localized string for the property. |
void |
setPropertyName(String propertyName)
Sets the property name for this breadcrumb. |
void |
setRadiusKM(double radiusKM)
Sets the geo filter radius. |
void |
setRadiusMiles(double radiusMiles)
Sets the geo filter radius. |
void |
setRemoveAction(NavigationAction removeAction)
Sets the remove action of this GeoFilterBreadcrumb . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoFilterBreadcrumb()
Method Detail |
---|
public NavigationAction getRemoveAction()
getRemoveAction
in interface Breadcrumb
NavigationAction
that will remove this Breadcrumb
.public void setRemoveAction(NavigationAction removeAction)
GeoFilterBreadcrumb
.
removeAction
- the action that will remove this GeoFilterBreadcrumb
public double getLatitude()
public void setLatitude(double latitude)
GeoFilterBreadcrumb
.
latitude
- the latitude coordinate in decimal degree notationpublic double getLongitude()
public void setLongitude(double longitude)
GeoFilterBreadcrumb
.
longitude
- the longitude coordinate in decimal degree notationpublic double getRadiusMiles()
public void setRadiusMiles(double radiusMiles)
radiusMiles
- sets the geo filter radius in milespublic double getRadiusKM()
public void setRadiusKM(double radiusKM)
radiusKM
- sets the geo filter radius in kilometerspublic String getLocation()
public void setLocation(String location)
location
- the location of the coordinatespublic String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- the property namepublic String getLabel()
public void setLabel(String label)
label
- a user friendly labelpublic String getName()
public void setName(String name)
name
- a localized string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |