Revision 1840
| sqs-reader/src/main/java/net/sqs2/omr/master/FormMaster.java (revision 1840) | ||
|---|---|---|
| 86 | 86 |
return this.formAreaListByQID.get(qid); |
| 87 | 87 |
} |
| 88 | 88 |
|
| 89 |
public ArrayList<FormArea> getFormAreaList(int columnIndex) {
|
|
| 90 |
return this.formAreaListByQID.get(this.qidList.get(columnIndex)); |
|
| 89 |
public ArrayList<FormArea> getFormAreaList(int questionIndex) {
|
|
| 90 |
return this.formAreaListByQID.get(this.qidList.get(questionIndex)); |
|
| 91 | 91 |
} |
| 92 | 92 |
|
| 93 | 93 |
public Set<String> getQIDSet() {
|
| sqs-reader/src/main/java/net/sqs2/omr/master/FormArea.java (revision 1840) | ||
|---|---|---|
| 46 | 46 |
String hint = null; |
| 47 | 47 |
String[] hints = null; |
| 48 | 48 |
|
| 49 |
int columnIndex = -1; |
|
| 49 |
int questionIndex = -1; |
|
| 50 | 50 |
int areaIndexInPage = -1; |
| 51 | 51 |
String id = null; |
| 52 | 52 |
Rectangle rect = null; |
| ... | ... | |
| 116 | 116 |
return this.type; |
| 117 | 117 |
} |
| 118 | 118 |
|
| 119 |
public int getColumnIndex() {
|
|
| 120 |
return this.columnIndex; |
|
| 119 |
public int getQuestionIndex() {
|
|
| 120 |
return this.questionIndex; |
|
| 121 | 121 |
} |
| 122 | 122 |
|
| 123 | 123 |
public int getAreaIndexInPage() {
|
| ... | ... | |
| 213 | 213 |
return getID() + ':' + hint; |
| 214 | 214 |
} |
| 215 | 215 |
|
| 216 |
public void setIndex(int columnIndex, int itemIndex, int areaIndexInPage) {
|
|
| 217 |
this.columnIndex = columnIndex; |
|
| 216 |
public void setIndex(int questionIndex, int itemIndex, int areaIndexInPage) {
|
|
| 217 |
this.questionIndex = questionIndex; |
|
| 218 | 218 |
this.itemIndex = itemIndex; |
| 219 | 219 |
this.areaIndexInPage = areaIndexInPage; |
| 220 | 220 |
} |
Also available in: Unified diff

SourceEditor2.0(2010/08/18)
