|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A class that implements this interface manages a text shown on a diagram. This means it is able to generate text that represents one or more UML objects. And when the user has edited this text, the model may be adapted by parsing the text. Additionally, a help text for the parsing is provided, so that the user knows the syntax.
| Method Summary | |
String |
getParsingHelp()
|
Object |
getValue(String key)
Gets the Object associated with the specified key. |
boolean |
isValue(String key)
Gets the boolean associated with the specified key. |
String |
parse(String text)
|
void |
putValue(String key,
boolean newValue)
Sets the Value associated with the specified key. |
void |
putValue(String key,
Object newValue)
Sets the Value associated with the specified key. |
String |
toString()
|
| Method Detail |
public String parse(String text)
text - the text given by the user to be parsed to adapt the model
public String toString()
public String getParsingHelp()
public void putValue(String key,
Object newValue)
Value associated with the specified key.
key - the String that identifies the stored objectnewValue - the Object to store using this key
public void putValue(String key,
boolean newValue)
Value associated with the specified key.
key - the String that identifies the stored objectnewValue - the Object to store using this keypublic Object getValue(String key)
Object associated with the specified key.
key - a string containing the specified key
Object stored with this key; if this
key is not present, it will return nullpublic boolean isValue(String key)
boolean associated with the specified key.
key - a string containing the specified key
boolean stored with this key; if this
key is not present, it will return false
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |