|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.extension.component.PictureScrollField.ScrollEntry
public static class PictureScrollField.ScrollEntry
An entry in the PictureScrollField
. Allows an optional label and callout
to be added to the image that will be displayed. Label text is
displayed under the selected image. Callout text appears temporarily
on top of the image upon selection.
Constructor Summary | ||
---|---|---|
PictureScrollField.ScrollEntry()
Default constructor. |
||
PictureScrollField.ScrollEntry(Bitmap picture,
String label,
String callout)
Creates an entry in the PictureScrollField . |
Method Summary | ||
---|---|---|
String |
getCallout()
Retrieves the callout text for this entry. |
|
String |
getLabel()
Retrieves the label for this entry. |
|
Bitmap |
getPicture()
Retrieves the picture for this ScrollEntry . |
|
void |
setCallout(String callout)
Sets the callout text for this entry. |
|
void |
setLabel(String label)
Sets the label for this entry. |
|
void |
setPicture(Bitmap picture)
Sets the picture for this ScrollEntry . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PictureScrollField.ScrollEntry()
public PictureScrollField.ScrollEntry(Bitmap picture, String label, String callout)
PictureScrollField
.
picture
- The picture to display.label
- The label for this picture.callout
- The optional callout for this picture. Specify null
if you do not want a callout.Method Detail |
---|
public Bitmap getPicture()
ScrollEntry
.
public void setPicture(Bitmap picture)
ScrollEntry
.
picture
- The picture to display.public String getLabel()
public void setLabel(String label)
label
- The label text.public String getCallout()
public void setCallout(String callout)
callout
- The callout text.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal