
net.sourceforge.marathon.javafxagent.components.richtextfx.GenericStyledArea Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marathon-javafx-agent Show documentation
Show all versions of marathon-javafx-agent Show documentation
Marathon JavaDriver agent for Java/FX applications
package net.sourceforge.marathon.javafxagent.components.richtextfx;
import java.lang.reflect.InvocationTargetException;
import javafx.collections.ObservableMap;
import javafx.scene.Node;
public class GenericStyledArea {
public static final String GENERIC_STYLED_AREA_CLASS = "org.fxmisc.richtext.GenericStyledArea";
public static Class> genericStyledAreaKlass;
public static Class> codeAreaKlass;
public static Class> styleCTextAreaKlass;
public static Class> inlineCSSKlass;
static {
try {
genericStyledAreaKlass = Class.forName(GENERIC_STYLED_AREA_CLASS);
codeAreaKlass = Class.forName("org.fxmisc.richtext.CodeArea");
inlineCSSKlass = Class.forName("org.fxmisc.richtext.InlineCssTextArea");
styleCTextAreaKlass = Class.forName("org.fxmisc.richtext.StyleClassedTextArea");
} catch (ClassNotFoundException e) {
}
}
private Object genericStyledArea;
public GenericStyledArea(Object component) {
this.genericStyledArea = component;
}
@SuppressWarnings("unchecked")
public ObservableMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy