jrubyfx-master 1.1.1.brakemanpro1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +202 -0
- data/README.md +121 -0
- data/bin/jrubyfx-compile +32 -0
- data/bin/jrubyfx-generator +98 -0
- data/bin/jrubyfx-jarify +115 -0
- data/lib/jrubyfx/application.rb +42 -0
- data/lib/jrubyfx/compiler_app.rb +51 -0
- data/lib/jrubyfx/controller.rb +375 -0
- data/lib/jrubyfx/core_ext/border_pane.rb +30 -0
- data/lib/jrubyfx/core_ext/column_constraints.rb +43 -0
- data/lib/jrubyfx/core_ext/drag_event.rb +32 -0
- data/lib/jrubyfx/core_ext/duration.rb +30 -0
- data/lib/jrubyfx/core_ext/effects.rb +32 -0
- data/lib/jrubyfx/core_ext/exts.yml +57 -0
- data/lib/jrubyfx/core_ext/file_chooser.rb +63 -0
- data/lib/jrubyfx/core_ext/geometry.rb +27 -0
- data/lib/jrubyfx/core_ext/grid_pane.rb +30 -0
- data/lib/jrubyfx/core_ext/image_view.rb +25 -0
- data/lib/jrubyfx/core_ext/media_player.rb +25 -0
- data/lib/jrubyfx/core_ext/observable_value.rb +158 -0
- data/lib/jrubyfx/core_ext/pagination.rb +28 -0
- data/lib/jrubyfx/core_ext/path.rb +37 -0
- data/lib/jrubyfx/core_ext/precompiled.rb +1883 -0
- data/lib/jrubyfx/core_ext/progress_indicator.rb +41 -0
- data/lib/jrubyfx/core_ext/radial_gradient.rb +37 -0
- data/lib/jrubyfx/core_ext/region.rb +42 -0
- data/lib/jrubyfx/core_ext/rotate.rb +39 -0
- data/lib/jrubyfx/core_ext/stage.rb +89 -0
- data/lib/jrubyfx/core_ext/table_view.rb +31 -0
- data/lib/jrubyfx/core_ext/timeline.rb +56 -0
- data/lib/jrubyfx/core_ext/transition.rb +26 -0
- data/lib/jrubyfx/core_ext/tree_view.rb +40 -0
- data/lib/jrubyfx/core_ext/xy_chart.rb +53 -0
- data/lib/jrubyfx/dsl.rb +330 -0
- data/lib/jrubyfx/dsl_control.rb +28 -0
- data/lib/jrubyfx/dsl_map.rb +273 -0
- data/lib/jrubyfx/imports.rb +310 -0
- data/lib/jrubyfx/java_fx_impl.rb +137 -0
- data/lib/jrubyfx/module.rb +178 -0
- data/lib/jrubyfx/part_imports.rb +127 -0
- data/lib/jrubyfx/utils/__ignore_java_stupid_rdoc.rb +30 -0
- data/lib/jrubyfx/utils/common_converters.rb +223 -0
- data/lib/jrubyfx/utils/common_utils.rb +72 -0
- data/lib/jrubyfx/utils/string_utils.rb +48 -0
- data/lib/jrubyfx/utils.rb +76 -0
- data/lib/jrubyfx/version.rb +4 -0
- data/lib/jrubyfx.rb +41 -0
- data/lib/jrubyfx_tasks.rb +183 -0
- metadata +145 -0
data/lib/jrubyfx/dsl.rb
ADDED
@@ -0,0 +1,330 @@
|
|
1
|
+
=begin
|
2
|
+
JRubyFX - Write JavaFX and FXML in Ruby
|
3
|
+
Copyright (C) 2013 The JRubyFX Team
|
4
|
+
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
you may not use this file except in compliance with the License.
|
7
|
+
You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
=end
|
17
|
+
require 'java'
|
18
|
+
|
19
|
+
module JRubyFX
|
20
|
+
# Defines a nice DSL for building JavaFX applications. Include it in a class for
|
21
|
+
# access to the DSL. JRubyFX::Application and JRubyFX::Controller include it already.
|
22
|
+
module DSL
|
23
|
+
include JRubyFX
|
24
|
+
include JRubyFX::FXImports
|
25
|
+
|
26
|
+
# Contains methods to be defined inside all classes that include JRubyFX
|
27
|
+
module ClassUtils
|
28
|
+
include JRubyFX::FXImports
|
29
|
+
|
30
|
+
##
|
31
|
+
# DEPRECATED: Please include JRubyFX::DSLControl instead of this method.
|
32
|
+
#
|
33
|
+
# Register your own type for use in the DSL.
|
34
|
+
#
|
35
|
+
# class MyFooWidget < Region
|
36
|
+
# #...
|
37
|
+
# end
|
38
|
+
# #...
|
39
|
+
# register_type(MyFooWidget)
|
40
|
+
# register_type(MyFooWidget, "aliased_name")
|
41
|
+
#
|
42
|
+
# class MyOtherWidget < Region
|
43
|
+
# register_type
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
#
|
47
|
+
# Note, this also makes it possible to override existing definitions
|
48
|
+
# of built-in components.
|
49
|
+
#
|
50
|
+
def register_type(type=self, name=nil)
|
51
|
+
name = type.name.snake_case unless name
|
52
|
+
JRubyFX::DSL::NAME_TO_CLASSES[name.to_s] = type
|
53
|
+
end
|
54
|
+
module_function :register_type
|
55
|
+
end
|
56
|
+
|
57
|
+
# When a class includes JRubyFX, extend (add to the metaclass) ClassUtils
|
58
|
+
def self.included(mod)
|
59
|
+
mod.extend(JRubyFX::DSL::ClassUtils)
|
60
|
+
mod.extend(JRubyFX::FXImports)
|
61
|
+
end
|
62
|
+
|
63
|
+
#--
|
64
|
+
# FIXME: This should be broken up with nice override for each type of
|
65
|
+
# fx object so we can manually create static overrides.
|
66
|
+
#++
|
67
|
+
# The list of snake_case names mapped to full java classes to use for DSL mapping.
|
68
|
+
# This list is dynamically generated using the `rake reflect` task.
|
69
|
+
require_relative 'dsl_map'
|
70
|
+
|
71
|
+
# List of known overrides for enums.
|
72
|
+
|
73
|
+
# This is the heart of the DSL. When a method is missing and the name of the
|
74
|
+
# method is in the NAME_TO_CLASSES mapping, it calls JRubyFX.build with the
|
75
|
+
# Java class. This means that instead of saying
|
76
|
+
# build(JavaClass, hash) { ... }
|
77
|
+
# you can say
|
78
|
+
# java_class(hash) { ... }
|
79
|
+
#
|
80
|
+
# Another major portion of the DSL is the ability to implicitly add new
|
81
|
+
# created components to their parent on construction. There are a few
|
82
|
+
# places where this is undesirable. In order to prevent implicit
|
83
|
+
# construction you can add a '!' on the end:
|
84
|
+
# circle!(30)
|
85
|
+
# This will construct a Circle but it will not add it into its parent
|
86
|
+
# container. This is useful for specifying clipping regions in particular.
|
87
|
+
#
|
88
|
+
def method_missing(name, *args, &block)
|
89
|
+
fixed_name = name.to_s.gsub(/!$/, '')
|
90
|
+
clazz = NAME_TO_CLASSES[fixed_name]
|
91
|
+
unless clazz
|
92
|
+
clazz = NAME_TO_CLASS_NAME[fixed_name]
|
93
|
+
clazz = (NAME_TO_CLASSES[fixed_name] = clazz.constantize_by("::")) if clazz
|
94
|
+
end
|
95
|
+
|
96
|
+
unless clazz
|
97
|
+
@supers = {} unless @supers
|
98
|
+
@supers[name] = 0 unless @supers.has_key?(name)
|
99
|
+
@supers[name] += 1
|
100
|
+
if @supers[name] > 3
|
101
|
+
raise "Whoa! method_missing caught infinite loop. Trying to run #{name}(#{args.inspect}) failed. Method not found."
|
102
|
+
end
|
103
|
+
res = super
|
104
|
+
@supers[name] -= 1
|
105
|
+
return res
|
106
|
+
end
|
107
|
+
|
108
|
+
build(clazz, *args, &block)
|
109
|
+
end
|
110
|
+
|
111
|
+
alias :node_method_missing :method_missing
|
112
|
+
|
113
|
+
# Loads the special symbol to enum converter functions into all methods
|
114
|
+
# and enums
|
115
|
+
def self.write_enum_converter(outf)
|
116
|
+
|
117
|
+
# use reflection to load all enums into all_enums and methods that use them
|
118
|
+
# into enum_methods
|
119
|
+
mod_list = {
|
120
|
+
:methods =>{},
|
121
|
+
:all => []
|
122
|
+
}
|
123
|
+
JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz|
|
124
|
+
cls = eval(clsz) # TODO: use constantize
|
125
|
+
cls.java_class.java_instance_methods.each do |method|
|
126
|
+
args = method.argument_types.find_all(&:enum?).tap {|i| mod_list[:all] << i }
|
127
|
+
|
128
|
+
# one and only, must be a setter style
|
129
|
+
if method.argument_types.length == 1 and (args.length == method.argument_types.length) and !(cls.ancestors[1].public_instance_methods.include? method.name.to_sym)
|
130
|
+
mod_list[:methods][cls] = [] unless mod_list[:methods][cls]
|
131
|
+
# stuff both method name and the type of the argument in
|
132
|
+
mod_list[:methods][cls] << [method.name, JavaUtilities.get_proxy_class(args[0])]
|
133
|
+
end
|
134
|
+
end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those
|
135
|
+
end
|
136
|
+
|
137
|
+
require 'yaml'
|
138
|
+
|
139
|
+
child_catcher = {}
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
# finally, "override" each method
|
144
|
+
mod_list[:methods].each do |clz, method|
|
145
|
+
child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s]
|
146
|
+
write_enum_method_converter child_catcher, clz, method
|
147
|
+
end
|
148
|
+
# cleanout and search for colors. TODO: combind with previous
|
149
|
+
mod_list = {:methods =>{}, :all => []}
|
150
|
+
JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz|
|
151
|
+
cls = eval(clsz) # TODO: use constantize
|
152
|
+
cls.java_class.java_instance_methods.each do |method|
|
153
|
+
args = method.argument_types.find_all{|i| JavaUtilities.get_proxy_class(i).ancestors.include? Java::javafx.scene.paint.Paint}
|
154
|
+
|
155
|
+
# one and only, must be a setter style
|
156
|
+
if args.length == 1 and !(cls.ancestors[1].public_instance_methods.include? method.name.to_sym) #TODO: multiple args
|
157
|
+
mod_list[:methods][cls] = [] unless mod_list[:methods][cls]
|
158
|
+
# stuff both method name and the type of the argument in
|
159
|
+
mod_list[:methods][cls] << method.name
|
160
|
+
end
|
161
|
+
end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those
|
162
|
+
end
|
163
|
+
|
164
|
+
mod_list[:methods].each do |clz, method|
|
165
|
+
child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s]
|
166
|
+
write_color_method_converter child_catcher, clz, method
|
167
|
+
end
|
168
|
+
|
169
|
+
# cleanout and search for events. TODO: combind with previous
|
170
|
+
mod_list = {:methods =>{}}
|
171
|
+
JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz|
|
172
|
+
cls = eval(clsz) # TODO: use constantize
|
173
|
+
cls.java_class.java_instance_methods.each do |method|
|
174
|
+
# one and only, must be a setter style
|
175
|
+
if method.name.start_with? "setOn" and !(cls.ancestors[1].public_instance_methods.include? method.name.to_sym) #TODO: multiple args
|
176
|
+
mod_list[:methods][cls] = [] unless mod_list[:methods][cls]
|
177
|
+
# stuff both method name and the type of the argument in
|
178
|
+
mod_list[:methods][cls] << method.name
|
179
|
+
end
|
180
|
+
end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those
|
181
|
+
end
|
182
|
+
|
183
|
+
mod_list[:methods].each do |clz, method|
|
184
|
+
child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s]
|
185
|
+
write_event_method child_catcher, clz, method
|
186
|
+
end
|
187
|
+
|
188
|
+
# load the yaml descriptors
|
189
|
+
|
190
|
+
ydescs = YAML.load_file("#{File.dirname(__FILE__)}/core_ext/exts.yml")
|
191
|
+
|
192
|
+
builders = {add: ->(on, adder){
|
193
|
+
" def add(value)
|
194
|
+
#{adder}() << value
|
195
|
+
end\n"
|
196
|
+
},
|
197
|
+
rotate: ->(on){
|
198
|
+
" def rotate(*args)
|
199
|
+
transforms << build(Rotate, *args)
|
200
|
+
end\n"
|
201
|
+
},
|
202
|
+
method_missing: ->(on, type) {
|
203
|
+
# we must manually call super otherwise it will call super(type)
|
204
|
+
" def method_missing(name, *args, &block)
|
205
|
+
super(name, *args, &block).tap do |obj|
|
206
|
+
add(obj) if obj.kind_of?(#{type}) && !name.to_s.end_with?('!')
|
207
|
+
end
|
208
|
+
end\n"
|
209
|
+
},
|
210
|
+
logical_child: ->(on, prop_name){" #TODO: logical_child(#{prop_name})\n"},
|
211
|
+
logical_children: ->(on, prop_name){" #TODO: logical_children(#{prop_name})\n"},
|
212
|
+
getter_setter: ->(on, name) {
|
213
|
+
# FIXME: Is arity of splat the best way to do this?
|
214
|
+
" def #{name}(*r)
|
215
|
+
if r.length > 0
|
216
|
+
self.#{name} = r[0]
|
217
|
+
else
|
218
|
+
get_#{name}
|
219
|
+
end
|
220
|
+
end\n"
|
221
|
+
},
|
222
|
+
new_converter: ->(on, *args){
|
223
|
+
els = 0
|
224
|
+
" def self.new(*args)
|
225
|
+
super *JRubyFX::Utils::CommonConverters.convert_args(args, #{args.map{|i|i.map(&:to_sym)}.inspect})
|
226
|
+
end\n"
|
227
|
+
},
|
228
|
+
dsl: ->(on, *args){" "},
|
229
|
+
}
|
230
|
+
|
231
|
+
#parse the ydescs
|
232
|
+
ydescs.each do |clz, acts|
|
233
|
+
acts.each do |mname, arg|
|
234
|
+
child_catcher[clz] = "" unless child_catcher[clz]
|
235
|
+
lamb = builders[mname.to_sym]
|
236
|
+
arg = [arg] unless arg.is_a? Array
|
237
|
+
child_catcher[clz] << lamb.call(*([clz] + arg))
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
child_catcher.each do |clz, defs|
|
242
|
+
next if defs == "" || defs == nil
|
243
|
+
# TODO: do we need to include the dsl? is this the fastest way to do it?
|
244
|
+
outf<< <<HERDOC
|
245
|
+
class #{clz}
|
246
|
+
include JRubyFX::DSL
|
247
|
+
#{defs}end
|
248
|
+
HERDOC
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
def self.write_event_method(outf, in_class, jfuncnclasses)
|
253
|
+
jfuncnclasses.each do |jfunc, jclass|
|
254
|
+
next if jfunc.include? "impl_"
|
255
|
+
outf[in_class.to_s] << <<ENDNAIVE
|
256
|
+
def #{jfunc.to_s.gsub(/^set/i,'').snake_case}(&block)
|
257
|
+
if block_given?
|
258
|
+
#{jfunc.to_s} block
|
259
|
+
else
|
260
|
+
#{jfunc.to_s.gsub(/^set/i,'get')}
|
261
|
+
end
|
262
|
+
end
|
263
|
+
ENDNAIVE
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
def self.write_enum_method_converter(outf, in_class, jfuncnclasses)
|
268
|
+
jfuncnclasses.each do |jfunc, jclass|
|
269
|
+
next if jfunc.include? "impl_"
|
270
|
+
outf[in_class.to_s] << <<ENDNAIVE
|
271
|
+
def #{jfunc.to_s.gsub(/^set/i,'').snake_case}=(rbenum)
|
272
|
+
java_send #{jfunc.inspect}, [#{jclass}], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, #{jclass})
|
273
|
+
end
|
274
|
+
ENDNAIVE
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
def self.write_color_method_converter(outf, in_class, jfuncnclasses)
|
279
|
+
jfuncnclasses.each do |jfunc|
|
280
|
+
next if jfunc.include? "impl_"
|
281
|
+
outf[in_class.to_s] << <<ENDNAIVE
|
282
|
+
def #{jfunc.to_s.gsub(/^set/i,'').snake_case}=(value)
|
283
|
+
#{jfunc}(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
|
284
|
+
end
|
285
|
+
ENDNAIVE
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
def self_test_lookup(selector)
|
290
|
+
if selector.start_with? "#"
|
291
|
+
return (if "##{self.id}" == selector
|
292
|
+
self
|
293
|
+
else
|
294
|
+
nil
|
295
|
+
end)
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
def logical_lookup(*args)
|
300
|
+
unless self.is_a?(Node)
|
301
|
+
p self
|
302
|
+
p self.to_s
|
303
|
+
return self_test_lookup(*args)
|
304
|
+
end
|
305
|
+
self.lookup(*args) || self.tap do |x|
|
306
|
+
return nil unless x.respond_to? :children
|
307
|
+
return x.children.map_find{|i| i.logical_lookup(*args)}
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# This loads the entire DSL. Call this immediately after requiring
|
312
|
+
# this file, but not inside this file, or it requires itself twice.
|
313
|
+
def self.load_dsl
|
314
|
+
unless File.size? "#{File.dirname(__FILE__)}/core_ext/precompiled.rb"
|
315
|
+
puts "Please run `rake reflect` to generate the converters"
|
316
|
+
exit -1
|
317
|
+
end
|
318
|
+
rt = "#{File.dirname(__FILE__)}/core_ext".sub /\Ajar:/, ""
|
319
|
+
Dir.glob("#{rt}/*.rb") do |file|
|
320
|
+
require file
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# This loads the entire DSL. Call this immediately after requiring
|
325
|
+
# this file, but not inside this file, or it requires itself twice.
|
326
|
+
def self.compile_dsl(out)
|
327
|
+
JRubyFX::DSL.write_enum_converter out
|
328
|
+
end
|
329
|
+
end
|
330
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
JRubyFX - Write JavaFX and FXML in Ruby
|
3
|
+
Copyright (C) 2013 The JRubyFX Team
|
4
|
+
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
you may not use this file except in compliance with the License.
|
7
|
+
You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
=end
|
17
|
+
require 'java'
|
18
|
+
require 'jrubyfx/dsl'
|
19
|
+
|
20
|
+
module JRubyFX
|
21
|
+
# If you want a control to be registered with the dsl calling syntax
|
22
|
+
# you should indicate it by including this module.
|
23
|
+
module DSLControl
|
24
|
+
def self.included(mod)
|
25
|
+
JRubyFX::DSL::ClassUtils.register_type mod
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,273 @@
|
|
1
|
+
=begin
|
2
|
+
JRubyFX - Write JavaFX and FXML in Ruby
|
3
|
+
Copyright (C) 2013 The JRubyFX Team
|
4
|
+
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
you may not use this file except in compliance with the License.
|
7
|
+
You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
=end
|
17
|
+
|
18
|
+
# DO NOT MODIFY THIS FILE!
|
19
|
+
# This file is generated by the `rake reflect` task.
|
20
|
+
|
21
|
+
module JRubyFX
|
22
|
+
module DSL
|
23
|
+
NAME_TO_CLASSES = {
|
24
|
+
# Manual overrides
|
25
|
+
'observable_array_list' => proc { |*args| FXCollections.observable_array_list(*args) },
|
26
|
+
'double_property' => Java::JavafxBeansProperty::SimpleDoubleProperty,
|
27
|
+
'xy_chart_series' => Java::javafx.scene.chart.XYChart::Series,
|
28
|
+
'xy_chart_data' => Java::javafx.scene.chart.XYChart::Data,
|
29
|
+
# Automatically generated
|
30
|
+
}
|
31
|
+
NAME_TO_CLASS_NAME = {
|
32
|
+
'animation' => "Java::JavafxAnimation::Animation",
|
33
|
+
'animation_timer' => "Java::JavafxAnimation::AnimationTimer",
|
34
|
+
'fade_transition' => "Java::JavafxAnimation::FadeTransition",
|
35
|
+
'fill_transition' => "Java::JavafxAnimation::FillTransition",
|
36
|
+
'interpolator' => "Java::JavafxAnimation::Interpolator",
|
37
|
+
'key_frame' => "Java::JavafxAnimation::KeyFrame",
|
38
|
+
'key_value' => "Java::JavafxAnimation::KeyValue",
|
39
|
+
'parallel_transition' => "Java::JavafxAnimation::ParallelTransition",
|
40
|
+
'path_transition' => "Java::JavafxAnimation::PathTransition",
|
41
|
+
'pause_transition' => "Java::JavafxAnimation::PauseTransition",
|
42
|
+
'rotate_transition' => "Java::JavafxAnimation::RotateTransition",
|
43
|
+
'scale_transition' => "Java::JavafxAnimation::ScaleTransition",
|
44
|
+
'sequential_transition' => "Java::JavafxAnimation::SequentialTransition",
|
45
|
+
'stroke_transition' => "Java::JavafxAnimation::StrokeTransition",
|
46
|
+
'timeline' => "Java::JavafxAnimation::Timeline",
|
47
|
+
'transition' => "Java::JavafxAnimation::Transition",
|
48
|
+
'translate_transition' => "Java::JavafxAnimation::TranslateTransition",
|
49
|
+
'platform' => "Java::JavafxApplication::Platform",
|
50
|
+
'simple_boolean_property' => "Java::JavafxBeansProperty::SimpleBooleanProperty",
|
51
|
+
'simple_double_property' => "Java::JavafxBeansProperty::SimpleDoubleProperty",
|
52
|
+
'simple_float_property' => "Java::JavafxBeansProperty::SimpleFloatProperty",
|
53
|
+
'simple_integer_property' => "Java::JavafxBeansProperty::SimpleIntegerProperty",
|
54
|
+
'simple_list_property' => "Java::JavafxBeansProperty::SimpleListProperty",
|
55
|
+
'simple_long_property' => "Java::JavafxBeansProperty::SimpleLongProperty",
|
56
|
+
'simple_map_property' => "Java::JavafxBeansProperty::SimpleMapProperty",
|
57
|
+
'simple_object_property' => "Java::JavafxBeansProperty::SimpleObjectProperty",
|
58
|
+
'simple_set_property' => "Java::JavafxBeansProperty::SimpleSetProperty",
|
59
|
+
'simple_string_property' => "Java::JavafxBeansProperty::SimpleStringProperty",
|
60
|
+
'change_listener' => "Java::JavafxBeansValue::ChangeListener",
|
61
|
+
'fx_collections' => "Java::JavafxCollections::FXCollections",
|
62
|
+
'worker' => "Java::JavafxConcurrent::Worker",
|
63
|
+
'task' => "Java::JavafxConcurrent::Task",
|
64
|
+
'service' => "Java::JavafxConcurrent::Service",
|
65
|
+
'event' => "Java::JavafxEvent::Event",
|
66
|
+
'action_event' => "Java::JavafxEvent::ActionEvent",
|
67
|
+
'event_handler' => "Java::JavafxEvent::EventHandler",
|
68
|
+
'initializable' => "Java::JavafxFxml::Initializable",
|
69
|
+
'load_exception' => "Java::JavafxFxml::LoadException",
|
70
|
+
'horizontal_direction' => "Java::JavafxGeometry::HorizontalDirection",
|
71
|
+
'h_pos' => "Java::JavafxGeometry::HPos",
|
72
|
+
'insets' => "Java::JavafxGeometry::Insets",
|
73
|
+
'orientation' => "Java::JavafxGeometry::Orientation",
|
74
|
+
'pos' => "Java::JavafxGeometry::Pos",
|
75
|
+
'rectangle2_d' => "Java::JavafxGeometry::Rectangle2D",
|
76
|
+
'side' => "Java::JavafxGeometry::Side",
|
77
|
+
'vertical_direction' => "Java::JavafxGeometry::VerticalDirection",
|
78
|
+
'v_pos' => "Java::JavafxGeometry::VPos",
|
79
|
+
'group' => "Java::JavafxScene::Group",
|
80
|
+
'node' => "Java::JavafxScene::Node",
|
81
|
+
'parent' => "Java::JavafxScene::Parent",
|
82
|
+
'scene' => "Java::JavafxScene::Scene",
|
83
|
+
'canvas' => "Java::JavafxSceneCanvas::Canvas",
|
84
|
+
'area_chart' => "Java::JavafxSceneChart::AreaChart",
|
85
|
+
'axis' => "Java::JavafxSceneChart::Axis",
|
86
|
+
'bar_chart' => "Java::JavafxSceneChart::BarChart",
|
87
|
+
'bubble_chart' => "Java::JavafxSceneChart::BubbleChart",
|
88
|
+
'category_axis' => "Java::JavafxSceneChart::CategoryAxis",
|
89
|
+
'chart' => "Java::JavafxSceneChart::Chart",
|
90
|
+
'line_chart' => "Java::JavafxSceneChart::LineChart",
|
91
|
+
'number_axis' => "Java::JavafxSceneChart::NumberAxis",
|
92
|
+
'pie_chart' => "Java::JavafxSceneChart::PieChart",
|
93
|
+
'scatter_chart' => "Java::JavafxSceneChart::ScatterChart",
|
94
|
+
'stacked_area_chart' => "Java::JavafxSceneChart::StackedAreaChart",
|
95
|
+
'stacked_bar_chart' => "Java::JavafxSceneChart::StackedBarChart",
|
96
|
+
'value_axis' => "Java::JavafxSceneChart::ValueAxis",
|
97
|
+
'xy_chart' => "Java::JavafxSceneChart::XYChart",
|
98
|
+
'accordion' => "Java::JavafxSceneControl::Accordion",
|
99
|
+
'button' => "Java::JavafxSceneControl::Button",
|
100
|
+
'cell' => "Java::JavafxSceneControl::Cell",
|
101
|
+
'check_box' => "Java::JavafxSceneControl::CheckBox",
|
102
|
+
'check_box_tree_item' => "Java::JavafxSceneControl::CheckBoxTreeItem",
|
103
|
+
'check_menu_item' => "Java::JavafxSceneControl::CheckMenuItem",
|
104
|
+
'choice_box' => "Java::JavafxSceneControl::ChoiceBox",
|
105
|
+
'color_picker' => "Java::JavafxSceneControl::ColorPicker",
|
106
|
+
'combo_box' => "Java::JavafxSceneControl::ComboBox",
|
107
|
+
'context_menu' => "Java::JavafxSceneControl::ContextMenu",
|
108
|
+
'hyperlink' => "Java::JavafxSceneControl::Hyperlink",
|
109
|
+
'label' => "Java::JavafxSceneControl::Label",
|
110
|
+
'list_cell' => "Java::JavafxSceneControl::ListCell",
|
111
|
+
'list_view' => "Java::JavafxSceneControl::ListView",
|
112
|
+
'menu' => "Java::JavafxSceneControl::Menu",
|
113
|
+
'menu_bar' => "Java::JavafxSceneControl::MenuBar",
|
114
|
+
'menu_button' => "Java::JavafxSceneControl::MenuButton",
|
115
|
+
'menu_item' => "Java::JavafxSceneControl::MenuItem",
|
116
|
+
'pagination' => "Java::JavafxSceneControl::Pagination",
|
117
|
+
'password_field' => "Java::JavafxSceneControl::PasswordField",
|
118
|
+
'popup_control' => "Java::JavafxSceneControl::PopupControl",
|
119
|
+
'progress_bar' => "Java::JavafxSceneControl::ProgressBar",
|
120
|
+
'progress_indicator' => "Java::JavafxSceneControl::ProgressIndicator",
|
121
|
+
'radio_button' => "Java::JavafxSceneControl::RadioButton",
|
122
|
+
'radio_menu_item' => "Java::JavafxSceneControl::RadioMenuItem",
|
123
|
+
'scroll_bar' => "Java::JavafxSceneControl::ScrollBar",
|
124
|
+
'scroll_pane' => "Java::JavafxSceneControl::ScrollPane",
|
125
|
+
'separator' => "Java::JavafxSceneControl::Separator",
|
126
|
+
'separator_menu_item' => "Java::JavafxSceneControl::SeparatorMenuItem",
|
127
|
+
'slider' => "Java::JavafxSceneControl::Slider",
|
128
|
+
'split_menu_button' => "Java::JavafxSceneControl::SplitMenuButton",
|
129
|
+
'split_pane' => "Java::JavafxSceneControl::SplitPane",
|
130
|
+
'tab' => "Java::JavafxSceneControl::Tab",
|
131
|
+
'table_view' => "Java::JavafxSceneControl::TableView",
|
132
|
+
'table_cell' => "Java::JavafxSceneControl::TableCell",
|
133
|
+
'table_column' => "Java::JavafxSceneControl::TableColumn",
|
134
|
+
'tab_pane' => "Java::JavafxSceneControl::TabPane",
|
135
|
+
'text_area' => "Java::JavafxSceneControl::TextArea",
|
136
|
+
'text_field' => "Java::JavafxSceneControl::TextField",
|
137
|
+
'titled_pane' => "Java::JavafxSceneControl::TitledPane",
|
138
|
+
'toggle_button' => "Java::JavafxSceneControl::ToggleButton",
|
139
|
+
'toggle_group' => "Java::JavafxSceneControl::ToggleGroup",
|
140
|
+
'tool_bar' => "Java::JavafxSceneControl::ToolBar",
|
141
|
+
'tooltip' => "Java::JavafxSceneControl::Tooltip",
|
142
|
+
'tree_cell' => "Java::JavafxSceneControl::TreeCell",
|
143
|
+
'tree_item' => "Java::JavafxSceneControl::TreeItem",
|
144
|
+
'tree_view' => "Java::JavafxSceneControl::TreeView",
|
145
|
+
'content_display' => "Java::JavafxSceneControl::ContentDisplay",
|
146
|
+
'overrun_style' => "Java::JavafxSceneControl::OverrunStyle",
|
147
|
+
'selection_mode' => "Java::JavafxSceneControl::SelectionMode",
|
148
|
+
'blend' => "Java::JavafxSceneEffect::Blend",
|
149
|
+
'blend_mode' => "Java::JavafxSceneEffect::BlendMode",
|
150
|
+
'bloom' => "Java::JavafxSceneEffect::Bloom",
|
151
|
+
'blur_type' => "Java::JavafxSceneEffect::BlurType",
|
152
|
+
'box_blur' => "Java::JavafxSceneEffect::BoxBlur",
|
153
|
+
'color_adjust' => "Java::JavafxSceneEffect::ColorAdjust",
|
154
|
+
'color_input' => "Java::JavafxSceneEffect::ColorInput",
|
155
|
+
'displacement_map' => "Java::JavafxSceneEffect::DisplacementMap",
|
156
|
+
'drop_shadow' => "Java::JavafxSceneEffect::DropShadow",
|
157
|
+
'gaussian_blur' => "Java::JavafxSceneEffect::GaussianBlur",
|
158
|
+
'glow' => "Java::JavafxSceneEffect::Glow",
|
159
|
+
'image_input' => "Java::JavafxSceneEffect::ImageInput",
|
160
|
+
'inner_shadow' => "Java::JavafxSceneEffect::InnerShadow",
|
161
|
+
'lighting' => "Java::JavafxSceneEffect::Lighting",
|
162
|
+
'motion_blur' => "Java::JavafxSceneEffect::MotionBlur",
|
163
|
+
'perspective_transform' => "Java::JavafxSceneEffect::PerspectiveTransform",
|
164
|
+
'reflection' => "Java::JavafxSceneEffect::Reflection",
|
165
|
+
'sepia_tone' => "Java::JavafxSceneEffect::SepiaTone",
|
166
|
+
'shadow' => "Java::JavafxSceneEffect::Shadow",
|
167
|
+
'image' => "Java::JavafxSceneImage::Image",
|
168
|
+
'image_view' => "Java::JavafxSceneImage::ImageView",
|
169
|
+
'pixel_reader' => "Java::JavafxSceneImage::PixelReader",
|
170
|
+
'pixel_writer' => "Java::JavafxSceneImage::PixelWriter",
|
171
|
+
'clipboard' => "Java::JavafxSceneInput::Clipboard",
|
172
|
+
'clipboard_content' => "Java::JavafxSceneInput::ClipboardContent",
|
173
|
+
'context_menu_event' => "Java::JavafxSceneInput::ContextMenuEvent",
|
174
|
+
'drag_event' => "Java::JavafxSceneInput::DragEvent",
|
175
|
+
'gesture_event' => "Java::JavafxSceneInput::GestureEvent",
|
176
|
+
'input_event' => "Java::JavafxSceneInput::InputEvent",
|
177
|
+
'input_method_event' => "Java::JavafxSceneInput::InputMethodEvent",
|
178
|
+
'key_code' => "Java::JavafxSceneInput::KeyCode",
|
179
|
+
'key_event' => "Java::JavafxSceneInput::KeyEvent",
|
180
|
+
'mnemonic' => "Java::JavafxSceneInput::Mnemonic",
|
181
|
+
'mouse_button' => "Java::JavafxSceneInput::MouseButton",
|
182
|
+
'mouse_drag_event' => "Java::JavafxSceneInput::MouseDragEvent",
|
183
|
+
'mouse_event' => "Java::JavafxSceneInput::MouseEvent",
|
184
|
+
'rotate_event' => "Java::JavafxSceneInput::RotateEvent",
|
185
|
+
'scroll_event' => "Java::JavafxSceneInput::ScrollEvent",
|
186
|
+
'swipe_event' => "Java::JavafxSceneInput::SwipeEvent",
|
187
|
+
'touch_event' => "Java::JavafxSceneInput::TouchEvent",
|
188
|
+
'transfer_mode' => "Java::JavafxSceneInput::TransferMode",
|
189
|
+
'zoom_event' => "Java::JavafxSceneInput::ZoomEvent",
|
190
|
+
'anchor_pane' => "Java::JavafxSceneLayout::AnchorPane",
|
191
|
+
'border_pane' => "Java::JavafxSceneLayout::BorderPane",
|
192
|
+
'column_constraints' => "Java::JavafxSceneLayout::ColumnConstraints",
|
193
|
+
'flow_pane' => "Java::JavafxSceneLayout::FlowPane",
|
194
|
+
'grid_pane' => "Java::JavafxSceneLayout::GridPane",
|
195
|
+
'hbox' => "Java::JavafxSceneLayout::HBox",
|
196
|
+
'pane' => "Java::JavafxSceneLayout::Pane",
|
197
|
+
'priority' => "Java::JavafxSceneLayout::Priority",
|
198
|
+
'row_constraints' => "Java::JavafxSceneLayout::RowConstraints",
|
199
|
+
'stack_pane' => "Java::JavafxSceneLayout::StackPane",
|
200
|
+
'tile_pane' => "Java::JavafxSceneLayout::TilePane",
|
201
|
+
'vbox' => "Java::JavafxSceneLayout::VBox",
|
202
|
+
'audio_clip' => "Java::JavafxSceneMedia::AudioClip",
|
203
|
+
'audio_equalizer' => "Java::JavafxSceneMedia::AudioEqualizer",
|
204
|
+
'audio_track' => "Java::JavafxSceneMedia::AudioTrack",
|
205
|
+
'equalizer_band' => "Java::JavafxSceneMedia::EqualizerBand",
|
206
|
+
'media' => "Java::JavafxSceneMedia::Media",
|
207
|
+
'media_exception' => "Java::JavafxSceneMedia::MediaException",
|
208
|
+
'media_error_event' => "Java::JavafxSceneMedia::MediaErrorEvent",
|
209
|
+
'media_marker_event' => "Java::JavafxSceneMedia::MediaMarkerEvent",
|
210
|
+
'media_player' => "Java::JavafxSceneMedia::MediaPlayer",
|
211
|
+
'media_view' => "Java::JavafxSceneMedia::MediaView",
|
212
|
+
'video_track' => "Java::JavafxSceneMedia::VideoTrack",
|
213
|
+
'color' => "Java::JavafxScenePaint::Color",
|
214
|
+
'cycle_method' => "Java::JavafxScenePaint::CycleMethod",
|
215
|
+
'image_pattern' => "Java::JavafxScenePaint::ImagePattern",
|
216
|
+
'linear_gradient' => "Java::JavafxScenePaint::LinearGradient",
|
217
|
+
'paint' => "Java::JavafxScenePaint::Paint",
|
218
|
+
'radial_gradient' => "Java::JavafxScenePaint::RadialGradient",
|
219
|
+
'stop' => "Java::JavafxScenePaint::Stop",
|
220
|
+
'arc' => "Java::JavafxSceneShape::Arc",
|
221
|
+
'arc_to' => "Java::JavafxSceneShape::ArcTo",
|
222
|
+
'arc_type' => "Java::JavafxSceneShape::ArcType",
|
223
|
+
'circle' => "Java::JavafxSceneShape::Circle",
|
224
|
+
'close_path' => "Java::JavafxSceneShape::ClosePath",
|
225
|
+
'cubic_curve' => "Java::JavafxSceneShape::CubicCurve",
|
226
|
+
'cubic_curve_to' => "Java::JavafxSceneShape::CubicCurveTo",
|
227
|
+
'ellipse' => "Java::JavafxSceneShape::Ellipse",
|
228
|
+
'fill_rule' => "Java::JavafxSceneShape::FillRule",
|
229
|
+
'hline_to' => "Java::JavafxSceneShape::HLineTo",
|
230
|
+
'line' => "Java::JavafxSceneShape::Line",
|
231
|
+
'line_to' => "Java::JavafxSceneShape::LineTo",
|
232
|
+
'move_to' => "Java::JavafxSceneShape::MoveTo",
|
233
|
+
'path' => "Java::JavafxSceneShape::Path",
|
234
|
+
'path_element' => "Java::JavafxSceneShape::PathElement",
|
235
|
+
'polygon' => "Java::JavafxSceneShape::Polygon",
|
236
|
+
'polyline' => "Java::JavafxSceneShape::Polyline",
|
237
|
+
'quad_curve' => "Java::JavafxSceneShape::QuadCurve",
|
238
|
+
'quad_curve_to' => "Java::JavafxSceneShape::QuadCurveTo",
|
239
|
+
'rectangle' => "Java::JavafxSceneShape::Rectangle",
|
240
|
+
'shape' => "Java::JavafxSceneShape::Shape",
|
241
|
+
'stroke_line_cap' => "Java::JavafxSceneShape::StrokeLineCap",
|
242
|
+
'stroke_line_join' => "Java::JavafxSceneShape::StrokeLineJoin",
|
243
|
+
'stroke_type' => "Java::JavafxSceneShape::StrokeType",
|
244
|
+
'svg_path' => "Java::JavafxSceneShape::SVGPath",
|
245
|
+
'vline_to' => "Java::JavafxSceneShape::VLineTo",
|
246
|
+
'font' => "Java::JavafxSceneText::Font",
|
247
|
+
'font_posture' => "Java::JavafxSceneText::FontPosture",
|
248
|
+
'font_smoothing_type' => "Java::JavafxSceneText::FontSmoothingType",
|
249
|
+
'font_weight' => "Java::JavafxSceneText::FontWeight",
|
250
|
+
'text' => "Java::JavafxSceneText::Text",
|
251
|
+
'text_alignment' => "Java::JavafxSceneText::TextAlignment",
|
252
|
+
'text_bounds_type' => "Java::JavafxSceneText::TextBoundsType",
|
253
|
+
'affine' => "Java::JavafxSceneTransform::Affine",
|
254
|
+
'rotate' => "Java::JavafxSceneTransform::Rotate",
|
255
|
+
'scale' => "Java::JavafxSceneTransform::Scale",
|
256
|
+
'shear' => "Java::JavafxSceneTransform::Shear",
|
257
|
+
'translate' => "Java::JavafxSceneTransform::Translate",
|
258
|
+
'web_view' => "Java::JavafxSceneWeb::WebView",
|
259
|
+
'html_editor' => "Java::JavafxSceneWeb::HTMLEditor",
|
260
|
+
'directory_chooser' => "Java::JavafxStage::DirectoryChooser",
|
261
|
+
'file_chooser' => "Java::JavafxStage::FileChooser",
|
262
|
+
'modality' => "Java::JavafxStage::Modality",
|
263
|
+
'popup' => "Java::JavafxStage::Popup",
|
264
|
+
'popup_window' => "Java::JavafxStage::PopupWindow",
|
265
|
+
'screen' => "Java::JavafxStage::Screen",
|
266
|
+
'stage' => "Java::JavafxStage::Stage",
|
267
|
+
'stage_style' => "Java::JavafxStage::StageStyle",
|
268
|
+
'window' => "Java::JavafxStage::Window",
|
269
|
+
'window_event' => "Java::JavafxStage::WindowEvent",
|
270
|
+
'duration' => "Java::JavafxUtil::Duration",
|
271
|
+
}
|
272
|
+
end
|
273
|
+
end
|