Module: JRubyFX::DSL
- Included in:
- Application, Controller, Controller::ClassMethods, Java::javafx::scene::chart::XYChart, Java::javafx::scene::chart::XYChart::Data, Java::javafx::scene::chart::XYChart::Series, Java::javafx::scene::control::TreeView, Java::javafx::scene::layout::BorderPane, Java::javafx::scene::layout::GridPane, Java::javafx::stage::FileChooser, Java::javafx::stage::Stage
- Defined in:
- lib/jrubyfx/dsl.rb,
lib/jrubyfx/dsl_map.rb
Overview
Defines a nice DSL for building JavaFX applications. Include it in a class for access to the DSL. JRubyFX::Application and JRubyFX::Controller include it already.
Defined Under Namespace
Modules: ClassUtils
Constant Summary collapse
- NAME_TO_CLASSES =
{ # Manual overrides 'observable_array_list' => proc { |*args| FXCollections.observable_array_list(*args) }, 'double_property' => Java::JavafxBeansProperty::SimpleDoubleProperty, 'xy_chart_series' => Java::javafx.scene.chart.XYChart::Series, 'xy_chart_data' => Java::javafx.scene.chart.XYChart::Data, # Automatically generated }
- NAME_TO_CLASS_NAME =
Automatically generated
{ 'animation' => "Java::JavafxAnimation::Animation", 'animation_timer' => "Java::JavafxAnimation::AnimationTimer", 'fade_transition' => "Java::JavafxAnimation::FadeTransition", 'fill_transition' => "Java::JavafxAnimation::FillTransition", 'interpolatable' => "Java::JavafxAnimation::Interpolatable", 'interpolator' => "Java::JavafxAnimation::Interpolator", 'key_frame' => "Java::JavafxAnimation::KeyFrame", 'key_value' => "Java::JavafxAnimation::KeyValue", 'parallel_transition' => "Java::JavafxAnimation::ParallelTransition", 'path_transition' => "Java::JavafxAnimation::PathTransition", 'pause_transition' => "Java::JavafxAnimation::PauseTransition", 'rotate_transition' => "Java::JavafxAnimation::RotateTransition", 'scale_transition' => "Java::JavafxAnimation::ScaleTransition", 'sequential_transition' => "Java::JavafxAnimation::SequentialTransition", 'stroke_transition' => "Java::JavafxAnimation::StrokeTransition", 'timeline' => "Java::JavafxAnimation::Timeline", 'transition' => "Java::JavafxAnimation::Transition", 'translate_transition' => "Java::JavafxAnimation::TranslateTransition", 'application' => "Java::JavafxApplication::Application", 'conditional_feature' => "Java::JavafxApplication::ConditionalFeature", 'host_services' => "Java::JavafxApplication::HostServices", 'platform' => "Java::JavafxApplication::Platform", 'preloader' => "Java::JavafxApplication::Preloader", 'binding' => "Java::JavafxBeansBinding::Binding", 'bindings' => "Java::JavafxBeansBinding::Bindings", 'boolean_binding' => "Java::JavafxBeansBinding::BooleanBinding", 'boolean_expression' => "Java::JavafxBeansBinding::BooleanExpression", 'double_binding' => "Java::JavafxBeansBinding::DoubleBinding", 'double_expression' => "Java::JavafxBeansBinding::DoubleExpression", 'float_binding' => "Java::JavafxBeansBinding::FloatBinding", 'float_expression' => "Java::JavafxBeansBinding::FloatExpression", 'integer_binding' => "Java::JavafxBeansBinding::IntegerBinding", 'integer_expression' => "Java::JavafxBeansBinding::IntegerExpression", 'list_binding' => "Java::JavafxBeansBinding::ListBinding", 'list_expression' => "Java::JavafxBeansBinding::ListExpression", 'long_binding' => "Java::JavafxBeansBinding::LongBinding", 'long_expression' => "Java::JavafxBeansBinding::LongExpression", 'map_binding' => "Java::JavafxBeansBinding::MapBinding", 'map_expression' => "Java::JavafxBeansBinding::MapExpression", 'number_binding' => "Java::JavafxBeansBinding::NumberBinding", 'number_expression' => "Java::JavafxBeansBinding::NumberExpression", 'number_expression_base' => "Java::JavafxBeansBinding::NumberExpressionBase", 'object_binding' => "Java::JavafxBeansBinding::ObjectBinding", 'object_expression' => "Java::JavafxBeansBinding::ObjectExpression", 'set_binding' => "Java::JavafxBeansBinding::SetBinding", 'set_expression' => "Java::JavafxBeansBinding::SetExpression", 'string_binding' => "Java::JavafxBeansBinding::StringBinding", 'string_expression' => "Java::JavafxBeansBinding::StringExpression", 'when' => "Java::JavafxBeansBinding::When", 'default_property' => "Java::JavafxBeans::DefaultProperty", 'invalidation_listener' => "Java::JavafxBeans::InvalidationListener", 'named_arg' => "Java::JavafxBeans::NamedArg", 'observable' => "Java::JavafxBeans::Observable", 'weak_invalidation_listener' => "Java::JavafxBeans::WeakInvalidationListener", 'weak_listener' => "Java::JavafxBeans::WeakListener", 'java_bean_boolean_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanBooleanProperty", 'java_bean_boolean_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanBooleanPropertyBuilder", 'java_bean_double_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanDoubleProperty", 'java_bean_double_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanDoublePropertyBuilder", 'java_bean_float_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanFloatProperty", 'java_bean_float_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanFloatPropertyBuilder", 'java_bean_integer_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanIntegerProperty", 'java_bean_integer_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanIntegerPropertyBuilder", 'java_bean_long_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanLongProperty", 'java_bean_long_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanLongPropertyBuilder", 'java_bean_object_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanObjectProperty", 'java_bean_object_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanObjectPropertyBuilder", 'java_bean_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanProperty", 'java_bean_string_property' => "Java::JavafxBeansPropertyAdapter::JavaBeanStringProperty", 'java_bean_string_property_builder' => "Java::JavafxBeansPropertyAdapter::JavaBeanStringPropertyBuilder", 'read_only_java_bean_boolean_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanBooleanProperty", 'read_only_java_bean_boolean_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanBooleanPropertyBuilder", 'read_only_java_bean_double_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanDoubleProperty", 'read_only_java_bean_double_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanDoublePropertyBuilder", 'read_only_java_bean_float_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanFloatProperty", 'read_only_java_bean_float_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanFloatPropertyBuilder", 'read_only_java_bean_integer_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanIntegerProperty", 'read_only_java_bean_integer_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanIntegerPropertyBuilder", 'read_only_java_bean_long_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanLongProperty", 'read_only_java_bean_long_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanLongPropertyBuilder", 'read_only_java_bean_object_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanObjectProperty", 'read_only_java_bean_object_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanObjectPropertyBuilder", 'read_only_java_bean_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanProperty", 'read_only_java_bean_string_property' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanStringProperty", 'read_only_java_bean_string_property_builder' => "Java::JavafxBeansPropertyAdapter::ReadOnlyJavaBeanStringPropertyBuilder", 'boolean_property' => "Java::JavafxBeansProperty::BooleanProperty", 'boolean_property_base' => "Java::JavafxBeansProperty::BooleanPropertyBase", 'double_property' => "Java::JavafxBeansProperty::DoubleProperty", 'double_property_base' => "Java::JavafxBeansProperty::DoublePropertyBase", 'float_property' => "Java::JavafxBeansProperty::FloatProperty", 'float_property_base' => "Java::JavafxBeansProperty::FloatPropertyBase", 'integer_property' => "Java::JavafxBeansProperty::IntegerProperty", 'integer_property_base' => "Java::JavafxBeansProperty::IntegerPropertyBase", 'list_property' => "Java::JavafxBeansProperty::ListProperty", 'list_property_base' => "Java::JavafxBeansProperty::ListPropertyBase", 'long_property' => "Java::JavafxBeansProperty::LongProperty", 'long_property_base' => "Java::JavafxBeansProperty::LongPropertyBase", 'map_property' => "Java::JavafxBeansProperty::MapProperty", 'map_property_base' => "Java::JavafxBeansProperty::MapPropertyBase", 'object_property' => "Java::JavafxBeansProperty::ObjectProperty", 'object_property_base' => "Java::JavafxBeansProperty::ObjectPropertyBase", 'property' => "Java::JavafxBeansProperty::Property", 'read_only_boolean_property' => "Java::JavafxBeansProperty::ReadOnlyBooleanProperty", 'read_only_boolean_property_base' => "Java::JavafxBeansProperty::ReadOnlyBooleanPropertyBase", 'read_only_boolean_wrapper' => "Java::JavafxBeansProperty::ReadOnlyBooleanWrapper", 'read_only_double_property' => "Java::JavafxBeansProperty::ReadOnlyDoubleProperty", 'read_only_double_property_base' => "Java::JavafxBeansProperty::ReadOnlyDoublePropertyBase", 'read_only_double_wrapper' => "Java::JavafxBeansProperty::ReadOnlyDoubleWrapper", 'read_only_float_property' => "Java::JavafxBeansProperty::ReadOnlyFloatProperty", 'read_only_float_property_base' => "Java::JavafxBeansProperty::ReadOnlyFloatPropertyBase", 'read_only_float_wrapper' => "Java::JavafxBeansProperty::ReadOnlyFloatWrapper", 'read_only_integer_property' => "Java::JavafxBeansProperty::ReadOnlyIntegerProperty", 'read_only_integer_property_base' => "Java::JavafxBeansProperty::ReadOnlyIntegerPropertyBase", 'read_only_integer_wrapper' => "Java::JavafxBeansProperty::ReadOnlyIntegerWrapper", 'read_only_list_property' => "Java::JavafxBeansProperty::ReadOnlyListProperty", 'read_only_list_property_base' => "Java::JavafxBeansProperty::ReadOnlyListPropertyBase", 'read_only_list_wrapper' => "Java::JavafxBeansProperty::ReadOnlyListWrapper", 'read_only_long_property' => "Java::JavafxBeansProperty::ReadOnlyLongProperty", 'read_only_long_property_base' => "Java::JavafxBeansProperty::ReadOnlyLongPropertyBase", 'read_only_long_wrapper' => "Java::JavafxBeansProperty::ReadOnlyLongWrapper", 'read_only_map_property' => "Java::JavafxBeansProperty::ReadOnlyMapProperty", 'read_only_map_property_base' => "Java::JavafxBeansProperty::ReadOnlyMapPropertyBase", 'read_only_map_wrapper' => "Java::JavafxBeansProperty::ReadOnlyMapWrapper", 'read_only_object_property' => "Java::JavafxBeansProperty::ReadOnlyObjectProperty", 'read_only_object_property_base' => "Java::JavafxBeansProperty::ReadOnlyObjectPropertyBase", 'read_only_object_wrapper' => "Java::JavafxBeansProperty::ReadOnlyObjectWrapper", 'read_only_property' => "Java::JavafxBeansProperty::ReadOnlyProperty", 'read_only_set_property' => "Java::JavafxBeansProperty::ReadOnlySetProperty", 'read_only_set_property_base' => "Java::JavafxBeansProperty::ReadOnlySetPropertyBase", 'read_only_set_wrapper' => "Java::JavafxBeansProperty::ReadOnlySetWrapper", 'read_only_string_property' => "Java::JavafxBeansProperty::ReadOnlyStringProperty", 'read_only_string_property_base' => "Java::JavafxBeansProperty::ReadOnlyStringPropertyBase", 'read_only_string_wrapper' => "Java::JavafxBeansProperty::ReadOnlyStringWrapper", 'set_property' => "Java::JavafxBeansProperty::SetProperty", 'set_property_base' => "Java::JavafxBeansProperty::SetPropertyBase", 'simple_boolean_property' => "Java::JavafxBeansProperty::SimpleBooleanProperty", 'simple_double_property' => "Java::JavafxBeansProperty::SimpleDoubleProperty", 'simple_float_property' => "Java::JavafxBeansProperty::SimpleFloatProperty", 'simple_integer_property' => "Java::JavafxBeansProperty::SimpleIntegerProperty", 'simple_list_property' => "Java::JavafxBeansProperty::SimpleListProperty", 'simple_long_property' => "Java::JavafxBeansProperty::SimpleLongProperty", 'simple_map_property' => "Java::JavafxBeansProperty::SimpleMapProperty", 'simple_object_property' => "Java::JavafxBeansProperty::SimpleObjectProperty", 'simple_set_property' => "Java::JavafxBeansProperty::SimpleSetProperty", 'simple_string_property' => "Java::JavafxBeansProperty::SimpleStringProperty", 'string_property' => "Java::JavafxBeansProperty::StringProperty", 'string_property_base' => "Java::JavafxBeansProperty::StringPropertyBase", 'change_listener' => "Java::JavafxBeansValue::ChangeListener", 'observable_boolean_value' => "Java::JavafxBeansValue::ObservableBooleanValue", 'observable_double_value' => "Java::JavafxBeansValue::ObservableDoubleValue", 'observable_float_value' => "Java::JavafxBeansValue::ObservableFloatValue", 'observable_integer_value' => "Java::JavafxBeansValue::ObservableIntegerValue", 'observable_list_value' => "Java::JavafxBeansValue::ObservableListValue", 'observable_long_value' => "Java::JavafxBeansValue::ObservableLongValue", 'observable_map_value' => "Java::JavafxBeansValue::ObservableMapValue", 'observable_number_value' => "Java::JavafxBeansValue::ObservableNumberValue", 'observable_object_value' => "Java::JavafxBeansValue::ObservableObjectValue", 'observable_set_value' => "Java::JavafxBeansValue::ObservableSetValue", 'observable_string_value' => "Java::JavafxBeansValue::ObservableStringValue", 'observable_value' => "Java::JavafxBeansValue::ObservableValue", 'observable_value_base' => "Java::JavafxBeansValue::ObservableValueBase", 'weak_change_listener' => "Java::JavafxBeansValue::WeakChangeListener", 'writable_boolean_value' => "Java::JavafxBeansValue::WritableBooleanValue", 'writable_double_value' => "Java::JavafxBeansValue::WritableDoubleValue", 'writable_float_value' => "Java::JavafxBeansValue::WritableFloatValue", 'writable_integer_value' => "Java::JavafxBeansValue::WritableIntegerValue", 'writable_list_value' => "Java::JavafxBeansValue::WritableListValue", 'writable_long_value' => "Java::JavafxBeansValue::WritableLongValue", 'writable_map_value' => "Java::JavafxBeansValue::WritableMapValue", 'writable_number_value' => "Java::JavafxBeansValue::WritableNumberValue", 'writable_object_value' => "Java::JavafxBeansValue::WritableObjectValue", 'writable_set_value' => "Java::JavafxBeansValue::WritableSetValue", 'writable_string_value' => "Java::JavafxBeansValue::WritableStringValue", 'writable_value' => "Java::JavafxBeansValue::WritableValue", 'array_change_listener' => "Java::JavafxCollections::ArrayChangeListener", 'fx_collections' => "Java::JavafxCollections::FXCollections", 'list_change_listener' => "Java::JavafxCollections::ListChangeListener", 'map_change_listener' => "Java::JavafxCollections::MapChangeListener", 'modifiable_observable_list_base' => "Java::JavafxCollections::ModifiableObservableListBase", 'observable_array' => "Java::JavafxCollections::ObservableArray", 'observable_array_base' => "Java::JavafxCollections::ObservableArrayBase", 'observable_float_array' => "Java::JavafxCollections::ObservableFloatArray", 'observable_integer_array' => "Java::JavafxCollections::ObservableIntegerArray", 'observable_list' => "Java::JavafxCollections::ObservableList", 'observable_list_base' => "Java::JavafxCollections::ObservableListBase", 'observable_map' => "Java::JavafxCollections::ObservableMap", 'observable_set' => "Java::JavafxCollections::ObservableSet", 'set_change_listener' => "Java::JavafxCollections::SetChangeListener", 'weak_list_change_listener' => "Java::JavafxCollections::WeakListChangeListener", 'weak_map_change_listener' => "Java::JavafxCollections::WeakMapChangeListener", 'weak_set_change_listener' => "Java::JavafxCollections::WeakSetChangeListener", 'filtered_list' => "Java::JavafxCollectionsTransformation::FilteredList", 'sorted_list' => "Java::JavafxCollectionsTransformation::SortedList", 'transformation_list' => "Java::JavafxCollectionsTransformation::TransformationList", 'scheduled_service' => "Java::JavafxConcurrent::ScheduledService", 'service' => "Java::JavafxConcurrent::Service", 'task' => "Java::JavafxConcurrent::Task", 'worker' => "Java::JavafxConcurrent::Worker", 'worker_state_event' => "Java::JavafxConcurrent::WorkerStateEvent", 'compound_selector' => "Java::JavafxCss::CompoundSelector", 'css_meta_data' => "Java::JavafxCss::CssMetaData", 'css_parser' => "Java::JavafxCss::CssParser", 'declaration' => "Java::JavafxCss::Declaration", 'font_css_meta_data' => "Java::JavafxCss::FontCssMetaData", 'font_face' => "Java::JavafxCss::FontFace", 'match' => "Java::JavafxCss::Match", 'parsed_value' => "Java::JavafxCss::ParsedValue", 'pseudo_class' => "Java::JavafxCss::PseudoClass", 'rule' => "Java::JavafxCss::Rule", 'selector' => "Java::JavafxCss::Selector", 'simple_selector' => "Java::JavafxCss::SimpleSelector", 'simple_styleable_boolean_property' => "Java::JavafxCss::SimpleStyleableBooleanProperty", 'simple_styleable_double_property' => "Java::JavafxCss::SimpleStyleableDoubleProperty", 'simple_styleable_float_property' => "Java::JavafxCss::SimpleStyleableFloatProperty", 'simple_styleable_integer_property' => "Java::JavafxCss::SimpleStyleableIntegerProperty", 'simple_styleable_long_property' => "Java::JavafxCss::SimpleStyleableLongProperty", 'simple_styleable_object_property' => "Java::JavafxCss::SimpleStyleableObjectProperty", 'simple_styleable_string_property' => "Java::JavafxCss::SimpleStyleableStringProperty", 'size' => "Java::JavafxCss::Size", 'size_units' => "Java::JavafxCss::SizeUnits", 'style' => "Java::JavafxCss::Style", 'styleable' => "Java::JavafxCss::Styleable", 'styleable_boolean_property' => "Java::JavafxCss::StyleableBooleanProperty", 'styleable_double_property' => "Java::JavafxCss::StyleableDoubleProperty", 'styleable_float_property' => "Java::JavafxCss::StyleableFloatProperty", 'styleable_integer_property' => "Java::JavafxCss::StyleableIntegerProperty", 'styleable_long_property' => "Java::JavafxCss::StyleableLongProperty", 'styleable_object_property' => "Java::JavafxCss::StyleableObjectProperty", 'styleable_property' => "Java::JavafxCss::StyleableProperty", 'styleable_property_factory' => "Java::JavafxCss::StyleablePropertyFactory", 'styleable_string_property' => "Java::JavafxCss::StyleableStringProperty", 'style_class' => "Java::JavafxCss::StyleClass", 'style_converter' => "Java::JavafxCss::StyleConverter", 'style_origin' => "Java::JavafxCss::StyleOrigin", 'stylesheet' => "Java::JavafxCss::Stylesheet", 'boolean_converter' => "Java::JavafxCssConverter::BooleanConverter", 'color_converter' => "Java::JavafxCssConverter::ColorConverter", 'cursor_converter' => "Java::JavafxCssConverter::CursorConverter", 'derive_color_converter' => "Java::JavafxCssConverter::DeriveColorConverter", 'derive_size_converter' => "Java::JavafxCssConverter::DeriveSizeConverter", 'duration_converter' => "Java::JavafxCssConverter::DurationConverter", 'effect_converter' => "Java::JavafxCssConverter::EffectConverter", 'enum_converter' => "Java::JavafxCssConverter::EnumConverter", 'font_converter' => "Java::JavafxCssConverter::FontConverter", 'insets_converter' => "Java::JavafxCssConverter::InsetsConverter", 'ladder_converter' => "Java::JavafxCssConverter::LadderConverter", 'paint_converter' => "Java::JavafxCssConverter::PaintConverter", 'shape_converter' => "Java::JavafxCssConverter::ShapeConverter", 'size_converter' => "Java::JavafxCssConverter::SizeConverter", 'stop_converter' => "Java::JavafxCssConverter::StopConverter", 'url_converter' => "Java::JavafxCssConverter::URLConverter", 'jfx_panel' => "Java::JavafxEmbedSwing::JFXPanel", 'swing_fx_utils' => "Java::JavafxEmbedSwing::SwingFXUtils", 'swing_node' => "Java::JavafxEmbedSwing::SwingNode", 'action_event' => "Java::JavafxEvent::ActionEvent", 'event' => "Java::JavafxEvent::Event", 'event_dispatch_chain' => "Java::JavafxEvent::EventDispatchChain", 'event_dispatcher' => "Java::JavafxEvent::EventDispatcher", 'event_handler' => "Java::JavafxEvent::EventHandler", 'event_target' => "Java::JavafxEvent::EventTarget", 'event_type' => "Java::JavafxEvent::EventType", 'weak_event_handler' => "Java::JavafxEvent::WeakEventHandler", 'fxml' => "Java::JavafxFxml::FXML", 'fxml_loader' => "Java::JavafxFxml::FXMLLoader", 'initializable' => "Java::JavafxFxml::Initializable", 'java_fx_builder_factory' => "Java::JavafxFxml::JavaFXBuilderFactory", 'load_exception' => "Java::JavafxFxml::LoadException", 'load_listener' => "Java::JavafxFxml::LoadListener", 'bounding_box' => "Java::JavafxGeometry::BoundingBox", 'bounds' => "Java::JavafxGeometry::Bounds", 'dimension2_d' => "Java::JavafxGeometry::Dimension2D", 'horizontal_direction' => "Java::JavafxGeometry::HorizontalDirection", 'h_pos' => "Java::JavafxGeometry::HPos", 'insets' => "Java::JavafxGeometry::Insets", 'node_orientation' => "Java::JavafxGeometry::NodeOrientation", 'orientation' => "Java::JavafxGeometry::Orientation", 'point2_d' => "Java::JavafxGeometry::Point2D", 'point3_d' => "Java::JavafxGeometry::Point3D", 'pos' => "Java::JavafxGeometry::Pos", 'rectangle2_d' => "Java::JavafxGeometry::Rectangle2D", 'side' => "Java::JavafxGeometry::Side", 'vertical_direction' => "Java::JavafxGeometry::VerticalDirection", 'v_pos' => "Java::JavafxGeometry::VPos", 'collation' => "Java::JavafxPrint::Collation", 'job_settings' => "Java::JavafxPrint::JobSettings", 'page_layout' => "Java::JavafxPrint::PageLayout", 'page_orientation' => "Java::JavafxPrint::PageOrientation", 'page_range' => "Java::JavafxPrint::PageRange", 'paper' => "Java::JavafxPrint::Paper", 'paper_source' => "Java::JavafxPrint::PaperSource", 'print_color' => "Java::JavafxPrint::PrintColor", 'printer' => "Java::JavafxPrint::Printer", 'printer_attributes' => "Java::JavafxPrint::PrinterAttributes", 'printer_job' => "Java::JavafxPrint::PrinterJob", 'print_quality' => "Java::JavafxPrint::PrintQuality", 'print_resolution' => "Java::JavafxPrint::PrintResolution", 'print_sides' => "Java::JavafxPrint::PrintSides", 'accessible_action' => "Java::JavafxScene::AccessibleAction", 'accessible_attribute' => "Java::JavafxScene::AccessibleAttribute", 'accessible_role' => "Java::JavafxScene::AccessibleRole", 'ambient_light' => "Java::JavafxScene::AmbientLight", 'cache_hint' => "Java::JavafxScene::CacheHint", 'camera' => "Java::JavafxScene::Camera", 'cursor' => "Java::JavafxScene::Cursor", 'depth_test' => "Java::JavafxScene::DepthTest", 'group' => "Java::JavafxScene::Group", 'image_cursor' => "Java::JavafxScene::ImageCursor", 'light_base' => "Java::JavafxScene::LightBase", 'node' => "Java::JavafxScene::Node", 'parallel_camera' => "Java::JavafxScene::ParallelCamera", 'parent' => "Java::JavafxScene::Parent", 'perspective_camera' => "Java::JavafxScene::PerspectiveCamera", 'point_light' => "Java::JavafxScene::PointLight", 'scene' => "Java::JavafxScene::Scene", 'scene_antialiasing' => "Java::JavafxScene::SceneAntialiasing", 'snapshot_parameters' => "Java::JavafxScene::SnapshotParameters", 'snapshot_result' => "Java::JavafxScene::SnapshotResult", 'sub_scene' => "Java::JavafxScene::SubScene", 'canvas' => "Java::JavafxSceneCanvas::Canvas", 'graphics_context' => "Java::JavafxSceneCanvas::GraphicsContext", 'area_chart' => "Java::JavafxSceneChart::AreaChart", 'axis' => "Java::JavafxSceneChart::Axis", 'bar_chart' => "Java::JavafxSceneChart::BarChart", 'bubble_chart' => "Java::JavafxSceneChart::BubbleChart", 'category_axis' => "Java::JavafxSceneChart::CategoryAxis", 'chart' => "Java::JavafxSceneChart::Chart", 'line_chart' => "Java::JavafxSceneChart::LineChart", 'number_axis' => "Java::JavafxSceneChart::NumberAxis", 'pie_chart' => "Java::JavafxSceneChart::PieChart", 'scatter_chart' => "Java::JavafxSceneChart::ScatterChart", 'stacked_area_chart' => "Java::JavafxSceneChart::StackedAreaChart", 'stacked_bar_chart' => "Java::JavafxSceneChart::StackedBarChart", 'value_axis' => "Java::JavafxSceneChart::ValueAxis", 'xy_chart' => "Java::JavafxSceneChart::XYChart", 'accordion' => "Java::JavafxSceneControl::Accordion", 'alert' => "Java::JavafxSceneControl::Alert", 'button' => "Java::JavafxSceneControl::Button", 'button_bar' => "Java::JavafxSceneControl::ButtonBar", 'button_base' => "Java::JavafxSceneControl::ButtonBase", 'button_type' => "Java::JavafxSceneControl::ButtonType", 'cell' => "Java::JavafxSceneControl::Cell", 'check_box' => "Java::JavafxSceneControl::CheckBox", 'check_box_tree_item' => "Java::JavafxSceneControl::CheckBoxTreeItem", 'check_menu_item' => "Java::JavafxSceneControl::CheckMenuItem", 'choice_box' => "Java::JavafxSceneControl::ChoiceBox", 'choice_dialog' => "Java::JavafxSceneControl::ChoiceDialog", 'color_picker' => "Java::JavafxSceneControl::ColorPicker", 'combo_box' => "Java::JavafxSceneControl::ComboBox", 'combo_box_base' => "Java::JavafxSceneControl::ComboBoxBase", 'content_display' => "Java::JavafxSceneControl::ContentDisplay", 'context_menu' => "Java::JavafxSceneControl::ContextMenu", 'control' => "Java::JavafxSceneControl::Control", 'custom_menu_item' => "Java::JavafxSceneControl::CustomMenuItem", 'date_cell' => "Java::JavafxSceneControl::DateCell", 'date_picker' => "Java::JavafxSceneControl::DatePicker", 'dialog' => "Java::JavafxSceneControl::Dialog", 'dialog_event' => "Java::JavafxSceneControl::DialogEvent", 'dialog_pane' => "Java::JavafxSceneControl::DialogPane", 'focus_model' => "Java::JavafxSceneControl::FocusModel", 'hyperlink' => "Java::JavafxSceneControl::Hyperlink", 'indexed_cell' => "Java::JavafxSceneControl::IndexedCell", 'index_range' => "Java::JavafxSceneControl::IndexRange", 'label' => "Java::JavafxSceneControl::Label", 'labeled' => "Java::JavafxSceneControl::Labeled", 'list_cell' => "Java::JavafxSceneControl::ListCell", 'list_view' => "Java::JavafxSceneControl::ListView", 'menu' => "Java::JavafxSceneControl::Menu", 'menu_bar' => "Java::JavafxSceneControl::MenuBar", 'menu_button' => "Java::JavafxSceneControl::MenuButton", 'menu_item' => "Java::JavafxSceneControl::MenuItem", 'multiple_selection_model' => "Java::JavafxSceneControl::MultipleSelectionModel", 'overrun_style' => "Java::JavafxSceneControl::OverrunStyle", 'pagination' => "Java::JavafxSceneControl::Pagination", 'password_field' => "Java::JavafxSceneControl::PasswordField", 'popup_control' => "Java::JavafxSceneControl::PopupControl", 'progress_bar' => "Java::JavafxSceneControl::ProgressBar", 'progress_indicator' => "Java::JavafxSceneControl::ProgressIndicator", 'radio_button' => "Java::JavafxSceneControl::RadioButton", 'radio_menu_item' => "Java::JavafxSceneControl::RadioMenuItem", 'resize_features_base' => "Java::JavafxSceneControl::ResizeFeaturesBase", 'scroll_bar' => "Java::JavafxSceneControl::ScrollBar", 'scroll_pane' => "Java::JavafxSceneControl::ScrollPane", 'scroll_to_event' => "Java::JavafxSceneControl::ScrollToEvent", 'selection_mode' => "Java::JavafxSceneControl::SelectionMode", 'selection_model' => "Java::JavafxSceneControl::SelectionModel", 'separator' => "Java::JavafxSceneControl::Separator", 'separator_menu_item' => "Java::JavafxSceneControl::SeparatorMenuItem", 'single_selection_model' => "Java::JavafxSceneControl::SingleSelectionModel", 'skin' => "Java::JavafxSceneControl::Skin", 'skin_base' => "Java::JavafxSceneControl::SkinBase", 'skinnable' => "Java::JavafxSceneControl::Skinnable", 'slider' => "Java::JavafxSceneControl::Slider", 'sort_event' => "Java::JavafxSceneControl::SortEvent", 'spinner' => "Java::JavafxSceneControl::Spinner", 'spinner_value_factory' => "Java::JavafxSceneControl::SpinnerValueFactory", 'split_menu_button' => "Java::JavafxSceneControl::SplitMenuButton", 'split_pane' => "Java::JavafxSceneControl::SplitPane", 'tab' => "Java::JavafxSceneControl::Tab", 'table_cell' => "Java::JavafxSceneControl::TableCell", 'table_column' => "Java::JavafxSceneControl::TableColumn", 'table_column_base' => "Java::JavafxSceneControl::TableColumnBase", 'table_focus_model' => "Java::JavafxSceneControl::TableFocusModel", 'table_position' => "Java::JavafxSceneControl::TablePosition", 'table_position_base' => "Java::JavafxSceneControl::TablePositionBase", 'table_row' => "Java::JavafxSceneControl::TableRow", 'table_selection_model' => "Java::JavafxSceneControl::TableSelectionModel", 'table_view' => "Java::JavafxSceneControl::TableView", 'tab_pane' => "Java::JavafxSceneControl::TabPane", 'text_area' => "Java::JavafxSceneControl::TextArea", 'text_field' => "Java::JavafxSceneControl::TextField", 'text_formatter' => "Java::JavafxSceneControl::TextFormatter", 'text_input_control' => "Java::JavafxSceneControl::TextInputControl", 'text_input_dialog' => "Java::JavafxSceneControl::TextInputDialog", 'titled_pane' => "Java::JavafxSceneControl::TitledPane", 'toggle' => "Java::JavafxSceneControl::Toggle", 'toggle_button' => "Java::JavafxSceneControl::ToggleButton", 'toggle_group' => "Java::JavafxSceneControl::ToggleGroup", 'tool_bar' => "Java::JavafxSceneControl::ToolBar", 'tooltip' => "Java::JavafxSceneControl::Tooltip", 'tree_cell' => "Java::JavafxSceneControl::TreeCell", 'tree_item' => "Java::JavafxSceneControl::TreeItem", 'tree_sort_mode' => "Java::JavafxSceneControl::TreeSortMode", 'tree_table_cell' => "Java::JavafxSceneControl::TreeTableCell", 'tree_table_column' => "Java::JavafxSceneControl::TreeTableColumn", 'tree_table_position' => "Java::JavafxSceneControl::TreeTablePosition", 'tree_table_row' => "Java::JavafxSceneControl::TreeTableRow", 'tree_table_view' => "Java::JavafxSceneControl::TreeTableView", 'tree_view' => "Java::JavafxSceneControl::TreeView", 'check_box_list_cell' => "Java::JavafxSceneControlCell::CheckBoxListCell", 'check_box_table_cell' => "Java::JavafxSceneControlCell::CheckBoxTableCell", 'check_box_tree_cell' => "Java::JavafxSceneControlCell::CheckBoxTreeCell", 'check_box_tree_table_cell' => "Java::JavafxSceneControlCell::CheckBoxTreeTableCell", 'choice_box_list_cell' => "Java::JavafxSceneControlCell::ChoiceBoxListCell", 'choice_box_table_cell' => "Java::JavafxSceneControlCell::ChoiceBoxTableCell", 'choice_box_tree_cell' => "Java::JavafxSceneControlCell::ChoiceBoxTreeCell", 'choice_box_tree_table_cell' => "Java::JavafxSceneControlCell::ChoiceBoxTreeTableCell", 'combo_box_list_cell' => "Java::JavafxSceneControlCell::ComboBoxListCell", 'combo_box_table_cell' => "Java::JavafxSceneControlCell::ComboBoxTableCell", 'combo_box_tree_cell' => "Java::JavafxSceneControlCell::ComboBoxTreeCell", 'combo_box_tree_table_cell' => "Java::JavafxSceneControlCell::ComboBoxTreeTableCell", 'map_value_factory' => "Java::JavafxSceneControlCell::MapValueFactory", 'progress_bar_table_cell' => "Java::JavafxSceneControlCell::ProgressBarTableCell", 'progress_bar_tree_table_cell' => "Java::JavafxSceneControlCell::ProgressBarTreeTableCell", 'property_value_factory' => "Java::JavafxSceneControlCell::PropertyValueFactory", 'text_field_list_cell' => "Java::JavafxSceneControlCell::TextFieldListCell", 'text_field_table_cell' => "Java::JavafxSceneControlCell::TextFieldTableCell", 'text_field_tree_cell' => "Java::JavafxSceneControlCell::TextFieldTreeCell", 'text_field_tree_table_cell' => "Java::JavafxSceneControlCell::TextFieldTreeTableCell", 'tree_item_property_value_factory' => "Java::JavafxSceneControlCell::TreeItemPropertyValueFactory", 'accordion_skin' => "Java::JavafxSceneControlSkin::AccordionSkin", 'button_bar_skin' => "Java::JavafxSceneControlSkin::ButtonBarSkin", 'button_skin' => "Java::JavafxSceneControlSkin::ButtonSkin", 'cell_skin_base' => "Java::JavafxSceneControlSkin::CellSkinBase", 'check_box_skin' => "Java::JavafxSceneControlSkin::CheckBoxSkin", 'choice_box_skin' => "Java::JavafxSceneControlSkin::ChoiceBoxSkin", 'color_picker_skin' => "Java::JavafxSceneControlSkin::ColorPickerSkin", 'combo_box_base_skin' => "Java::JavafxSceneControlSkin::ComboBoxBaseSkin", 'combo_box_list_view_skin' => "Java::JavafxSceneControlSkin::ComboBoxListViewSkin", 'combo_box_popup_control' => "Java::JavafxSceneControlSkin::ComboBoxPopupControl", 'context_menu_skin' => "Java::JavafxSceneControlSkin::ContextMenuSkin", 'date_cell_skin' => "Java::JavafxSceneControlSkin::DateCellSkin", 'date_picker_skin' => "Java::JavafxSceneControlSkin::DatePickerSkin", 'hyperlink_skin' => "Java::JavafxSceneControlSkin::HyperlinkSkin", 'labeled_skin_base' => "Java::JavafxSceneControlSkin::LabeledSkinBase", 'label_skin' => "Java::JavafxSceneControlSkin::LabelSkin", 'list_cell_skin' => "Java::JavafxSceneControlSkin::ListCellSkin", 'list_view_skin' => "Java::JavafxSceneControlSkin::ListViewSkin", 'menu_bar_skin' => "Java::JavafxSceneControlSkin::MenuBarSkin", 'menu_button_skin' => "Java::JavafxSceneControlSkin::MenuButtonSkin", 'menu_button_skin_base' => "Java::JavafxSceneControlSkin::MenuButtonSkinBase", 'nested_table_column_header' => "Java::JavafxSceneControlSkin::NestedTableColumnHeader", 'pagination_skin' => "Java::JavafxSceneControlSkin::PaginationSkin", 'progress_bar_skin' => "Java::JavafxSceneControlSkin::ProgressBarSkin", 'progress_indicator_skin' => "Java::JavafxSceneControlSkin::ProgressIndicatorSkin", 'radio_button_skin' => "Java::JavafxSceneControlSkin::RadioButtonSkin", 'scroll_bar_skin' => "Java::JavafxSceneControlSkin::ScrollBarSkin", 'scroll_pane_skin' => "Java::JavafxSceneControlSkin::ScrollPaneSkin", 'separator_skin' => "Java::JavafxSceneControlSkin::SeparatorSkin", 'slider_skin' => "Java::JavafxSceneControlSkin::SliderSkin", 'spinner_skin' => "Java::JavafxSceneControlSkin::SpinnerSkin", 'split_menu_button_skin' => "Java::JavafxSceneControlSkin::SplitMenuButtonSkin", 'split_pane_skin' => "Java::JavafxSceneControlSkin::SplitPaneSkin", 'table_cell_skin' => "Java::JavafxSceneControlSkin::TableCellSkin", 'table_cell_skin_base' => "Java::JavafxSceneControlSkin::TableCellSkinBase", 'table_column_header' => "Java::JavafxSceneControlSkin::TableColumnHeader", 'table_header_row' => "Java::JavafxSceneControlSkin::TableHeaderRow", 'table_row_skin' => "Java::JavafxSceneControlSkin::TableRowSkin", 'table_row_skin_base' => "Java::JavafxSceneControlSkin::TableRowSkinBase", 'table_view_skin' => "Java::JavafxSceneControlSkin::TableViewSkin", 'table_view_skin_base' => "Java::JavafxSceneControlSkin::TableViewSkinBase", 'tab_pane_skin' => "Java::JavafxSceneControlSkin::TabPaneSkin", 'text_area_skin' => "Java::JavafxSceneControlSkin::TextAreaSkin", 'text_field_skin' => "Java::JavafxSceneControlSkin::TextFieldSkin", 'text_input_control_skin' => "Java::JavafxSceneControlSkin::TextInputControlSkin", 'titled_pane_skin' => "Java::JavafxSceneControlSkin::TitledPaneSkin", 'toggle_button_skin' => "Java::JavafxSceneControlSkin::ToggleButtonSkin", 'tool_bar_skin' => "Java::JavafxSceneControlSkin::ToolBarSkin", 'tooltip_skin' => "Java::JavafxSceneControlSkin::TooltipSkin", 'tree_cell_skin' => "Java::JavafxSceneControlSkin::TreeCellSkin", 'tree_table_cell_skin' => "Java::JavafxSceneControlSkin::TreeTableCellSkin", 'tree_table_row_skin' => "Java::JavafxSceneControlSkin::TreeTableRowSkin", 'tree_table_view_skin' => "Java::JavafxSceneControlSkin::TreeTableViewSkin", 'tree_view_skin' => "Java::JavafxSceneControlSkin::TreeViewSkin", 'virtual_container_base' => "Java::JavafxSceneControlSkin::VirtualContainerBase", 'virtual_flow' => "Java::JavafxSceneControlSkin::VirtualFlow", 'blend' => "Java::JavafxSceneEffect::Blend", 'blend_mode' => "Java::JavafxSceneEffect::BlendMode", 'bloom' => "Java::JavafxSceneEffect::Bloom", 'blur_type' => "Java::JavafxSceneEffect::BlurType", 'box_blur' => "Java::JavafxSceneEffect::BoxBlur", 'color_adjust' => "Java::JavafxSceneEffect::ColorAdjust", 'color_input' => "Java::JavafxSceneEffect::ColorInput", 'displacement_map' => "Java::JavafxSceneEffect::DisplacementMap", 'drop_shadow' => "Java::JavafxSceneEffect::DropShadow", 'effect' => "Java::JavafxSceneEffect::Effect", 'float_map' => "Java::JavafxSceneEffect::FloatMap", 'gaussian_blur' => "Java::JavafxSceneEffect::GaussianBlur", 'glow' => "Java::JavafxSceneEffect::Glow", 'image_input' => "Java::JavafxSceneEffect::ImageInput", 'inner_shadow' => "Java::JavafxSceneEffect::InnerShadow", 'light' => "Java::JavafxSceneEffect::Light", 'lighting' => "Java::JavafxSceneEffect::Lighting", 'motion_blur' => "Java::JavafxSceneEffect::MotionBlur", 'perspective_transform' => "Java::JavafxSceneEffect::PerspectiveTransform", 'reflection' => "Java::JavafxSceneEffect::Reflection", 'sepia_tone' => "Java::JavafxSceneEffect::SepiaTone", 'shadow' => "Java::JavafxSceneEffect::Shadow", 'image' => "Java::JavafxSceneImage::Image", 'image_view' => "Java::JavafxSceneImage::ImageView", 'pixel_format' => "Java::JavafxSceneImage::PixelFormat", 'pixel_reader' => "Java::JavafxSceneImage::PixelReader", 'pixel_writer' => "Java::JavafxSceneImage::PixelWriter", 'writable_image' => "Java::JavafxSceneImage::WritableImage", 'writable_pixel_format' => "Java::JavafxSceneImage::WritablePixelFormat", 'clipboard' => "Java::JavafxSceneInput::Clipboard", 'clipboard_content' => "Java::JavafxSceneInput::ClipboardContent", 'context_menu_event' => "Java::JavafxSceneInput::ContextMenuEvent", 'data_format' => "Java::JavafxSceneInput::DataFormat", 'dragboard' => "Java::JavafxSceneInput::Dragboard", 'drag_event' => "Java::JavafxSceneInput::DragEvent", 'gesture_event' => "Java::JavafxSceneInput::GestureEvent", 'input_event' => "Java::JavafxSceneInput::InputEvent", 'input_method_event' => "Java::JavafxSceneInput::InputMethodEvent", 'input_method_highlight' => "Java::JavafxSceneInput::InputMethodHighlight", 'input_method_requests' => "Java::JavafxSceneInput::InputMethodRequests", 'input_method_text_run' => "Java::JavafxSceneInput::InputMethodTextRun", 'key_character_combination' => "Java::JavafxSceneInput::KeyCharacterCombination", 'key_code' => "Java::JavafxSceneInput::KeyCode", 'key_code_combination' => "Java::JavafxSceneInput::KeyCodeCombination", 'key_combination' => "Java::JavafxSceneInput::KeyCombination", 'key_event' => "Java::JavafxSceneInput::KeyEvent", 'mnemonic' => "Java::JavafxSceneInput::Mnemonic", 'mouse_button' => "Java::JavafxSceneInput::MouseButton", 'mouse_drag_event' => "Java::JavafxSceneInput::MouseDragEvent", 'mouse_event' => "Java::JavafxSceneInput::MouseEvent", 'pick_result' => "Java::JavafxSceneInput::PickResult", 'rotate_event' => "Java::JavafxSceneInput::RotateEvent", 'scroll_event' => "Java::JavafxSceneInput::ScrollEvent", 'swipe_event' => "Java::JavafxSceneInput::SwipeEvent", 'touch_event' => "Java::JavafxSceneInput::TouchEvent", 'touch_point' => "Java::JavafxSceneInput::TouchPoint", 'transfer_mode' => "Java::JavafxSceneInput::TransferMode", 'zoom_event' => "Java::JavafxSceneInput::ZoomEvent", 'anchor_pane' => "Java::JavafxSceneLayout::AnchorPane", 'background' => "Java::JavafxSceneLayout::Background", 'background_fill' => "Java::JavafxSceneLayout::BackgroundFill", 'background_image' => "Java::JavafxSceneLayout::BackgroundImage", 'background_position' => "Java::JavafxSceneLayout::BackgroundPosition", 'background_repeat' => "Java::JavafxSceneLayout::BackgroundRepeat", 'background_size' => "Java::JavafxSceneLayout::BackgroundSize", 'border' => "Java::JavafxSceneLayout::Border", 'border_image' => "Java::JavafxSceneLayout::BorderImage", 'border_pane' => "Java::JavafxSceneLayout::BorderPane", 'border_repeat' => "Java::JavafxSceneLayout::BorderRepeat", 'border_stroke' => "Java::JavafxSceneLayout::BorderStroke", 'border_stroke_style' => "Java::JavafxSceneLayout::BorderStrokeStyle", 'border_widths' => "Java::JavafxSceneLayout::BorderWidths", 'column_constraints' => "Java::JavafxSceneLayout::ColumnConstraints", 'constraints_base' => "Java::JavafxSceneLayout::ConstraintsBase", 'corner_radii' => "Java::JavafxSceneLayout::CornerRadii", 'flow_pane' => "Java::JavafxSceneLayout::FlowPane", 'grid_pane' => "Java::JavafxSceneLayout::GridPane", 'hbox' => "Java::JavafxSceneLayout::HBox", 'pane' => "Java::JavafxSceneLayout::Pane", 'priority' => "Java::JavafxSceneLayout::Priority", 'region' => "Java::JavafxSceneLayout::Region", 'row_constraints' => "Java::JavafxSceneLayout::RowConstraints", 'stack_pane' => "Java::JavafxSceneLayout::StackPane", 'tile_pane' => "Java::JavafxSceneLayout::TilePane", 'vbox' => "Java::JavafxSceneLayout::VBox", 'audio_clip' => "Java::JavafxSceneMedia::AudioClip", 'audio_equalizer' => "Java::JavafxSceneMedia::AudioEqualizer", 'audio_spectrum_listener' => "Java::JavafxSceneMedia::AudioSpectrumListener", 'audio_track' => "Java::JavafxSceneMedia::AudioTrack", 'equalizer_band' => "Java::JavafxSceneMedia::EqualizerBand", 'media' => "Java::JavafxSceneMedia::Media", 'media_error_event' => "Java::JavafxSceneMedia::MediaErrorEvent", 'media_exception' => "Java::JavafxSceneMedia::MediaException", 'media_marker_event' => "Java::JavafxSceneMedia::MediaMarkerEvent", 'media_player' => "Java::JavafxSceneMedia::MediaPlayer", 'media_view' => "Java::JavafxSceneMedia::MediaView", 'subtitle_track' => "Java::JavafxSceneMedia::SubtitleTrack", 'track' => "Java::JavafxSceneMedia::Track", 'video_track' => "Java::JavafxSceneMedia::VideoTrack", 'color' => "Java::JavafxScenePaint::Color", 'cycle_method' => "Java::JavafxScenePaint::CycleMethod", 'image_pattern' => "Java::JavafxScenePaint::ImagePattern", 'linear_gradient' => "Java::JavafxScenePaint::LinearGradient", 'material' => "Java::JavafxScenePaint::Material", 'paint' => "Java::JavafxScenePaint::Paint", 'phong_material' => "Java::JavafxScenePaint::PhongMaterial", 'radial_gradient' => "Java::JavafxScenePaint::RadialGradient", 'stop' => "Java::JavafxScenePaint::Stop", 'robot' => "Java::JavafxSceneRobot::Robot", 'arc' => "Java::JavafxSceneShape::Arc", 'arc_to' => "Java::JavafxSceneShape::ArcTo", 'arc_type' => "Java::JavafxSceneShape::ArcType", 'box' => "Java::JavafxSceneShape::Box", 'circle' => "Java::JavafxSceneShape::Circle", 'close_path' => "Java::JavafxSceneShape::ClosePath", 'cubic_curve' => "Java::JavafxSceneShape::CubicCurve", 'cubic_curve_to' => "Java::JavafxSceneShape::CubicCurveTo", 'cull_face' => "Java::JavafxSceneShape::CullFace", 'cylinder' => "Java::JavafxSceneShape::Cylinder", 'draw_mode' => "Java::JavafxSceneShape::DrawMode", 'ellipse' => "Java::JavafxSceneShape::Ellipse", 'fill_rule' => "Java::JavafxSceneShape::FillRule", 'hline_to' => "Java::JavafxSceneShape::HLineTo", 'line' => "Java::JavafxSceneShape::Line", 'line_to' => "Java::JavafxSceneShape::LineTo", 'mesh' => "Java::JavafxSceneShape::Mesh", 'mesh_view' => "Java::JavafxSceneShape::MeshView", 'move_to' => "Java::JavafxSceneShape::MoveTo", 'observable_face_array' => "Java::JavafxSceneShape::ObservableFaceArray", 'path' => "Java::JavafxSceneShape::Path", 'path_element' => "Java::JavafxSceneShape::PathElement", 'polygon' => "Java::JavafxSceneShape::Polygon", 'polyline' => "Java::JavafxSceneShape::Polyline", 'quad_curve' => "Java::JavafxSceneShape::QuadCurve", 'quad_curve_to' => "Java::JavafxSceneShape::QuadCurveTo", 'rectangle' => "Java::JavafxSceneShape::Rectangle", 'shape' => "Java::JavafxSceneShape::Shape", 'shape3_d' => "Java::JavafxSceneShape::Shape3D", 'sphere' => "Java::JavafxSceneShape::Sphere", 'stroke_line_cap' => "Java::JavafxSceneShape::StrokeLineCap", 'stroke_line_join' => "Java::JavafxSceneShape::StrokeLineJoin", 'stroke_type' => "Java::JavafxSceneShape::StrokeType", 'svg_path' => "Java::JavafxSceneShape::SVGPath", 'triangle_mesh' => "Java::JavafxSceneShape::TriangleMesh", 'vertex_format' => "Java::JavafxSceneShape::VertexFormat", 'vline_to' => "Java::JavafxSceneShape::VLineTo", 'font' => "Java::JavafxSceneText::Font", 'font_posture' => "Java::JavafxSceneText::FontPosture", 'font_smoothing_type' => "Java::JavafxSceneText::FontSmoothingType", 'font_weight' => "Java::JavafxSceneText::FontWeight", 'hit_info' => "Java::JavafxSceneText::HitInfo", 'text' => "Java::JavafxSceneText::Text", 'text_alignment' => "Java::JavafxSceneText::TextAlignment", 'text_bounds_type' => "Java::JavafxSceneText::TextBoundsType", 'text_flow' => "Java::JavafxSceneText::TextFlow", 'affine' => "Java::JavafxSceneTransform::Affine", 'matrix_type' => "Java::JavafxSceneTransform::MatrixType", 'non_invertible_transform_exception' => "Java::JavafxSceneTransform::NonInvertibleTransformException", 'rotate' => "Java::JavafxSceneTransform::Rotate", 'scale' => "Java::JavafxSceneTransform::Scale", 'shear' => "Java::JavafxSceneTransform::Shear", 'transform' => "Java::JavafxSceneTransform::Transform", 'transform_changed_event' => "Java::JavafxSceneTransform::TransformChangedEvent", 'translate' => "Java::JavafxSceneTransform::Translate", 'html_editor' => "Java::JavafxSceneWeb::HTMLEditor", 'html_editor_skin' => "Java::JavafxSceneWeb::HTMLEditorSkin", 'popup_features' => "Java::JavafxSceneWeb::PopupFeatures", 'prompt_data' => "Java::JavafxSceneWeb::PromptData", 'web_engine' => "Java::JavafxSceneWeb::WebEngine", 'web_error_event' => "Java::JavafxSceneWeb::WebErrorEvent", 'web_event' => "Java::JavafxSceneWeb::WebEvent", 'web_history' => "Java::JavafxSceneWeb::WebHistory", 'web_view' => "Java::JavafxSceneWeb::WebView", 'directory_chooser' => "Java::JavafxStage::DirectoryChooser", 'file_chooser' => "Java::JavafxStage::FileChooser", 'modality' => "Java::JavafxStage::Modality", 'popup' => "Java::JavafxStage::Popup", 'popup_window' => "Java::JavafxStage::PopupWindow", 'screen' => "Java::JavafxStage::Screen", 'stage' => "Java::JavafxStage::Stage", 'stage_style' => "Java::JavafxStage::StageStyle", 'window' => "Java::JavafxStage::Window", 'window_event' => "Java::JavafxStage::WindowEvent", 'builder' => "Java::JavafxUtil::Builder", 'builder_factory' => "Java::JavafxUtil::BuilderFactory", 'callback' => "Java::JavafxUtil::Callback", 'duration' => "Java::JavafxUtil::Duration", 'fx_permission' => "Java::JavafxUtil::FXPermission", 'pair' => "Java::JavafxUtil::Pair", 'string_converter' => "Java::JavafxUtil::StringConverter", 'big_decimal_string_converter' => "Java::JavafxUtilConverter::BigDecimalStringConverter", 'big_integer_string_converter' => "Java::JavafxUtilConverter::BigIntegerStringConverter", 'boolean_string_converter' => "Java::JavafxUtilConverter::BooleanStringConverter", 'byte_string_converter' => "Java::JavafxUtilConverter::ByteStringConverter", 'character_string_converter' => "Java::JavafxUtilConverter::CharacterStringConverter", 'currency_string_converter' => "Java::JavafxUtilConverter::CurrencyStringConverter", 'date_string_converter' => "Java::JavafxUtilConverter::DateStringConverter", 'date_time_string_converter' => "Java::JavafxUtilConverter::DateTimeStringConverter", 'default_string_converter' => "Java::JavafxUtilConverter::DefaultStringConverter", 'double_string_converter' => "Java::JavafxUtilConverter::DoubleStringConverter", 'float_string_converter' => "Java::JavafxUtilConverter::FloatStringConverter", 'format_string_converter' => "Java::JavafxUtilConverter::FormatStringConverter", 'integer_string_converter' => "Java::JavafxUtilConverter::IntegerStringConverter", 'local_date_string_converter' => "Java::JavafxUtilConverter::LocalDateStringConverter", 'local_date_time_string_converter' => "Java::JavafxUtilConverter::LocalDateTimeStringConverter", 'local_time_string_converter' => "Java::JavafxUtilConverter::LocalTimeStringConverter", 'long_string_converter' => "Java::JavafxUtilConverter::LongStringConverter", 'number_string_converter' => "Java::JavafxUtilConverter::NumberStringConverter", 'percentage_string_converter' => "Java::JavafxUtilConverter::PercentageStringConverter", 'short_string_converter' => "Java::JavafxUtilConverter::ShortStringConverter", 'time_string_converter' => "Java::JavafxUtilConverter::TimeStringConverter", }
Constants included from FXImports
FXImports::JFX_CLASS_HIERARCHY, FXImports::LOCAL_NAME_MAP
Constants included from JRubyFX
Class Method Summary collapse
-
.compile_dsl(out) ⇒ Object
This loads the entire DSL.
-
.included(mod) ⇒ Object
When a class includes JRubyFX, extend (add to the metaclass) ClassUtils.
-
.load_dsl ⇒ Object
This loads the entire DSL.
- .write_color_method_converter(outf, in_class, jfuncnclasses) ⇒ Object
-
.write_enum_converter(outf) ⇒ Object
Loads the special symbol to enum converter functions into all methods and enums.
- .write_enum_method_converter(outf, in_class, jfuncnclasses) ⇒ Object
- .write_event_method(outf, in_class, jfuncnclasses) ⇒ Object
Instance Method Summary collapse
- #logical_lookup(*args) ⇒ Object
-
#method_missing(name, *args, &block) ⇒ Object
(also: #node_method_missing)
This is the heart of the DSL.
- #self_test_lookup(selector) ⇒ Object
Methods included from FXImports
Methods included from JRubyFX
#build, load_fx, #run_later, #with
Methods included from Utils::CommonUtils
#attempt_conversion, #populate_properties, #split_args_from_properties
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object Also known as: node_method_missing
This is the heart of the DSL. When a method is missing and the name of the method is in the NAME_TO_CLASSES mapping, it calls JRubyFX.build with the Java class. This means that instead of saying
build(JavaClass, hash) { ... }
you can say
java_class(hash) { ... }
Another major portion of the DSL is the ability to implicitly add new created components to their parent on construction. There are a few places where this is undesirable. In order to prevent implicit construction you can add a ‘!’ on the end:
circle!(30)
This will construct a Circle but it will not add it into its parent container. This is useful for specifying clipping regions in particular.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/jrubyfx/dsl.rb', line 88 def method_missing(name, *args, &block) fixed_name = name.to_s.gsub(/!$/, '') clazz = NAME_TO_CLASSES[fixed_name] unless clazz clazz = NAME_TO_CLASS_NAME[fixed_name] clazz = (NAME_TO_CLASSES[fixed_name] = clazz.constantize_by("::")) if clazz end unless clazz @supers = {} unless @supers @supers[name] = 0 unless @supers.has_key?(name) @supers[name] += 1 if @supers[name] > 3 raise "Whoa! method_missing caught infinite loop. Trying to run #{name}(#{args.inspect}) failed. Method not found." end res = super @supers[name] -= 1 return res end build(clazz, *args, &block) end |
Class Method Details
.compile_dsl(out) ⇒ Object
This loads the entire DSL. Call this immediately after requiring this file, but not inside this file, or it requires itself twice.
329 330 331 |
# File 'lib/jrubyfx/dsl.rb', line 329 def self.compile_dsl(out) JRubyFX::DSL.write_enum_converter out end |
.included(mod) ⇒ Object
When a class includes JRubyFX, extend (add to the metaclass) ClassUtils
58 59 60 61 |
# File 'lib/jrubyfx/dsl.rb', line 58 def self.included(mod) mod.extend(JRubyFX::DSL::ClassUtils) mod.extend(JRubyFX::FXImports) end |
.load_dsl ⇒ Object
This loads the entire DSL. Call this immediately after requiring this file, but not inside this file, or it requires itself twice.
316 317 318 319 320 321 322 323 324 325 |
# File 'lib/jrubyfx/dsl.rb', line 316 def self.load_dsl unless File.size? "#{File.dirname(__FILE__)}/core_ext/precompiled.rb" puts "Please run `rake reflect` to generate the converters" exit -1 end rt = "#{File.dirname(__FILE__)}/core_ext".sub /\Ajar:/, "" Dir.glob("#{rt}/*.rb") do |file| require file end end |
.write_color_method_converter(outf, in_class, jfuncnclasses) ⇒ Object
281 282 283 284 285 286 287 288 289 290 |
# File 'lib/jrubyfx/dsl.rb', line 281 def self.write_color_method_converter(outf, in_class, jfuncnclasses) jfuncnclasses.each do |jfunc| next if jfunc.include? "impl_" outf[in_class.to_s] << <<ENDNAIVE def #{jfunc.to_s.gsub(/^set/i,'').snake_case}=(value) #{jfunc}(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value)) end ENDNAIVE end end |
.write_enum_converter(outf) ⇒ Object
Loads the special symbol to enum converter functions into all methods and enums
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/jrubyfx/dsl.rb', line 115 def self.write_enum_converter(outf) # use reflection to load all enums into all_enums and methods that use them # into enum_methods mod_list = { :methods =>{}, :all => [] } JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz| cls = eval(clsz) # TODO: use constantize cls.java_class.java_instance_methods.each do |method| args = method.argument_types.find_all(&:enum?).tap {|i| mod_list[:all] << i } # one and only, must be a setter style 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) mod_list[:methods][cls] = [] unless mod_list[:methods][cls] # stuff both method name and the type of the argument in mod_list[:methods][cls] << [method.name, JavaUtilities.get_proxy_class(args[0])] end end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those end require 'yaml' child_catcher = {} # finally, "override" each method mod_list[:methods].each do |clz, method| child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s] write_enum_method_converter child_catcher, clz, method end # cleanout and search for colors. TODO: combind with previous mod_list = {:methods =>{}, :all => []} JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz| cls = eval(clsz) # TODO: use constantize cls.java_class.java_instance_methods.each do |method| args = method.argument_types.find_all{|i| JavaUtilities.get_proxy_class(i).ancestors.include? Java::javafx.scene.paint.Paint} # one and only, must be a setter style if args.length == 1 and !(cls.ancestors[1].public_instance_methods.include? method.name.to_sym) #TODO: multiple args mod_list[:methods][cls] = [] unless mod_list[:methods][cls] # stuff both method name and the type of the argument in mod_list[:methods][cls] << method.name end end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those end mod_list[:methods].each do |clz, method| child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s] write_color_method_converter child_catcher, clz, method end # cleanout and search for events. TODO: combind with previous mod_list = {:methods =>{}} JRubyFX::DSL::NAME_TO_CLASS_NAME.each do |n,clsz| cls = eval(clsz) # TODO: use constantize cls.java_class.java_instance_methods.each do |method| # one and only, must be a setter style if method.name.start_with? "setOn" and !(cls.ancestors[1].public_instance_methods.include? method.name.to_sym) #TODO: multiple args mod_list[:methods][cls] = [] unless mod_list[:methods][cls] # stuff both method name and the type of the argument in mod_list[:methods][cls] << method.name end end if cls.respond_to? :ancestors and cls.ancestors.include? JavaProxy # some are not java classes. ignore those end mod_list[:methods].each do |clz, method| child_catcher[clz.to_s] = "" unless child_catcher[clz.to_s] write_event_method child_catcher, clz, method end # load the yaml descriptors ydescs = YAML.load_file("#{File.dirname(__FILE__)}/core_ext/exts.yml") builders = {add: ->(on, adder){ " def add(value) #{adder}() << value end\n" }, rotate: ->(on){ " def rotate(*args) transforms << build(#{JRubyFX::DSL::NAME_TO_CLASS_NAME['rotate']}, *args) end\n" }, method_missing: ->(on, type) { # we must manually call super otherwise it will call super(type) " def method_missing(name, *args, &block) super(name, *args, &block).tap do |obj| add(obj) if obj.kind_of?(#{type}) && !name.to_s.end_with?('!') end end\n" }, logical_child: ->(on, prop_name){" #TODO: logical_child(#{prop_name})\n"}, logical_children: ->(on, prop_name){" #TODO: logical_children(#{prop_name})\n"}, getter_setter: ->(on, name) { # FIXME: Is arity of splat the best way to do this? " def #{name}(*r) if r.length > 0 self.#{name} = r[0] else get_#{name} end end\n" }, new_converter: ->(on, *args){ els = 0 " def self.new(*args) super *JRubyFX::Utils::CommonConverters.convert_args(args, #{args.map{|i|i.map(&:to_sym)}.inspect}) end\n" }, dsl: ->(on, *args){" "}, } #parse the ydescs ydescs.each do |clz, acts| acts.each do |mname, arg| child_catcher[clz] = "" unless child_catcher[clz] lamb = builders[mname.to_sym] arg = [arg] unless arg.is_a? Array child_catcher[clz] << lamb.call(*([clz] + arg)) end end child_catcher.each do |clz, defs| next if defs == "" || defs == nil # TODO: do we need to include the dsl? is this the fastest way to do it? outf<< <<HERDOC begin class #{clz} include JRubyFX::DSL #{defs}end rescue NameError # ignore, different JDK version likely end HERDOC end end |
.write_enum_method_converter(outf, in_class, jfuncnclasses) ⇒ Object
270 271 272 273 274 275 276 277 278 279 |
# File 'lib/jrubyfx/dsl.rb', line 270 def self.write_enum_method_converter(outf, in_class, jfuncnclasses) jfuncnclasses.each do |jfunc, jclass| next if jfunc.include? "impl_" outf[in_class.to_s] << <<ENDNAIVE def #{jfunc.to_s.gsub(/^set/i,'').snake_case}=(rbenum) java_send #{jfunc.inspect}, [#{jclass}], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, #{jclass}) end ENDNAIVE end end |
.write_event_method(outf, in_class, jfuncnclasses) ⇒ Object
255 256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File 'lib/jrubyfx/dsl.rb', line 255 def self.write_event_method(outf, in_class, jfuncnclasses) jfuncnclasses.each do |jfunc, jclass| next if jfunc.include? "impl_" outf[in_class.to_s] << <<ENDNAIVE def #{jfunc.to_s.gsub(/^set/i,'').snake_case}(&block) if block_given? #{jfunc.to_s} block else #{jfunc.to_s.gsub(/^set/i,'get')} end end ENDNAIVE end end |
Instance Method Details
#logical_lookup(*args) ⇒ Object
302 303 304 305 306 307 308 309 310 311 312 |
# File 'lib/jrubyfx/dsl.rb', line 302 def logical_lookup(*args) unless self.is_a?(Node) p self p self.to_s return self_test_lookup(*args) end self.lookup(*args) || self.tap do |x| return nil unless x.respond_to? :children return x.children.map_find{|i| i.logical_lookup(*args)} end end |
#self_test_lookup(selector) ⇒ Object
292 293 294 295 296 297 298 299 300 |
# File 'lib/jrubyfx/dsl.rb', line 292 def self_test_lookup(selector) if selector.start_with? "#" return (if "##{self.id}" == selector self else nil end) end end |