|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface has to be implemented if the user wants to provide the RTA UI impl for the conf-file, and the user has to provide implementation for the methods in this interface, based on the need. The implementation class will be the RTA UI data, which will be populated in the UI.
| Method Summary | |
java.lang.Object |
clone()
should return the clone of the node's RTAData implementation. |
boolean |
equals(java.lang.Object obj)
Should compare the old value of the RTAData impl object for the selected leaf node and the one which is returned after deselecting that leaf node. |
java.lang.String |
getKey()
This will be shown in the ProbePanel component as a leaf node. |
void |
setKey(java.lang.String key)
The "key" value will be shown in the ProbePanel component as a leaf node. |
void |
validate()
Here the implementation has to be provided to validate the UI inputs for this leaf node. |
| Method Detail |
public java.lang.String getKey()
public void setKey(java.lang.String key)
key - name of the node in the tree.public java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Modified RTADatapublic void validate()
RTAException as follows.
RTAException exception = new RTAException("Title"," EXCEPTION MESSAGE...");//No Internationalization
// Some ui value
String name = this.getKey();
if(name.equals("")) //No Internationalization
{
message = " Name can not be empty. Please enter some value... ";//No Internationalization
exception.addDetails(message);
}
if(exception.hasDetails())
{
throw exception;
}
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||