jrubyfx-master 1.1.1.brakemanpro3-java → 1.1.1.brakemanpro4-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jrubyfx/core_ext/precompiled.rb +52 -52
- data/lib/jrubyfx/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c907949344192111b20cbe818d3ae58dd2dd31e3
|
4
|
+
data.tar.gz: c1f5a5bcc9be456db41290a8252452d51c1ce9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14e4bbe373c3ed67c4bad9ee7c3cd123c0e5dd83a39a1972b8af08f3f336d0e869196320363cee5ed4845db8eaf6843ac654f81a031c74a4fafb07c775d84746
|
7
|
+
data.tar.gz: 40b729ff57ae9e9966caa8361906ca47a02f21c173e62e913b1be9a98471d48541f839c1c2604bb3d6bd9fb110f42e2a157e8413e8804bed8d7edde66262606f
|
@@ -6,9 +6,6 @@ class Java::JavafxAnimation::PathTransition
|
|
6
6
|
end
|
7
7
|
class Java::JavafxScene::Node
|
8
8
|
include JRubyFX::DSL
|
9
|
-
def node_orientation=(rbenum)
|
10
|
-
java_send "setNodeOrientation", [Java::JavafxGeometry::NodeOrientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::NodeOrientation)
|
11
|
-
end
|
12
9
|
def depth_test=(rbenum)
|
13
10
|
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
14
11
|
end
|
@@ -24,6 +21,9 @@ class Java::JavafxScene::Node
|
|
24
21
|
def notify_accessible_attribute_changed=(rbenum)
|
25
22
|
java_send "notifyAccessibleAttributeChanged", [Java::JavafxScene::AccessibleAttribute], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::AccessibleAttribute)
|
26
23
|
end
|
24
|
+
def node_orientation=(rbenum)
|
25
|
+
java_send "setNodeOrientation", [Java::JavafxGeometry::NodeOrientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::NodeOrientation)
|
26
|
+
end
|
27
27
|
def on_context_menu_requested(&block)
|
28
28
|
if block_given?
|
29
29
|
setOnContextMenuRequested block
|
@@ -732,15 +732,15 @@ class Java::JavafxSceneControl::ScrollPane
|
|
732
732
|
end
|
733
733
|
class Java::JavafxSceneControl::Separator
|
734
734
|
include JRubyFX::DSL
|
735
|
-
def orientation=(rbenum)
|
736
|
-
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
737
|
-
end
|
738
735
|
def halignment=(rbenum)
|
739
736
|
java_send "setHalignment", [Java::JavafxGeometry::HPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::HPos)
|
740
737
|
end
|
741
738
|
def valignment=(rbenum)
|
742
739
|
java_send "setValignment", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
743
740
|
end
|
741
|
+
def orientation=(rbenum)
|
742
|
+
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
743
|
+
end
|
744
744
|
end
|
745
745
|
class Java::JavafxSceneControl::Slider
|
746
746
|
include JRubyFX::DSL
|
@@ -783,12 +783,12 @@ class Java::JavafxSceneControl::TableColumn
|
|
783
783
|
end
|
784
784
|
class Java::JavafxSceneControl::TabPane
|
785
785
|
include JRubyFX::DSL
|
786
|
-
def side=(rbenum)
|
787
|
-
java_send "setSide", [Java::JavafxGeometry::Side], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Side)
|
788
|
-
end
|
789
786
|
def tab_closing_policy=(rbenum)
|
790
787
|
java_send "setTabClosingPolicy", [Java::JavafxSceneControl::TabPane::TabClosingPolicy], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneControl::TabPane::TabClosingPolicy)
|
791
788
|
end
|
789
|
+
def side=(rbenum)
|
790
|
+
java_send "setSide", [Java::JavafxGeometry::Side], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Side)
|
791
|
+
end
|
792
792
|
#TODO: logical_children(tabs)
|
793
793
|
end
|
794
794
|
class Java::JavafxSceneControl::TextField
|
@@ -806,9 +806,6 @@ class Java::JavafxSceneControl::TextField
|
|
806
806
|
end
|
807
807
|
class Java::JavafxSceneControl::ToggleButton
|
808
808
|
include JRubyFX::DSL
|
809
|
-
def alignment=(rbenum)
|
810
|
-
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
811
|
-
end
|
812
809
|
def text_alignment=(rbenum)
|
813
810
|
java_send "setTextAlignment", [Java::JavafxSceneText::TextAlignment], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextAlignment)
|
814
811
|
end
|
@@ -818,8 +815,8 @@ class Java::JavafxSceneControl::ToggleButton
|
|
818
815
|
def content_display=(rbenum)
|
819
816
|
java_send "setContentDisplay", [Java::JavafxSceneControl::ContentDisplay], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneControl::ContentDisplay)
|
820
817
|
end
|
821
|
-
def
|
822
|
-
java_send "
|
818
|
+
def alignment=(rbenum)
|
819
|
+
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
823
820
|
end
|
824
821
|
def depth_test=(rbenum)
|
825
822
|
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
@@ -836,6 +833,9 @@ class Java::JavafxSceneControl::ToggleButton
|
|
836
833
|
def notify_accessible_attribute_changed=(rbenum)
|
837
834
|
java_send "notifyAccessibleAttributeChanged", [Java::JavafxScene::AccessibleAttribute], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::AccessibleAttribute)
|
838
835
|
end
|
836
|
+
def node_orientation=(rbenum)
|
837
|
+
java_send "setNodeOrientation", [Java::JavafxGeometry::NodeOrientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::NodeOrientation)
|
838
|
+
end
|
839
839
|
def text_fill=(value)
|
840
840
|
setTextFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
841
841
|
end
|
@@ -1173,27 +1173,27 @@ class Java::JavafxSceneEffect::Shadow
|
|
1173
1173
|
end
|
1174
1174
|
class Java::JavafxSceneLayout::ColumnConstraints
|
1175
1175
|
include JRubyFX::DSL
|
1176
|
-
def hgrow=(rbenum)
|
1177
|
-
java_send "setHgrow", [Java::JavafxSceneLayout::Priority], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneLayout::Priority)
|
1178
|
-
end
|
1179
1176
|
def halignment=(rbenum)
|
1180
1177
|
java_send "setHalignment", [Java::JavafxGeometry::HPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::HPos)
|
1181
1178
|
end
|
1179
|
+
def hgrow=(rbenum)
|
1180
|
+
java_send "setHgrow", [Java::JavafxSceneLayout::Priority], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneLayout::Priority)
|
1181
|
+
end
|
1182
1182
|
end
|
1183
1183
|
class Java::JavafxSceneLayout::FlowPane
|
1184
1184
|
include JRubyFX::DSL
|
1185
|
-
def orientation=(rbenum)
|
1186
|
-
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
1187
|
-
end
|
1188
|
-
def alignment=(rbenum)
|
1189
|
-
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1190
|
-
end
|
1191
1185
|
def column_halignment=(rbenum)
|
1192
1186
|
java_send "setColumnHalignment", [Java::JavafxGeometry::HPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::HPos)
|
1193
1187
|
end
|
1194
1188
|
def row_valignment=(rbenum)
|
1195
1189
|
java_send "setRowValignment", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
1196
1190
|
end
|
1191
|
+
def orientation=(rbenum)
|
1192
|
+
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
1193
|
+
end
|
1194
|
+
def alignment=(rbenum)
|
1195
|
+
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1196
|
+
end
|
1197
1197
|
end
|
1198
1198
|
class Java::JavafxSceneLayout::GridPane
|
1199
1199
|
include JRubyFX::DSL
|
@@ -1224,15 +1224,15 @@ class Java::JavafxSceneLayout::StackPane
|
|
1224
1224
|
end
|
1225
1225
|
class Java::JavafxSceneLayout::TilePane
|
1226
1226
|
include JRubyFX::DSL
|
1227
|
+
def tile_alignment=(rbenum)
|
1228
|
+
java_send "setTileAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1229
|
+
end
|
1227
1230
|
def orientation=(rbenum)
|
1228
1231
|
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
1229
1232
|
end
|
1230
1233
|
def alignment=(rbenum)
|
1231
1234
|
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1232
1235
|
end
|
1233
|
-
def tile_alignment=(rbenum)
|
1234
|
-
java_send "setTileAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1235
|
-
end
|
1236
1236
|
end
|
1237
1237
|
class Java::JavafxSceneLayout::VBox
|
1238
1238
|
include JRubyFX::DSL
|
@@ -1269,12 +1269,12 @@ class Java::JavafxSceneShape::Shape
|
|
1269
1269
|
def stroke_line_cap=(rbenum)
|
1270
1270
|
java_send "setStrokeLineCap", [Java::JavafxSceneShape::StrokeLineCap], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneShape::StrokeLineCap)
|
1271
1271
|
end
|
1272
|
-
def fill=(value)
|
1273
|
-
setFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
1274
|
-
end
|
1275
1272
|
def stroke=(value)
|
1276
1273
|
setStroke(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
1277
1274
|
end
|
1275
|
+
def fill=(value)
|
1276
|
+
setFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
1277
|
+
end
|
1278
1278
|
def fill(*r)
|
1279
1279
|
if r.length > 0
|
1280
1280
|
self.fill = r[0]
|
@@ -1291,18 +1291,18 @@ class Java::JavafxSceneShape::SVGPath
|
|
1291
1291
|
end
|
1292
1292
|
class Java::JavafxSceneText::Text
|
1293
1293
|
include JRubyFX::DSL
|
1294
|
-
def font_smoothing_type=(rbenum)
|
1295
|
-
java_send "setFontSmoothingType", [Java::JavafxSceneText::FontSmoothingType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::FontSmoothingType)
|
1296
|
-
end
|
1297
|
-
def text_alignment=(rbenum)
|
1298
|
-
java_send "setTextAlignment", [Java::JavafxSceneText::TextAlignment], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextAlignment)
|
1299
|
-
end
|
1300
1294
|
def text_origin=(rbenum)
|
1301
1295
|
java_send "setTextOrigin", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
1302
1296
|
end
|
1303
1297
|
def bounds_type=(rbenum)
|
1304
1298
|
java_send "setBoundsType", [Java::JavafxSceneText::TextBoundsType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextBoundsType)
|
1305
1299
|
end
|
1300
|
+
def text_alignment=(rbenum)
|
1301
|
+
java_send "setTextAlignment", [Java::JavafxSceneText::TextAlignment], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextAlignment)
|
1302
|
+
end
|
1303
|
+
def font_smoothing_type=(rbenum)
|
1304
|
+
java_send "setFontSmoothingType", [Java::JavafxSceneText::FontSmoothingType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::FontSmoothingType)
|
1305
|
+
end
|
1306
1306
|
end
|
1307
1307
|
class Java::JavafxSceneWeb::WebView
|
1308
1308
|
include JRubyFX::DSL
|
@@ -1552,13 +1552,6 @@ class Java::JavafxSceneControl::Menu
|
|
1552
1552
|
end
|
1553
1553
|
class Java::JavafxSceneControl::MenuItem
|
1554
1554
|
include JRubyFX::DSL
|
1555
|
-
def on_action(&block)
|
1556
|
-
if block_given?
|
1557
|
-
setOnAction block
|
1558
|
-
else
|
1559
|
-
getOnAction
|
1560
|
-
end
|
1561
|
-
end
|
1562
1555
|
def on_menu_validation(&block)
|
1563
1556
|
if block_given?
|
1564
1557
|
setOnMenuValidation block
|
@@ -1566,9 +1559,6 @@ class Java::JavafxSceneControl::MenuItem
|
|
1566
1559
|
getOnMenuValidation
|
1567
1560
|
end
|
1568
1561
|
end
|
1569
|
-
end
|
1570
|
-
class Java::JavafxSceneControl::RadioMenuItem
|
1571
|
-
include JRubyFX::DSL
|
1572
1562
|
def on_action(&block)
|
1573
1563
|
if block_given?
|
1574
1564
|
setOnAction block
|
@@ -1576,6 +1566,9 @@ class Java::JavafxSceneControl::RadioMenuItem
|
|
1576
1566
|
getOnAction
|
1577
1567
|
end
|
1578
1568
|
end
|
1569
|
+
end
|
1570
|
+
class Java::JavafxSceneControl::RadioMenuItem
|
1571
|
+
include JRubyFX::DSL
|
1579
1572
|
def on_menu_validation(&block)
|
1580
1573
|
if block_given?
|
1581
1574
|
setOnMenuValidation block
|
@@ -1583,6 +1576,13 @@ class Java::JavafxSceneControl::RadioMenuItem
|
|
1583
1576
|
getOnMenuValidation
|
1584
1577
|
end
|
1585
1578
|
end
|
1579
|
+
def on_action(&block)
|
1580
|
+
if block_given?
|
1581
|
+
setOnAction block
|
1582
|
+
else
|
1583
|
+
getOnAction
|
1584
|
+
end
|
1585
|
+
end
|
1586
1586
|
end
|
1587
1587
|
class Java::JavafxSceneControl::Tab
|
1588
1588
|
include JRubyFX::DSL
|
@@ -1684,6 +1684,13 @@ class Java::JavafxSceneMedia::Media
|
|
1684
1684
|
end
|
1685
1685
|
class Java::JavafxSceneMedia::MediaPlayer
|
1686
1686
|
include JRubyFX::DSL
|
1687
|
+
def on_error(&block)
|
1688
|
+
if block_given?
|
1689
|
+
setOnError block
|
1690
|
+
else
|
1691
|
+
getOnError
|
1692
|
+
end
|
1693
|
+
end
|
1687
1694
|
def on_ready(&block)
|
1688
1695
|
if block_given?
|
1689
1696
|
setOnReady block
|
@@ -1747,13 +1754,6 @@ class Java::JavafxSceneMedia::MediaPlayer
|
|
1747
1754
|
getOnStalled
|
1748
1755
|
end
|
1749
1756
|
end
|
1750
|
-
def on_error(&block)
|
1751
|
-
if block_given?
|
1752
|
-
setOnError block
|
1753
|
-
else
|
1754
|
-
getOnError
|
1755
|
-
end
|
1756
|
-
end
|
1757
1757
|
end
|
1758
1758
|
class Java::JavafxSceneMedia::MediaView
|
1759
1759
|
include JRubyFX::DSL
|
data/lib/jrubyfx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jrubyfx-master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.1.
|
4
|
+
version: 1.1.1.brakemanpro4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Patrick Plenefisch
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '0'
|
23
23
|
name: rake
|
@@ -25,13 +25,13 @@ dependencies:
|
|
25
25
|
type: :development
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- -
|
34
|
+
- - '>='
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '0'
|
37
37
|
name: rspec
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
type: :development
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - '>='
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '0'
|
45
45
|
- !ruby/object:Gem::Dependency
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - '='
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.4.master.
|
50
|
+
version: 0.4.1.master.2016.8.17
|
51
51
|
name: jrubyfx-fxmlloader-master
|
52
52
|
prerelease: false
|
53
53
|
type: :runtime
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - '='
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: 0.4.master.
|
58
|
+
version: 0.4.1.master.2016.8.17
|
59
59
|
description: Enables JavaFX with FXML controllers and application in pure ruby. With some customizations.
|
60
60
|
email:
|
61
61
|
- simonpatp@gmail.com
|
@@ -128,17 +128,17 @@ require_paths:
|
|
128
128
|
- lib
|
129
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- -
|
131
|
+
- - '>='
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '>'
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.3.1
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.4.8
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: JavaFX for JRuby with FXML
|