public static class AbstractSelectToolbarActionChip.Entry
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Entry(java.lang.String displayName,
java.lang.String displayValue,
java.lang.Object value)
Creates a new Entry object with the given display name and displayValue.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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(java.lang.Object obj) |
boolean |
equalsValue(java.lang.Object obj) |
java.lang.String |
getDisplayName()
Get the String acting as display name for this entry.
|
java.lang.String |
getDisplayValue()
Get the String acting as displayValue for this entry.
|
java.lang.String |
getStyle() |
java.lang.Object |
getValue() |
void |
setDisplayName(java.lang.String displayName)
Sets the display name of this entry.
|
void |
setDisplayValue(java.lang.String displayValue)
Sets the displayValue of this entry.
|
void |
setStyle(java.lang.String style) |
void |
setValue(java.lang.Object value)
Sets the value object of this entry.
|
java.lang.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(java.lang.String displayName,
java.lang.String displayValue,
java.lang.Object value)
displayName - a String to be used for displaying this entry in a (web) frontenddisplayValue - a String representing the displayValue of this entrypublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - public java.lang.String getDisplayValue()
public void setDisplayValue(java.lang.String displayValue)
displayValue - public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to be compared with this Entry (or its displayValue or its value)public boolean equalsValue(java.lang.Object obj)
obj - the value object which should be compared to this entry's valuepublic boolean equalsDisplayValue(java.lang.Object obj)
obj - the displayValue object which should be compared to this entry's displayValuepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getStyle()
public void setStyle(java.lang.String style)
Copyright © 2017 SAP SE. All Rights Reserved.