com.endeca.mobile.services.cart.models
Class TableCellModel
java.lang.Object
com.endeca.mobile.services.cart.models.Model
com.endeca.mobile.services.cart.models.NamedModel
com.endeca.mobile.services.cart.models.TableCellModel
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- GiftWrapOption, ShippingOption, SummaryAmount
public class TableCellModel
- extends NamedModel
name goes on top left.
description goes below name.
value goes to the right hand side.
image goes on the left before name and description.
targetUri specifies a disclosure indicator accessory style.
selected specifies a checkmark accessory style
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getImageURL()
Image URL for a gift wrap option. |
java.lang.String |
getTargetUri()
|
java.lang.String |
getValue()
The value (right hand side). |
boolean |
isSelected()
Whether or not this option is the selected option
on the cart item. |
void |
setImageURL(java.lang.String imageURL)
|
void |
setSelected(boolean selected)
|
void |
setTargetUri(java.lang.String targetUri)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCellModel
public TableCellModel()
getValue
public java.lang.String getValue()
- The value (right hand side).
setValue
public void setValue(java.lang.String value)
isSelected
public boolean isSelected()
- Whether or not this option is the selected option
on the cart item.
setSelected
public void setSelected(boolean selected)
getImageURL
public java.lang.String getImageURL()
- Image URL for a gift wrap option.
setImageURL
public void setImageURL(java.lang.String imageURL)
getTargetUri
public java.lang.String getTargetUri()
setTargetUri
public void setTargetUri(java.lang.String targetUri)