xbneditor
Class GraphErrorDialog
java.lang.Object
|
+--xbneditor.GraphErrorDialog
- public class GraphErrorDialog
- extends java.lang.Object
This is the class that displays a dialog which tells the user how many
addition, deletion, and reversal errors have been found in the graph
compared to the GoldStandard graph.
|
Constructor Summary |
GraphErrorDialog(javax.swing.JFrame frame,
boolean modal)
Creates a new graph, with a specifed parent frame. |
|
Method Summary |
void |
setAddition(java.lang.String errors)
Sets the string that would represent the number of addition
erros that this graph contains. |
void |
setDeletion(java.lang.String errors)
Sets the string that would represent the number of deletion
errors that this graph contains. |
void |
setReversal(java.lang.String errors)
Sets the string that would represent the number of reversal
errors that this graph contains. |
void |
show()
Makes the dialog visible. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphErrorDialog
public GraphErrorDialog(javax.swing.JFrame frame,
boolean modal)
- Creates a new graph, with a specifed parent frame.
- Parameters:
frame - the parent fram that is displaying this dialogmodal - a boolean stating whether the dialog is modal or not
setAddition
public void setAddition(java.lang.String errors)
- Sets the string that would represent the number of addition
erros that this graph contains.
- Parameters:
errors - the string stating the number of addition errors
that this graph had.
setDeletion
public void setDeletion(java.lang.String errors)
- Sets the string that would represent the number of deletion
errors that this graph contains.
- Parameters:
errors - the string stating the number of deletion errors
that this graph had.
setReversal
public void setReversal(java.lang.String errors)
- Sets the string that would represent the number of reversal
errors that this graph contains.
- Parameters:
errors - the string stating the number of reversal errors
that this graph had.
show
public void show()
- Makes the dialog visible.