将属性绑定到javafx中的鼠标

时间:2018-11-11 20:02:48

标签: java javafx

假设我有一个圆和一条线,将线的起点绑定到圆的中心:

   var client = new RestClient("http://localhost/someapp/api/dosomething   /5335?save=false&userid=66462");
   var request = new RestRequest(Method.POST);
   request.AddHeader("Postman-Token", "bd05aa45-f1b9-4665-a3e7-888ad16f2800");  
   request.AddHeader("cache-control", "no-cache");
  IRestResponse response = client.Execute(request);

我的问题:是否可以将行尾(const puppeteer = require("puppeteer") const DATA = require('./data'); const CHECKBOX = '#check-disclaimer'; const ACCEPT_PROCEED = '#agreeButton'; const PRODUCT_TYPE = '#product_target > dt > a'; const AUTOCALL_TRIGGER = '#autocallTriggerOptions > span'; const getPrice = async () => { const browser = await puppeteer.launch({headless:false}); const page = await browser.newPage(); await page.goto("https://services.leonteq.com/constructor/c2/public"); await page.click(CHECKBOX); await page.click(ACCEPT_PROCEED); await page.waitFor(5000); await page.click(AUTOCALL_TRIGGER); await page.keyboard.type('200'); await page.waitForNavigation(); } getPrice(); Circle c = new Circle(); Line l = new Line(); l.startXProperty().bind(c.centerXProperty()); l.startYProperty().bind(c.centerYProperty()); )绑定到鼠标的x和y坐标,以便在圆和鼠标之间绘制线?

0 个答案:

没有答案