FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java/10-JavaFX/08.JavaFX-CSS/src/sample/sample.fxml at main · taher-mulla/Java · GitHub
taher-mulla
/
Java
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Java
/
10-JavaFX
/
08.JavaFX-CSS
/
src
/
sample
/
sample.fxml
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (22 loc) · 1.45 KB
Breadcrumbs
Java
/
10-JavaFX
/
08.JavaFX-CSS
/
src
/
sample
/
sample.fxml
Copy path
File metadata and controls
34 lines (22 loc) · 1.45 KB
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
<?
import
javafx
.scene.layout.GridPane?>
<?
import
javafx
.scene.control.Button?>
<?
import
javafx
.scene.control.Label?>
<?
import
javafx
.scene.control.RadioButton?>
<?
import
javafx
.scene.control.Hyperlink?>
<!--
<?import javafx.scene.web.WebView?>
-->
<
GridPane
fx
:
id
=
"
gridPane
"
fx
:
controller
=
"
sample.Controller
"
xmlns
:
fx
=
"
http://javafx.com/fxml
"
alignment
=
"
center
"
hgap
=
"
10
"
vgap
=
"
10
"
stylesheets
=
"
@styles.css
"
>
<
Button
text
=
"
Open
"
onAction
=
"
#handleClick
"
GridPane.rowIndex=
"
0
"
GridPane.columnIndex=
"
0
"
/>
<
Button
text
=
"
Button Two
"
GridPane.rowIndex=
"
0
"
GridPane.columnIndex=
"
1
"
/>
<
Button
text
=
"
Button Three
"
GridPane.rowIndex=
"
0
"
GridPane.columnIndex=
"
2
"
id
=
"
button_three
"
/>
<
Button
text
=
"
Button Four
"
fx
:
id
=
"
button4
"
GridPane.rowIndex=
"
0
"
GridPane.columnIndex=
"
3
"
style
=
"
-fx-background-color: blue; -fx-text-fill: white
"
/>
<
Button
text
=
"
Button Five
"
GridPane.rowIndex=
"
0
"
GridPane.columnIndex=
"
4
"
/>
<
RadioButton
text
=
"
Choice 1
"
GridPane.rowIndex=
"
1
"
GridPane.columnIndex=
"
0
"
/>
<
Label
fx
:
id
=
"
lable
"
text
=
"
JavFX Effects
"
GridPane.rowIndex=
"
1
"
GridPane.columnIndex=
"
1
"
onMouseEntered
=
"
#handleMouseEnter
"
onMouseExited
=
"
#handleMouseExit
"
rotate
=
"
90
"
/>
<
Hyperlink
text
=
"
www.javafx.com
"
onAction
=
"
#handleLinkClick
"
GridPane.rowIndex=
"
3
"
GridPane.columnIndex=
"
0
"
/>
<!--
<WebView GridPane.rowIndex="4" GridPane.columnIndex="0" GridPane.columnSpan="5" GridPane.rowSpan="3"/>
-->
</
GridPane
>
Back
|
FazBrowse Home
|
New Git URL