643 644 public abstract Timer createTimer(Runnable runnable); 645 protected abstract int staticTimer_getMinPeriod(); 646 protected abstract int staticTimer_getMaxPeriod(); 647 648 public final EventLoop createEventLoop() { 649 return new EventLoop(); 650 } 651 652 public PlatformAccessible createAccessible(Accessible accessible) { return null; } 653 654 protected abstract FileChooserResult staticCommonDialogs_showFileChooser(Window owner, String folder, String filename, String title, int type, 655 boolean multipleMode, ExtensionFilter[] extensionFilters, int defaultFilterIndex); 656 657 protected abstract File staticCommonDialogs_showFolderChooser(Window owner, String folder, String title); 658 659 protected abstract long staticView_getMultiClickTime(); 660 protected abstract int staticView_getMultiClickMaxX(); 661 protected abstract int staticView_getMultiClickMaxY(); 662 663 protected boolean _supportsInputMethods() { 664 // Overridden in subclasses 665 return false; 666 } 667 public final boolean supportsInputMethods() { 668 checkEventThread(); 669 return _supportsInputMethods(); 670 } 671 672 protected abstract boolean _supportsTransparentWindows(); 673 public final boolean supportsTransparentWindows() { 674 checkEventThread(); 675 return _supportsTransparentWindows(); 676 } 677 678 public boolean hasTwoLevelFocus() { 679 return false; 680 } 681 682 public boolean hasVirtualKeyboard() { | 643 644 public abstract Timer createTimer(Runnable runnable); 645 protected abstract int staticTimer_getMinPeriod(); 646 protected abstract int staticTimer_getMaxPeriod(); 647 648 public final EventLoop createEventLoop() { 649 return new EventLoop(); 650 } 651 652 public PlatformAccessible createAccessible(Accessible accessible) { return null; } 653 654 protected abstract FileChooserResult staticCommonDialogs_showFileChooser(Window owner, String folder, String filename, String title, int type, 655 boolean multipleMode, ExtensionFilter[] extensionFilters, int defaultFilterIndex); 656 657 protected abstract File staticCommonDialogs_showFolderChooser(Window owner, String folder, String title); 658 659 protected abstract long staticView_getMultiClickTime(); 660 protected abstract int staticView_getMultiClickMaxX(); 661 protected abstract int staticView_getMultiClickMaxY(); 662 663 //return value of null means HighContrast mode is not enabled 664 public String getHighContrastTheme() { 665 return null; 666 } 667 668 protected boolean _supportsInputMethods() { 669 // Overridden in subclasses 670 return false; 671 } 672 public final boolean supportsInputMethods() { 673 checkEventThread(); 674 return _supportsInputMethods(); 675 } 676 677 protected abstract boolean _supportsTransparentWindows(); 678 public final boolean supportsTransparentWindows() { 679 checkEventThread(); 680 return _supportsTransparentWindows(); 681 } 682 683 public boolean hasTwoLevelFocus() { 684 return false; 685 } 686 687 public boolean hasVirtualKeyboard() { |