|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.wst.common.environment.Choice
This class is used by the IStatusHandler interface. It allows code that is reporting status to specify choices to the user which this reporting code can react to.
| Constructor Summary | |
|---|---|
Choice()
Constructor for Choice. |
|
Choice(char shortcut,
java.lang.String label)
Constructor for Choice. |
|
Choice(char shortcut,
java.lang.String label,
java.lang.String description)
Constructor for Choice. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getLabel()
Gets the label. |
char |
getShortcut()
Gets the shortcut. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setShortcut(char shortcut)
Sets the shortcut. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Choice()
public Choice(char shortcut,
java.lang.String label)
shortcut - the single letter shortcut for this choice.label - the label to be displayed to the user for this choice.
public Choice(char shortcut,
java.lang.String label,
java.lang.String description)
shortcut - the single letter shortcut for this choice.label - the label to be displayed to the user for this choice.description - the description for this choice.| Method Detail |
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The label to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description to setpublic char getShortcut()
public void setShortcut(char shortcut)
shortcut - The shortcut to set
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||