Archived
0

implement orbital time check on search route

This commit is contained in:
iMoHax
2016-03-18 16:32:35 +03:00
parent 7409160fbe
commit d76fe022a6
7 changed files with 76 additions and 46 deletions

View File

@@ -44,6 +44,8 @@ public class SettingsController {
@FXML
private NumberField landingTime;
@FXML
private NumberField orbitalTime;
@FXML
private NumberField takeoffTime;
@FXML
private NumberField rechargeTime;
@@ -97,6 +99,7 @@ public class SettingsController {
pathPriority.setValue(profile.getPathPriority());
jumpTime.setValue(profile.getJumpTime());
landingTime.setValue(profile.getLandingTime());
orbitalTime.setValue(profile.getOrbitalTime());
takeoffTime.setValue(profile.getTakeoffTime());
rechargeTime.setValue(profile.getRechargeTime());
@@ -142,6 +145,7 @@ public class SettingsController {
profile.setPathPriority(pathPriority.getValue());
profile.setJumpTime(jumpTime.getValue().intValue());
profile.setLandingTime(landingTime.getValue().intValue());
profile.setOrbitalTime(orbitalTime.getValue().intValue());
profile.setTakeoffTime(takeoffTime.getValue().intValue());
profile.setRechargeTime(rechargeTime.getValue().intValue());

View File

@@ -39,13 +39,15 @@
<NumberField fx:id="jumpTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="10" />
<Label text="%settings.search.times.landing" GridPane.rowIndex="11" />
<NumberField fx:id="landingTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="11" />
<Label text="%settings.search.times.takeoff" GridPane.rowIndex="12" />
<NumberField fx:id="takeoffTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="12" />
<Label text="%settings.search.times.recharge" GridPane.rowIndex="13" />
<NumberField fx:id="rechargeTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="13" />
<Label text="%settings.hotkeys" styleClass="settings-group" GridPane.halignment="CENTER" GridPane.columnSpan="2" GridPane.rowIndex="14"/>
<Label text="%settings.hotkeys.complete" GridPane.rowIndex="15" />
<TextField fx:id="completeKeyText" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="15" />
<Label text="%settings.search.times.orbital" GridPane.rowIndex="12" />
<NumberField fx:id="orbitalTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="12" />
<Label text="%settings.search.times.takeoff" GridPane.rowIndex="13" />
<NumberField fx:id="takeoffTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="13" />
<Label text="%settings.search.times.recharge" GridPane.rowIndex="14" />
<NumberField fx:id="rechargeTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="14" />
<Label text="%settings.hotkeys" styleClass="settings-group" GridPane.halignment="CENTER" GridPane.columnSpan="2" GridPane.rowIndex="15"/>
<Label text="%settings.hotkeys.complete" GridPane.rowIndex="16" />
<TextField fx:id="completeKeyText" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="16" />
</GridPane>