(String searchedName)
| 167 | } |
| 168 | |
| 169 | public ConvertOption getConvertOption(String searchedName) { |
| 170 | Object[] optionsArray = this.options.toArray(); |
| 171 | int length = optionsArray.length; |
| 172 | |
| 173 | for (int i = 0; i < length; i++) { |
| 174 | if (((ConvertOption) optionsArray[i]).getName() |
| 175 | .equals(searchedName)) { |
| 176 | return (ConvertOption) optionsArray[i]; |
| 177 | } |
| 178 | } |
| 179 | Loggger.log("Cannot find a convertOption named " + searchedName); |
| 180 | return null; |
| 181 | } |
| 182 | |
| 183 | public void setWindowPosX(String windowPosX) { |
| 184 | if (!windowPosX.equals("")) { |
no test coverage detected