|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.princeton.toy.TProgramDocument.WarningInfoStruct
WarningInfoStruct is a simple class which encapsulates all of the info that getWarnings() has to return.
| Field Summary | |
boolean |
hasFatalError
|
int[] |
selectionEnd
|
int[] |
selectionStart
|
int |
warningCount
|
String[] |
warnings
|
| Constructor Summary | |
TProgramDocument.WarningInfoStruct()
Creates a new WarningInfoStruct. |
|
| Method Summary | |
boolean |
equals(Object object)
Returns wheter or not this WarningInfoStruct conveys the same information as another. |
boolean |
selectionsEqual(TProgramDocument.WarningInfoStruct warningInfo)
Returns wheter or not this WarningInfoStruct conveys the same information as another (except possibly warnings). |
boolean |
warningsEqual(TProgramDocument.WarningInfoStruct warningInfo)
Returns wheter or not this WarningInfoStruct conveys the same information as another (except possibly selectionStart and selectionEnd). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean hasFatalError
public int warningCount
public final String[] warnings
public final int[] selectionStart
public final int[] selectionEnd
| Constructor Detail |
public TProgramDocument.WarningInfoStruct()
| Method Detail |
public boolean equals(Object object)
equals in class Objectobject - The other object to compare this WarningInfoStruct to.
public boolean selectionsEqual(TProgramDocument.WarningInfoStruct warningInfo)
warningInfo - The other WarningInfoStruct to compare this WarningInfoStruct to.
public boolean warningsEqual(TProgramDocument.WarningInfoStruct warningInfo)
warningInfo - The other WarningInfoStruct to compare this WarningInfoStruct to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||