Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
javafx-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Elvedal Hole
javafx-template
Commits
ab7412bb
Commit
ab7412bb
authored
1 year ago
by
Jonas Elvedal Hole
Browse files
Options
Downloads
Patches
Plain Diff
rename to CalcController
parent
e70e628b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/main/java/app/CalcController.java
+2
-2
2 additions, 2 deletions
src/main/java/app/CalcController.java
src/main/resources/app/App.fxml
+1
-1
1 addition, 1 deletion
src/main/resources/app/App.fxml
src/test/java/app/AppTest.java
+1
-1
1 addition, 1 deletion
src/test/java/app/AppTest.java
with
4 additions
and
4 deletions
src/main/java/app/
App
Controller.java
→
src/main/java/app/
Calc
Controller.java
+
2
−
2
View file @
ab7412bb
...
...
@@ -10,11 +10,11 @@ import javafx.scene.control.Label;
import
javafx.scene.control.Labeled
;
import
javafx.scene.control.ListView
;
public
class
App
Controller
{
public
class
Calc
Controller
{
private
Calc
calc
;
public
App
Controller
()
{
public
Calc
Controller
()
{
calc
=
new
Calc
(
0.0
,
0.0
,
0.0
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/app/App.fxml
+
1
−
1
View file @
ab7412bb
...
...
@@ -8,7 +8,7 @@
<?import javafx.scene.layout.RowConstraints?>
<GridPane
alignment=
"CENTER"
hgap=
"10.0"
vgap=
"10.0"
xmlns=
"http://javafx.com/javafx/20.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"app.
App
Controller"
>
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"app.
Calc
Controller"
>
<ListView
fx:id=
"operandsView"
prefHeight=
"80.0"
GridPane.columnIndex=
"0"
GridPane.columnSpan=
"4"
GridPane.rowIndex=
"0"
/>
...
...
This diff is collapsed.
Click to expand it.
src/test/java/app/AppTest.java
+
1
−
1
View file @
ab7412bb
...
...
@@ -24,7 +24,7 @@ import org.testfx.matcher.control.LabeledMatchers;
*/
public
class
AppTest
extends
ApplicationTest
{
private
App
Controller
controller
;
private
Calc
Controller
controller
;
private
Parent
root
;
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment