public interface

BoxData

com.google.gdata.data.geo.BoxData
Known Indirect Subclasses

Class Overview

Data interface for all geo-tagged extension points that represent a bounding box around a geographical area. This allows various feeds and entries to easily include a Box extension without dealing with the underlying Box implementation.

Summary

Public Methods
abstract void clearGeoBoundingBox()
Clears the bounding box and removes the extension point.
abstract Box getGeoBoundingBox()
Gets the bounding box of this entity.
abstract void setGeoBoundingBox(Box boundingBox)
Sets the bounding box for this entity based on a Box extension.
abstract void setGeoBoundingBox(Point lowerLeft, Point upperRight)
Sets the bounding box based on two Point objects.

Public Methods

public abstract void clearGeoBoundingBox ()

Clears the bounding box and removes the extension point.

public abstract Box getGeoBoundingBox ()

Gets the bounding box of this entity.

Returns
  • a Box that contains the boundary for the content of this entity.

public abstract void setGeoBoundingBox (Box boundingBox)

Sets the bounding box for this entity based on a Box extension. If there is an existing Box on this object, the new box will have its points copied into the existing box rather than using the passed-in box.

Parameters
boundingBox The box that bounds this entity.

public abstract void setGeoBoundingBox (Point lowerLeft, Point upperRight)

Sets the bounding box based on two Point objects. If there is an existing Box on this object, the new points will be copied into the existing box rather than creating a new box.

Parameters
lowerLeft The lower left coordinate of the box.
upperRight The upper right coordinate of the box.