public class AbstractStringKey extends Object implements StringKey
StringKey
. Extending this class you can create your own StringKeyConstructor and Description |
---|
AbstractStringKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
Returns a description of this
StringKey |
String |
getIcon()
Returns an icon that is designed for this
StringKey |
String |
getValue()
Returns the actual value
|
int |
hashCode() |
void |
setDescription(String description)
Sets the given string as a description of this
StringKey |
void |
setIcon(String icon)
Sets the string as an icon of this
StringKey |
void |
setValue(String value)
Sets the given value
|
String |
toString() |
public String getValue()
StringKey
public void setValue(String value)
StringKey
public String getDescription()
StringKey
StringKey
getDescription
in interface StringKey
StringKey
public void setDescription(String description)
StringKey
StringKey
setDescription
in interface StringKey
description
- A description to be setpublic String getIcon()
StringKey
StringKey
public void setIcon(String icon)
StringKey
StringKey
Copyright © 2017 JBoss by Red Hat. All rights reserved.