Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
POO_Workspace
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
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
fabio.rodrigue1
POO_Workspace
Commits
cb42c241
Commit
cb42c241
authored
2 years ago
by
fabio.rodrigue1
Browse files
Options
Downloads
Patches
Plain Diff
removed some useless functions
parent
72e8e463
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
javaFXTest/app/src/main/java/ch/app/contactMenuController.java
+1
-14
1 addition, 14 deletions
...XTest/app/src/main/java/ch/app/contactMenuController.java
javaFXTest/app/src/main/java/ch/app/contactShowController.java
+1
-7
1 addition, 7 deletions
...XTest/app/src/main/java/ch/app/contactShowController.java
with
2 additions
and
21 deletions
javaFXTest/app/src/main/java/ch/app/contactMenuController.java
+
1
−
14
View file @
cb42c241
...
...
@@ -142,15 +142,6 @@ public class contactMenuController {
App
.
setRoot
(
"contactShow"
);
}
@FXML
void
closeAppWSave
(
ActionEvent
event
)
{
}
@FXML
void
closeAppWoSave
(
ActionEvent
event
)
{
System
.
exit
(
0
);
}
@FXML
void
selectMenuType
(
ActionEvent
event
)
{
...
...
@@ -285,10 +276,6 @@ public class contactMenuController {
}
}
void
changeValue
(){
System
.
out
.
println
(
" ComboBox.getValue(): "
+
searchTypeCbx
.
getValue
());
}
public
static
void
showPopup
(){
Alert
alert
=
new
Alert
(
Alert
.
AlertType
.
CONFIRMATION
);
alert
.
setTitle
(
popupTitle
);
...
...
@@ -300,7 +287,7 @@ public class contactMenuController {
alert
.
getButtonTypes
().
setAll
(
btnOk
);
// This allows you to get the response back from the user
Optional
<
ButtonType
>
result
=
alert
.
showAndWait
();
alert
.
showAndWait
();
}
private
void
addAllContactsToListView
(){
...
...
This diff is collapsed.
Click to expand it.
javaFXTest/app/src/main/java/ch/app/contactShowController.java
+
1
−
7
View file @
cb42c241
...
...
@@ -99,11 +99,6 @@ public class contactShowController {
private
Classes
chosenClass
=
Classes
.
NONE
;
@FXML
void
addContact
(
ActionEvent
event
)
{
System
.
out
.
println
(
"Clicked add"
);
}
void
getContact
(){
//System.out.println("Index Contact:"+contactMenuController.selectedIndexCont);
if
(
contactMenuController
.
selectedIndexCont
>=
0
&&
contactMenuController
.
selectedIndexCont
<
Contact
.
contact_lst_count
){
...
...
@@ -204,8 +199,7 @@ public class contactShowController {
}
@FXML
void
cancelAction
(
ActionEvent
event
)
throws
IOException
{
//App.setRoot("myApp");
App
.
changeScene
(
"myApp.fxml"
);
App
.
setRoot
(
"myApp"
);
}
@FXML
...
...
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