public static class AbstractSelectToolbarActionChip.Entry extends Object implements Serializable
| Constructor and Description |
|---|
Entry(String displayName,
String displayValue,
Object value)
Creates a new Entry object with the given display name and displayValue.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Returns true if the given Object is of type Entry and if the displayValue of the given Entry equals the
displayValue of this Entry object.
|
boolean |
equalsDisplayValue(Object obj) |
boolean |
equalsValue(Object obj) |
String |
getDisplayName()
Get the String acting as display name for this entry.
|
String |
getDisplayValue()
Get the String acting as displayValue for this entry.
|
String |
getStyle() |
Object |
getValue() |
void |
setDisplayName(String displayName)
Sets the display name of this entry.
|
void |
setDisplayValue(String displayValue)
Sets the displayValue of this entry.
|
void |
setStyle(String style) |
void |
setValue(Object value)
Sets the value object of this entry.
|
String |
toString()
Overrides toString() to provide a human readable form of this entry containing of a displayname/displayValue
pair (only useful for debugging).
|
public Entry(String displayName, String displayValue, Object value)
displayName - a String to be used for displaying this entry in a (web) frontenddisplayValue - a String representing the displayValue of this entrypublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - public String getDisplayValue()
public void setDisplayValue(String displayValue)
displayValue - public Object getValue()
public void setValue(Object value)
public boolean equals(Object obj)
public boolean equalsValue(Object obj)
obj - the value object which should be compared to this entry's valuepublic boolean equalsDisplayValue(Object obj)
obj - the displayValue object which should be compared to this entry's displayValuepublic String toString()
public String getStyle()
public void setStyle(String style)
Copyright © 2017 SAP SE. All Rights Reserved.