jrubyfx-master 1.1.1.brakemanpro5-java → 1.1.1.brakemanpro6-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jrubyfx/application.rb +0 -1
- data/lib/jrubyfx/core_ext/precompiled.rb +27 -27
- data/lib/jrubyfx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b34133dfb0d3f30e02791949bc2659827d20c4
|
4
|
+
data.tar.gz: 89e2a95529d4cc1fbbd9380fe6b600362afb5495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49289fe463916ace41b53649ae31c3063baa682a7a148ffa4e4571cdf5f741fd2fdbfd5abe54c736c792ed56eb45b49242986f5240c915d791df9eb52212306c
|
7
|
+
data.tar.gz: cdef79e4557444540b0e5cf6b30c92e863802eea0d221ea231f816d8374776ca53698b6e3e0e890cc19a6c487074ea2fa4a9e172961b5ae05850eb95b85b3a36
|
data/lib/jrubyfx/application.rb
CHANGED
@@ -27,7 +27,6 @@ class JRubyFX::Application < Java.javafx.application.Application
|
|
27
27
|
# and, if jruby changes, false negatives. If you are using this, it might be a
|
28
28
|
# very bad idea... (though it is handy)
|
29
29
|
def self.in_jar?()
|
30
|
-
puts "in jar? #{ENV["IN_JAR"]}"
|
31
30
|
ENV["IN_JAR"]
|
32
31
|
end
|
33
32
|
|
@@ -9,9 +9,6 @@ class Java::JavafxScene::Node
|
|
9
9
|
def node_orientation=(rbenum)
|
10
10
|
java_send "setNodeOrientation", [Java::JavafxGeometry::NodeOrientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::NodeOrientation)
|
11
11
|
end
|
12
|
-
def depth_test=(rbenum)
|
13
|
-
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
14
|
-
end
|
15
12
|
def blend_mode=(rbenum)
|
16
13
|
java_send "setBlendMode", [Java::JavafxSceneEffect::BlendMode], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneEffect::BlendMode)
|
17
14
|
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 depth_test=(rbenum)
|
25
|
+
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
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
|
735
738
|
def halignment=(rbenum)
|
736
739
|
java_send "setHalignment", [Java::JavafxGeometry::HPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::HPos)
|
737
740
|
end
|
738
741
|
def valignment=(rbenum)
|
739
742
|
java_send "setValignment", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
740
743
|
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
|
@@ -821,9 +821,6 @@ class Java::JavafxSceneControl::ToggleButton
|
|
821
821
|
def node_orientation=(rbenum)
|
822
822
|
java_send "setNodeOrientation", [Java::JavafxGeometry::NodeOrientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::NodeOrientation)
|
823
823
|
end
|
824
|
-
def depth_test=(rbenum)
|
825
|
-
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
826
|
-
end
|
827
824
|
def blend_mode=(rbenum)
|
828
825
|
java_send "setBlendMode", [Java::JavafxSceneEffect::BlendMode], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneEffect::BlendMode)
|
829
826
|
end
|
@@ -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 depth_test=(rbenum)
|
837
|
+
java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
|
838
|
+
end
|
839
839
|
def text_fill=(value)
|
840
840
|
setTextFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
841
841
|
end
|
@@ -1182,18 +1182,18 @@ class Java::JavafxSceneLayout::ColumnConstraints
|
|
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
|
1185
1191
|
def column_halignment=(rbenum)
|
1186
1192
|
java_send "setColumnHalignment", [Java::JavafxGeometry::HPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::HPos)
|
1187
1193
|
end
|
1188
1194
|
def row_valignment=(rbenum)
|
1189
1195
|
java_send "setRowValignment", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
1190
1196
|
end
|
1191
|
-
def alignment=(rbenum)
|
1192
|
-
java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
1193
|
-
end
|
1194
|
-
def orientation=(rbenum)
|
1195
|
-
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
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 orientation=(rbenum)
|
1228
|
+
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
1229
|
+
end
|
1227
1230
|
def tile_alignment=(rbenum)
|
1228
1231
|
java_send "setTileAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
|
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 orientation=(rbenum)
|
1234
|
-
java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
|
1235
|
-
end
|
1236
1236
|
end
|
1237
1237
|
class Java::JavafxSceneLayout::VBox
|
1238
1238
|
include JRubyFX::DSL
|
@@ -1294,15 +1294,15 @@ class Java::JavafxSceneText::Text
|
|
1294
1294
|
def text_alignment=(rbenum)
|
1295
1295
|
java_send "setTextAlignment", [Java::JavafxSceneText::TextAlignment], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextAlignment)
|
1296
1296
|
end
|
1297
|
+
def font_smoothing_type=(rbenum)
|
1298
|
+
java_send "setFontSmoothingType", [Java::JavafxSceneText::FontSmoothingType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::FontSmoothingType)
|
1299
|
+
end
|
1297
1300
|
def text_origin=(rbenum)
|
1298
1301
|
java_send "setTextOrigin", [Java::JavafxGeometry::VPos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::VPos)
|
1299
1302
|
end
|
1300
1303
|
def bounds_type=(rbenum)
|
1301
1304
|
java_send "setBoundsType", [Java::JavafxSceneText::TextBoundsType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextBoundsType)
|
1302
1305
|
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
|
@@ -1684,18 +1684,18 @@ class Java::JavafxSceneMedia::Media
|
|
1684
1684
|
end
|
1685
1685
|
class Java::JavafxSceneMedia::MediaPlayer
|
1686
1686
|
include JRubyFX::DSL
|
1687
|
-
def
|
1687
|
+
def on_ready(&block)
|
1688
1688
|
if block_given?
|
1689
|
-
|
1689
|
+
setOnReady block
|
1690
1690
|
else
|
1691
|
-
|
1691
|
+
getOnReady
|
1692
1692
|
end
|
1693
1693
|
end
|
1694
|
-
def
|
1694
|
+
def on_error(&block)
|
1695
1695
|
if block_given?
|
1696
|
-
|
1696
|
+
setOnError block
|
1697
1697
|
else
|
1698
|
-
|
1698
|
+
getOnError
|
1699
1699
|
end
|
1700
1700
|
end
|
1701
1701
|
def on_marker(&block)
|
data/lib/jrubyfx/version.rb
CHANGED