| com.sun.rave.web.ui.model.Option
All known Subclasses: com.sun.rave.web.ui.model.Separator, com.sun.rave.web.ui.model.OptionTitle, com.sun.rave.web.ui.model.scheduler.RepeatUnitOption, com.sun.rave.web.ui.model.scheduler.RepeatIntervalOption, com.sun.rave.web.ui.model.OptionGroup,
Option | public class Option extends SelectItem (Code) | | Model bean that represents a selectable choice in a selection
component such as Menu , RadioButtonGroup ,
etc.
|
Method Summary | |
public String | getImage() Get the image resource path. | public String | getImageAlt() Get the alternate text for the image. | public int | getImageHeight() Get the image height. | public int | getImageWidth() Get the image width. | public String | getTooltip() Get the tooltip for this instance. | public void | setImage(String image) Set an image resource path
Used for an image in a radio button for example. | public void | setImageAlt(String imageAlt) Set the alternate text for the image. | public void | setImageHeight(int imageHeight) Set an image resource path
Used for an image in a radio button for example. | public void | setImageWidth(int imageWidth) Set an image resource path
Used for an image in a radio button for example. | public void | setTooltip(String tooltip) Set the tooltip for this instance. |
Option | public Option()(Code) | | Create an instance of Selection.
|
Option | public Option(Object value)(Code) | | Create an instance of Selection.
|
Option | public Option(Object value, String label, String description, boolean disabled)(Code) | | Create an instance of Selection.
|
getImage | public String getImage()(Code) | | Get the image resource path.
|
getImageAlt | public String getImageAlt()(Code) | | Get the alternate text for the image.
|
getImageHeight | public int getImageHeight()(Code) | | Get the image height.
|
getImageWidth | public int getImageWidth()(Code) | | Get the image width.
|
getTooltip | public String getTooltip()(Code) | | Get the tooltip for this instance.
|
setImage | public void setImage(String image)(Code) | | Set an image resource path
Used for an image in a radio button for example.
|
setImageAlt | public void setImageAlt(String imageAlt)(Code) | | Set the alternate text for the image.
|
setImageHeight | public void setImageHeight(int imageHeight)(Code) | | Set an image resource path
Used for an image in a radio button for example.
|
setImageWidth | public void setImageWidth(int imageWidth)(Code) | | Set an image resource path
Used for an image in a radio button for example.
|
setTooltip | public void setTooltip(String tooltip)(Code) | | Set the tooltip for this instance.
|
|
|