comtel2000 / fx-experience Goto Github PK
View Code? Open in Web Editor NEWfx-experience -> fx onscreen keyboard
License: Other
fx-experience -> fx onscreen keyboard
License: Other
Is there any plan to support the Media buttons (such as: Volume UP, Down, Mute, ...)?
I am trying to replace the "Power" symbol in the bottom right of the keyboard with something else, as the power symbol does not really make sense for my use-case.
I have tried overloading #key-button.button .done-icon { ... }
in css, but this does not appear to be used. It also looks like the .style()
method in the builder doesn't let me change the style. Is there a way to do this currently?
Hello, I ma using your keyboard (great stuff !) in a controlfx dialog, I made the dialog a little less bigger of my scene, but the keyboard doesn't follow the box size (and there seems to be a little bug for the surrounding border).
When I am using the zoom button, or the setscale method, I can zoom it to neraly the size I am want, but because my program can be run on different resolutions, I don't know how to compute the right setscale param.
Could there be a way to set the size of the keyboard, a maybe a vertical / horizontal grow mecanism ?
Thanks.
The label on a button does not respond to a touch or mouse click event.
One has to touch around the edges, it is quite hit and miss to get a press.
Using Version 11.0.1
I want to replace default VK with this one on embedded device with touch screen. So I would like the same behavior: I want it the to be the same size and to popup at the bottom of the screen. I've tried using popup.setOnShown method with setX and setY, and it works for text keyboard, but for numeric fields it creates the popup near the field, and this breaks it for later usage on text fields as well. Is there a way to fix the location of the popup?
Add a alternative for attach the keyboard to each single scene by using a global UserAgentStyleSheet focus listener. That's maybe not backwardly compatible with previous JavaFx version < 8.40.
Hi
The russian keyboard has a wrong character for the #. It is UNICODE 1092 defined. This is wrong. It should be UNICODE 35. This is defined in the kb-layout-sym.xml for locale RU
If you'd upload the artifact to a public maven repository, this would simplify usage of your great project!
In the kb-layout.xml the small ф character is defined as UNICODE 1092, so is the big one.
Big one should have unicode 1060 -> Ф.
add a print screen button to generate screenshots with hidden onscreen keyboard
with NativeAsciiRobotHandler only cryptical chars are transmitted on function keys F1..F12
hi,
I'm using the KeyboardPane without a popup window, but included in my layout. Therefore it would be nice, to make the drag'n'drop-feature via the space-key optional so that I can switch it off. In my case, dragging the keyboard is not necessary.
Thanks!
The popup scale/zoom level of additional keys doesn't change after dynamic scale (zoom in/out) the main keyboard.
I see a 9.0.0-SNAPSHOT jar, but I can't find any sources beyound 8.2.6
I have an AnchorPane and I want to set KeyboardPane into this. But I saw the Keyboard layout covered full of AnchorPane but the buttons seem unchanged. Anyone can help me?
@FXML
public AnchorPane apKeyboard;
@FXML
public void btnShowKeyboardActionPerformed(ActionEvent actionEvent) throws Exception {
KeyboardPane keyboardPane = new KeyboardPane();
keyboardPane.setPrefSize(apKeyboard.getWidth(), apKeyboard.getHeight());
keyboardPane.load();
apKeyboard.getChildren().addAll(keyboardPane);
}
i.e: instead of the Quit icon, it displays "2", instead of the Backspace icon, it displays "!"
add support for vkType layout switching like in JavaFX embedded mode:
http://docs.oracle.com/javase/8/javafx/user-interface-tutorial/embed.htm
and additional vkLocale dynamic Locale changes
The exception is thrown when image data is copied into the clipboard:
[JavaFX Application Thread] ERROR org.comtel2000.swing.robot.NativeAsciiRobotHandler - Unicode String java.awt.datatransfer.UnsupportedFlavorException: Unicode String at sun.awt.datatransfer.SunClipboard.getData(SunClipboard.java:220) at org.comtel2000.swing.robot.NativeAsciiRobotHandler.clipboardTransfer(NativeAsciiRobotHandler.java:229) at org.comtel2000.swing.robot.NativeAsciiRobotHandler.send(NativeAsciiRobotHandler.java:185) at org.comtel2000.swing.robot.NativeAsciiRobotHandler.sendToComponent(NativeAsciiRobotHandler.java:113) at org.comtel2000.keyboard.control.KeyboardPane.sendToComponent(KeyboardPane.java:771) at org.comtel2000.keyboard.control.KeyboardPane.handle(KeyboardPane.java:728) at org.comtel2000.keyboard.control.KeyboardPane.handle(KeyboardPane.java:1) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Node.fireEvent(Node.java:8411) at org.comtel2000.keyboard.control.KeyButton.fireShortPressed(KeyButton.java:96) at org.comtel2000.keyboard.control.ShortPressKeyButton.lambda$0(ShortPressKeyButton.java:53) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$355(GlassViewEventHandler.java:388) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$50(GtkApplication.java:139) at java.lang.Thread.run(Thread.java:745)
Steps to reproduce:
Hello, i am using fx-onscreen-keyboard, i ve added like this:
popupKey = KeyBoardPopupBuilder.create().initLocale(Locale.FRENCH).build(); popupKey.addFocusListener(scene, true);
Is there a way to disable it only for a specific TextField ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.