- Maven: ~/.m2/repository
- Gradle: ~/.gradle/caches/modules-2/files-2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.loadui.testfx.framework.junit; | |
import java.util.concurrent.TimeUnit; | |
import javafx.application.Application; | |
import javafx.stage.Stage; | |
import org.loadui.testfx.framework.app.impl.AppSetupImpl; | |
import org.loadui.testfx.framework.app.impl.DefaultAppLauncher; | |
import org.loadui.testfx.framework.robot.FxRobot; | |
import org.loadui.testfx.utils.StageFuture; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.fxml.FXMLLoader; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.Pane; | |
import javafx.stage.Stage; | |
import java.io.IOException; | |
/** | |
* Main application class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.beans.property.ObjectProperty | |
import javafx.beans.property.SimpleObjectProperty | |
import javafx.beans.value.ChangeListener | |
import javafx.scene.Node | |
import javafx.scene.control.Control | |
import javafx.scene.control.Skin | |
import javafx.scene.layout.StackPane | |
import com.sun.javafx.scene.control.behavior.BehaviorBase | |
import com.sun.javafx.scene.control.behavior.KeyBinding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?import java.lang.*?> | |
<?import javafx.geometry.*?> | |
<?import javafx.scene.control.*?> | |
<?import javafx.scene.layout.*?> | |
<StackPane alignment="TOP_LEFT" xmlns="http://javafx.com/javafx/8" | |
xmlns:fx="http://javafx.com/fxml/1"> | |
<children> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyparsing import * | |
def match(text, matcher): | |
result = matcher.parseString(text) | |
return result | |
if __name__ == "__main__": | |
element = Word(alphas) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import javafx.application.Application; | |
import javafx.geometry.Point2D; | |
import javafx.geometry.Pos; | |
import javafx.scene.CacheHint; | |
import javafx.scene.Group; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.Region; | |
import javafx.scene.layout.StackPane; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var atPosition = function($element, position) { | |
var top = $element[0] == window ? 0 : $element.position().top; | |
var height = $element.height(); | |
if (position == "top") { return top; } | |
if (position == "bottom") { return top + height; } | |
throw "unknown position"; | |
}; | |
var alignAbsolutePosition = function($element, top, height) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "TestFX", | |
"Description": "Simple and Clean Testing for JavaFX", | |
"URL": "https://www.testfx.org/", | |
"License": "European Union Public Licence (EUPL v.1.1)", | |
"Logo": "TODO", | |
"Type": "Test Framework", | |
"Tags": "", | |
"VCS": "", | |
"Issue Tracker": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $element = $("<div>"); | |
var widthOfElement = $element.width(); | |
var widthWithPadding = $element.innerWidth(); | |
var widthWithBorder = $element.outerWidth(); | |
var widthWithMargin = $element.outerWidth(true); | |
var widthOfPadding = widthWithPadding - widthOfElement; | |
var widthOfBorder = widthWithBorder - widthWithPadding; | |
var widthOfMargin = widthWithMargin - widthWithBorder; |
OlderNewer