Skip to content

Commit

Permalink
Reformat code for GUI Files
Browse files Browse the repository at this point in the history
  • Loading branch information
Loris Gilliand committed May 22, 2019
1 parent e68d95d commit 6a345bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/java/ch/heigvd/sitr/gui/settings/SettingsWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void showWindow() {

/**
* Method used to get the selected scenario
*
* @return the selected scenario
*/
public Scenario getSelectedScenario() {
Expand All @@ -81,6 +82,7 @@ public int getNumberOfController(VehicleControllerType vct) {

/**
* Method used to get the selected behaviour of the simulation
*
* @return the selected behaviour
*/
public VehicleBehaviour getSelectedBehaviour() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void actionPerformed(ActionEvent e) {
this.add(colorChangeLabel, gbc);

colorChangeButton = new JButton();
colorChangeButton.setPreferredSize(new Dimension(25,25));
colorChangeButton.setPreferredSize(new Dimension(25, 25));
colorChangeButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Expand Down Expand Up @@ -248,7 +248,8 @@ public void actionPerformed(ActionEvent e) {
/**
* Method used to update the observer. In this case, refresh the statistics of the
* selected car.
* @param o the selected car
*
* @param o the selected car
* @param arg param used to notify all observers of o (never used in this app)
*/
@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/ch/heigvd/sitr/gui/simulation/MapPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void mousePressed(MouseEvent e) {

/**
* Not Implemented
*
* @param e mouse event
*/
@Override
Expand All @@ -75,6 +76,7 @@ public void mouseClicked(MouseEvent e) {

/**
* Not Implemented
*
* @param e mouse event
*/
@Override
Expand All @@ -83,6 +85,7 @@ public void mouseReleased(MouseEvent e) {

/**
* Not Implemented
*
* @param e mouse event
*/
@Override
Expand All @@ -91,6 +94,7 @@ public void mouseEntered(MouseEvent e) {

/**
* Not Implemented
*
* @param e mouse event
*/
@Override
Expand Down

0 comments on commit 6a345bc

Please sign in to comment.