FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaFX/src/malc3/Sample.java at master · rtirl/JavaFX · GitHub
rtirl
/
JavaFX
Public
forked from
dmpe/JavaFX
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaFX
/
src
/
malc3
/
Sample.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
42 lines (35 loc) · 847 Bytes
Breadcrumbs
JavaFX
/
src
/
malc3
/
Sample.java
Copy path
File metadata and controls
42 lines (35 loc) · 847 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package
malc3
;
import
java
.
net
.
URL
;
import
java
.
util
.
ResourceBundle
;
import
javafx
.
event
.
ActionEvent
;
import
javafx
.
fxml
.
FXML
;
import
javafx
.
fxml
.
Initializable
;
import
javafx
.
scene
.
control
.
TextArea
;
import
javafx
.
scene
.
control
.
TreeView
;
import
javafx
.
scene
.
layout
.
StackPane
;
/**
*
* @author amol.hingmire
*/
public
class
Sample
implements
Initializable
{
@
FXML
private
TreeView
<?>
tree
;
@
FXML
private
TextArea
area
;
@
FXML
private
StackPane
parentStack
;
@
FXML
private
void
loadTree
(
ActionEvent
event
) {
tree
.
setVisible
(
true
);
area
.
setVisible
(
false
);
}
@
FXML
private
void
loadTextArea
(
ActionEvent
event
) {
area
.
setVisible
(
true
);
tree
.
setVisible
(
false
);
}
@
Override
public
void
initialize
(
URL
url
,
ResourceBundle
rb
) {
area
= (
TextArea
)
parentStack
.
lookup
(
"#textArea"
);
}
}
Back
|
FazBrowse Home
|
New Git URL