| java.lang.Object | |
| ↳ | com.google.api.gbase.client.Thumbnail |
Class representing parsed information for one thumbnail: the size (in pixels)
and the Url for accessing the image. This class is mutable through its
setUrl(String) and setSize(int, int) methods.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| height | Thumbnail height, expressed in pixels. | ||||||||||
| url | Url pointing to the thumbnail. | ||||||||||
| width | Thumbnail width, expressed in pixels. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the image height (pixels).
| |||||||||||
Returns the Url pointing to the thumbnail image.
| |||||||||||
Returns the image width (pixels).
| |||||||||||
Returns
true if the size was explicitly set, false
otherwise. | |||||||||||
Sets the thumbnail size.
| |||||||||||
Sets the Url that should point to the thumbnail image.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Thumbnail height, expressed in pixels. Null if not set.
Url pointing to the thumbnail.
Thumbnail width, expressed in pixels. Null if not set.
| obj |
|---|
Returns the image height (pixels). Use isSizeSpecified() to check
if this object contains valid size information.
| IllegalStateException | if the thumbnail size information is not set |
|---|
Returns the Url pointing to the thumbnail image.
Returns the image width (pixels). Use isSizeSpecified() to check
if this object contains valid size information.
| IllegalStateException | if the thumbnail size information is not set |
|---|
Returns true if the size was explicitly set, false
otherwise.
Sets the thumbnail size.
| width | The width of the thumbnail, expressed in pixels |
|---|---|
| height | The height of the thumbnail, expressed in pixels |
Sets the Url that should point to the thumbnail image.
| url |
|---|