|
| 1 | +/** |
| 2 | + * Sample Skeleton for 'MainWindow.fxml' Controller Class |
| 3 | + */ |
| 4 | + |
| 5 | +package com.commonwealthrobotics; |
| 6 | + |
| 7 | +import java.net.URL; |
| 8 | +import java.util.ResourceBundle; |
| 9 | +import javafx.event.ActionEvent; |
| 10 | +import javafx.fxml.FXML; |
| 11 | +import javafx.scene.control.Accordion; |
| 12 | +import javafx.scene.control.Button; |
| 13 | +import javafx.scene.control.ColorPicker; |
| 14 | +import javafx.scene.control.ComboBox; |
| 15 | +import javafx.scene.control.MenuButton; |
| 16 | +import javafx.scene.control.TextField; |
| 17 | +import javafx.scene.control.TitledPane; |
| 18 | +import javafx.scene.control.Tooltip; |
| 19 | +import javafx.scene.image.ImageView; |
| 20 | +import javafx.scene.input.MouseEvent; |
| 21 | +import javafx.scene.layout.AnchorPane; |
| 22 | +import javafx.scene.layout.GridPane; |
| 23 | +import javafx.scene.layout.HBox; |
| 24 | + |
| 25 | +public class MainController { |
| 26 | + |
| 27 | + @FXML // ResourceBundle that was given to the FXMLLoader |
| 28 | + private ResourceBundle resources; |
| 29 | + |
| 30 | + @FXML // URL location of the FXML file that was given to the FXMLLoader |
| 31 | + private URL location; |
| 32 | + |
| 33 | + @FXML // fx:id="buttonOverlay" |
| 34 | + private AnchorPane buttonOverlay; // Value injected by FXMLLoader |
| 35 | + |
| 36 | + @FXML // fx:id="colorPicker" |
| 37 | + private ColorPicker colorPicker; // Value injected by FXMLLoader |
| 38 | + |
| 39 | + @FXML // fx:id="control3d" |
| 40 | + private AnchorPane control3d; // Value injected by FXMLLoader |
| 41 | + |
| 42 | + @FXML // fx:id="cruseButton" |
| 43 | + private ImageView cruseButton; // Value injected by FXMLLoader |
| 44 | + |
| 45 | + @FXML // fx:id="drawerArea" |
| 46 | + private AnchorPane drawerArea; // Value injected by FXMLLoader |
| 47 | + |
| 48 | + @FXML // fx:id="drawerButton" |
| 49 | + private Button drawerButton; // Value injected by FXMLLoader |
| 50 | + |
| 51 | + @FXML // fx:id="drawerHolder" |
| 52 | + private HBox drawerHolder; // Value injected by FXMLLoader |
| 53 | + |
| 54 | + @FXML // fx:id="drawrImage" |
| 55 | + private ImageView drawrImage; // Value injected by FXMLLoader |
| 56 | + |
| 57 | + @FXML // fx:id="export" |
| 58 | + private Button export; // Value injected by FXMLLoader |
| 59 | + |
| 60 | + @FXML // fx:id="fileNameBox" |
| 61 | + private TextField fileNameBox; // Value injected by FXMLLoader |
| 62 | + |
| 63 | + @FXML // fx:id="fitViewButton" |
| 64 | + private Button fitViewButton; // Value injected by FXMLLoader |
| 65 | + |
| 66 | + @FXML // fx:id="groupButton" |
| 67 | + private Button groupButton; // Value injected by FXMLLoader |
| 68 | + |
| 69 | + @FXML // fx:id="hideSHow" |
| 70 | + private Button hideSHow; // Value injected by FXMLLoader |
| 71 | + |
| 72 | + @FXML // fx:id="holeButton" |
| 73 | + private ImageView holeButton; // Value injected by FXMLLoader |
| 74 | + |
| 75 | + @FXML // fx:id="home" |
| 76 | + private Button home; // Value injected by FXMLLoader |
| 77 | + |
| 78 | + @FXML // fx:id="homeButton" |
| 79 | + private ImageView homeButton; // Value injected by FXMLLoader |
| 80 | + |
| 81 | + @FXML // fx:id="homeViewButton" |
| 82 | + private Button homeViewButton; // Value injected by FXMLLoader |
| 83 | + |
| 84 | + @FXML // fx:id="importButton" |
| 85 | + private Button importButton; // Value injected by FXMLLoader |
| 86 | + |
| 87 | + @FXML // fx:id="lockButton" |
| 88 | + private Button lockButton; // Value injected by FXMLLoader |
| 89 | + |
| 90 | + @FXML // fx:id="lockUnlockTooltip" |
| 91 | + private Tooltip lockUnlockTooltip; // Value injected by FXMLLoader |
| 92 | + |
| 93 | + @FXML // fx:id="mirronButton" |
| 94 | + private ImageView mirronButton; // Value injected by FXMLLoader |
| 95 | + |
| 96 | + @FXML // fx:id="model" |
| 97 | + private Button model; // Value injected by FXMLLoader |
| 98 | + |
| 99 | + @FXML // fx:id="modeling" |
| 100 | + private ImageView modeling; // Value injected by FXMLLoader |
| 101 | + |
| 102 | + @FXML // fx:id="notesButton" |
| 103 | + private Button notesButton; // Value injected by FXMLLoader |
| 104 | + |
| 105 | + @FXML // fx:id="objectPallet" |
| 106 | + private GridPane objectPallet; // Value injected by FXMLLoader |
| 107 | + |
| 108 | + @FXML // fx:id="physics" |
| 109 | + private Button physics; // Value injected by FXMLLoader |
| 110 | + |
| 111 | + @FXML // fx:id="physicsButton" |
| 112 | + private ImageView physicsButton; // Value injected by FXMLLoader |
| 113 | + |
| 114 | + @FXML // fx:id="rulerButton" |
| 115 | + private Button rulerButton; // Value injected by FXMLLoader |
| 116 | + |
| 117 | + @FXML // fx:id="settingsButton" |
| 118 | + private Button settingsButton; // Value injected by FXMLLoader |
| 119 | + |
| 120 | + @FXML // fx:id="shapeCatagory" |
| 121 | + private ComboBox<?> shapeCatagory; // Value injected by FXMLLoader |
| 122 | + |
| 123 | + @FXML // fx:id="shapeConfiguration" |
| 124 | + private TitledPane shapeConfiguration; // Value injected by FXMLLoader |
| 125 | + |
| 126 | + @FXML // fx:id="shapeConfigurationBox" |
| 127 | + private Accordion shapeConfigurationBox; // Value injected by FXMLLoader |
| 128 | + |
| 129 | + @FXML // fx:id="shapeConfigurationHolder" |
| 130 | + private AnchorPane shapeConfigurationHolder; // Value injected by FXMLLoader |
| 131 | + |
| 132 | + @FXML // fx:id="showAllButton" |
| 133 | + private Button showAllButton; // Value injected by FXMLLoader |
| 134 | + |
| 135 | + @FXML // fx:id="snapGrid" |
| 136 | + private ComboBox<?> snapGrid; // Value injected by FXMLLoader |
| 137 | + |
| 138 | + @FXML // fx:id="ungroupButton" |
| 139 | + private ImageView ungroupButton; // Value injected by FXMLLoader |
| 140 | + |
| 141 | + @FXML // fx:id="view3d" |
| 142 | + private AnchorPane view3d; // Value injected by FXMLLoader |
| 143 | + |
| 144 | + @FXML // fx:id="viewControlCubeHolder" |
| 145 | + private AnchorPane viewControlCubeHolder; // Value injected by FXMLLoader |
| 146 | + |
| 147 | + @FXML // fx:id="visbilityButton" |
| 148 | + private MenuButton visbilityButton; // Value injected by FXMLLoader |
| 149 | + |
| 150 | + @FXML // fx:id="workplaneButton" |
| 151 | + private Button workplaneButton; // Value injected by FXMLLoader |
| 152 | + |
| 153 | + @FXML // fx:id="zoomInButton" |
| 154 | + private Button zoomInButton; // Value injected by FXMLLoader |
| 155 | + |
| 156 | + @FXML // fx:id="zoomOutButton" |
| 157 | + private Button zoomOutButton; // Value injected by FXMLLoader |
| 158 | + |
| 159 | + @FXML |
| 160 | + void onColorPick(ActionEvent event) { |
| 161 | + |
| 162 | + } |
| 163 | + |
| 164 | + @FXML |
| 165 | + void onCruse(MouseEvent event) { |
| 166 | + |
| 167 | + } |
| 168 | + |
| 169 | + @FXML |
| 170 | + void onDrawer(ActionEvent event) { |
| 171 | + |
| 172 | + } |
| 173 | + |
| 174 | + @FXML |
| 175 | + void onExport(ActionEvent event) { |
| 176 | + |
| 177 | + } |
| 178 | + |
| 179 | + @FXML |
| 180 | + void onFitView(MouseEvent event) { |
| 181 | + |
| 182 | + } |
| 183 | + |
| 184 | + @FXML |
| 185 | + void onGroup(ActionEvent event) { |
| 186 | + |
| 187 | + } |
| 188 | + |
| 189 | + @FXML |
| 190 | + void onHideConnections(ActionEvent event) { |
| 191 | + |
| 192 | + } |
| 193 | + |
| 194 | + @FXML |
| 195 | + void onHideNotes(ActionEvent event) { |
| 196 | + |
| 197 | + } |
| 198 | + |
| 199 | + @FXML |
| 200 | + void onHideShow(ActionEvent event) { |
| 201 | + |
| 202 | + } |
| 203 | + |
| 204 | + @FXML |
| 205 | + void onHoleButton(MouseEvent event) { |
| 206 | + |
| 207 | + } |
| 208 | + |
| 209 | + @FXML |
| 210 | + void onHome(MouseEvent event) { |
| 211 | + |
| 212 | + } |
| 213 | + |
| 214 | + @FXML |
| 215 | + void onHomeView(MouseEvent event) { |
| 216 | + |
| 217 | + } |
| 218 | + |
| 219 | + @FXML |
| 220 | + void onHomeViewButton(ActionEvent event) { |
| 221 | + |
| 222 | + } |
| 223 | + |
| 224 | + @FXML |
| 225 | + void onImport(ActionEvent event) { |
| 226 | + |
| 227 | + } |
| 228 | + |
| 229 | + @FXML |
| 230 | + void onLock(ActionEvent event) { |
| 231 | + |
| 232 | + } |
| 233 | + |
| 234 | + @FXML |
| 235 | + void onMirron(MouseEvent event) { |
| 236 | + |
| 237 | + } |
| 238 | + |
| 239 | + @FXML |
| 240 | + void onModeling(MouseEvent event) { |
| 241 | + |
| 242 | + } |
| 243 | + |
| 244 | + @FXML |
| 245 | + void onNotesClick(ActionEvent event) { |
| 246 | + |
| 247 | + } |
| 248 | + |
| 249 | + @FXML |
| 250 | + void onPhysics(MouseEvent event) { |
| 251 | + |
| 252 | + } |
| 253 | + |
| 254 | + @FXML |
| 255 | + void onRuler(ActionEvent event) { |
| 256 | + |
| 257 | + } |
| 258 | + |
| 259 | + @FXML |
| 260 | + void onSetCatagory(ActionEvent event) { |
| 261 | + |
| 262 | + } |
| 263 | + |
| 264 | + @FXML |
| 265 | + void onSettings(ActionEvent event) { |
| 266 | + |
| 267 | + } |
| 268 | + |
| 269 | + @FXML |
| 270 | + void onShowHidden(ActionEvent event) { |
| 271 | + |
| 272 | + } |
| 273 | + |
| 274 | + @FXML |
| 275 | + void onUngroup(MouseEvent event) { |
| 276 | + |
| 277 | + } |
| 278 | + |
| 279 | + @FXML |
| 280 | + void onVisibility(ActionEvent event) { |
| 281 | + |
| 282 | + } |
| 283 | + |
| 284 | + @FXML |
| 285 | + void onWOrkplane(ActionEvent event) { |
| 286 | + |
| 287 | + } |
| 288 | + |
| 289 | + @FXML |
| 290 | + void onZoomIn(ActionEvent event) { |
| 291 | + |
| 292 | + } |
| 293 | + |
| 294 | + @FXML |
| 295 | + void onZoomOut(ActionEvent event) { |
| 296 | + |
| 297 | + } |
| 298 | + |
| 299 | + @FXML |
| 300 | + void setName(ActionEvent event) { |
| 301 | + |
| 302 | + } |
| 303 | + |
| 304 | + @FXML |
| 305 | + void setSnapGrid(ActionEvent event) { |
| 306 | + |
| 307 | + } |
| 308 | + |
| 309 | + @FXML |
| 310 | + void showAll(ActionEvent event) { |
| 311 | + |
| 312 | + } |
| 313 | + |
| 314 | + @FXML |
| 315 | + void zoomInView(MouseEvent event) { |
| 316 | + |
| 317 | + } |
| 318 | + |
| 319 | + @FXML |
| 320 | + void zoomOutViewButton(MouseEvent event) { |
| 321 | + |
| 322 | + } |
| 323 | + |
| 324 | + @FXML // This method is called by the FXMLLoader when initialization is complete |
| 325 | + void initialize() { |
| 326 | + assert buttonOverlay != null : "fx:id=\"buttonOverlay\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 327 | + assert colorPicker != null : "fx:id=\"colorPicker\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 328 | + assert control3d != null : "fx:id=\"control3d\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 329 | + assert cruseButton != null : "fx:id=\"cruseButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 330 | + assert drawerArea != null : "fx:id=\"drawerArea\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 331 | + assert drawerButton != null : "fx:id=\"drawerButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 332 | + assert drawerHolder != null : "fx:id=\"drawerHolder\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 333 | + assert drawrImage != null : "fx:id=\"drawrImage\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 334 | + assert export != null : "fx:id=\"export\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 335 | + assert fileNameBox != null : "fx:id=\"fileNameBox\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 336 | + assert fitViewButton != null : "fx:id=\"fitViewButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 337 | + assert groupButton != null : "fx:id=\"groupButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 338 | + assert hideSHow != null : "fx:id=\"hideSHow\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 339 | + assert holeButton != null : "fx:id=\"holeButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 340 | + assert home != null : "fx:id=\"home\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 341 | + assert homeButton != null : "fx:id=\"homeButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 342 | + assert homeViewButton != null : "fx:id=\"homeViewButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 343 | + assert importButton != null : "fx:id=\"importButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 344 | + assert lockButton != null : "fx:id=\"lockButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 345 | + assert lockUnlockTooltip != null : "fx:id=\"lockUnlockTooltip\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 346 | + assert mirronButton != null : "fx:id=\"mirronButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 347 | + assert model != null : "fx:id=\"model\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 348 | + assert modeling != null : "fx:id=\"modeling\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 349 | + assert notesButton != null : "fx:id=\"notesButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 350 | + assert objectPallet != null : "fx:id=\"objectPallet\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 351 | + assert physics != null : "fx:id=\"physics\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 352 | + assert physicsButton != null : "fx:id=\"physicsButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 353 | + assert rulerButton != null : "fx:id=\"rulerButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 354 | + assert settingsButton != null : "fx:id=\"settingsButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 355 | + assert shapeCatagory != null : "fx:id=\"shapeCatagory\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 356 | + assert shapeConfiguration != null : "fx:id=\"shapeConfiguration\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 357 | + assert shapeConfigurationBox != null : "fx:id=\"shapeConfigurationBox\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 358 | + assert shapeConfigurationHolder != null : "fx:id=\"shapeConfigurationHolder\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 359 | + assert showAllButton != null : "fx:id=\"showAllButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 360 | + assert snapGrid != null : "fx:id=\"snapGrid\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 361 | + assert ungroupButton != null : "fx:id=\"ungroupButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 362 | + assert view3d != null : "fx:id=\"view3d\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 363 | + assert viewControlCubeHolder != null : "fx:id=\"viewControlCubeHolder\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 364 | + assert visbilityButton != null : "fx:id=\"visbilityButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 365 | + assert workplaneButton != null : "fx:id=\"workplaneButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 366 | + assert zoomInButton != null : "fx:id=\"zoomInButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 367 | + assert zoomOutButton != null : "fx:id=\"zoomOutButton\" was not injected: check your FXML file 'MainWindow.fxml'."; |
| 368 | + |
| 369 | + } |
| 370 | + |
| 371 | +} |
0 commit comments