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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0deb425d85b71adb1d439170449f4d1dddc15a56
4
- data.tar.gz: 4257df580966faed9e69a1c358824a05b681950c
3
+ metadata.gz: 50b34133dfb0d3f30e02791949bc2659827d20c4
4
+ data.tar.gz: 89e2a95529d4cc1fbbd9380fe6b600362afb5495
5
5
  SHA512:
6
- metadata.gz: 594e9dc0eca84784201629b21e12adfaaf2474b7b26cf1b3f15868b0b1566cda65193238c8b8b79b0aef46193730c65d0c9de2313c3d7611af9944fee9a0f4db
7
- data.tar.gz: 2a9c8c7fa37ea9d106509344e82b0f234b7a4be12d3f24f23ed52fa4527811666e1e10172e2ad75bf5fd63f6f59169584d07ead1141464c5ddb814dffd9e1316
6
+ metadata.gz: 49289fe463916ace41b53649ae31c3063baa682a7a148ffa4e4571cdf5f741fd2fdbfd5abe54c736c792ed56eb45b49242986f5240c915d791df9eb52212306c
7
+ data.tar.gz: cdef79e4557444540b0e5cf6b30c92e863802eea0d221ea231f816d8374776ca53698b6e3e0e890cc19a6c487074ea2fa4a9e172961b5ae05850eb95b85b3a36
@@ -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 on_error(&block)
1687
+ def on_ready(&block)
1688
1688
  if block_given?
1689
- setOnError block
1689
+ setOnReady block
1690
1690
  else
1691
- getOnError
1691
+ getOnReady
1692
1692
  end
1693
1693
  end
1694
- def on_ready(&block)
1694
+ def on_error(&block)
1695
1695
  if block_given?
1696
- setOnReady block
1696
+ setOnError block
1697
1697
  else
1698
- getOnReady
1698
+ getOnError
1699
1699
  end
1700
1700
  end
1701
1701
  def on_marker(&block)
@@ -1,4 +1,4 @@
1
1
  module JRubyFX
2
2
  # Current gem version. Used in rake task.
3
- VERSION='1.1.1.brakemanpro5'
3
+ VERSION='1.1.1.brakemanpro6'
4
4
  end
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.brakemanpro5
4
+ version: 1.1.1.brakemanpro6
5
5
  platform: java
6
6
  authors:
7
7
  - Patrick Plenefisch