public class SourceEditorController extends java.lang.Object implements javafx.fxml.Initializable, SettingsOwner
| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<Node> |
compilationUnit |
javafx.beans.property.ObjectProperty<LanguageVersion> |
languageVersion |
javafx.beans.value.ObservableValue<java.lang.String> |
sourceCode |
javafx.beans.property.ReadOnlyBooleanProperty |
syntaxHighlightingEnabled |
| Constructor and Description |
|---|
SourceEditorController(DesignerRoot owner,
MainDesignerController mainController) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearNodeHighlight() |
void |
clearStyleLayers() |
javafx.beans.property.ObjectProperty<Node> |
compilationUnitProperty() |
void |
focusNodeInTreeView(Node node) |
Node |
getCompilationUnit()
Gets the value of the property compilationUnit.
|
LanguageVersion |
getLanguageVersion()
Gets the value of the property languageVersion.
|
java.util.List<AppSetting> |
getSettings()
Gets the settings of this specific object.
|
void |
highlightNodePrimary(Node node) |
void |
highlightNodesSecondary(java.util.Collection<Node> nodes) |
void |
initialize(java.net.URL location,
java.util.ResourceBundle resources) |
boolean |
isSyntaxHighlightingEnabled()
Gets the value of the property syntaxHighlightingEnabled.
|
javafx.beans.property.ObjectProperty<LanguageVersion> |
languageVersionProperty() |
void |
moveCaret(int line,
int column) |
void |
refreshAST()
Refreshes the AST.
|
void |
replaceText(java.lang.String source) |
void |
shutdown() |
javafx.beans.value.ObservableValue<java.lang.String> |
sourceCodeProperty() |
javafx.beans.property.ReadOnlyBooleanProperty |
syntaxHighlightingEnabledProperty() |
public javafx.beans.property.ReadOnlyBooleanProperty syntaxHighlightingEnabledProperty
isSyntaxHighlightingEnabled()public javafx.beans.value.ObservableValue<java.lang.String> sourceCodeProperty
public javafx.beans.property.ObjectProperty<LanguageVersion> languageVersionProperty
getLanguageVersion()public javafx.beans.property.ObjectProperty<Node> compilationUnitProperty
getCompilationUnit()public SourceEditorController(DesignerRoot owner, MainDesignerController mainController)
public void initialize(java.net.URL location,
java.util.ResourceBundle resources)
initialize in interface javafx.fxml.Initializablepublic void refreshAST()
public void shutdown()
public void clearNodeHighlight()
public void highlightNodePrimary(Node node)
public void highlightNodesSecondary(java.util.Collection<Node> nodes)
public void focusNodeInTreeView(Node node)
public void moveCaret(int line,
int column)
public boolean isSyntaxHighlightingEnabled()
public javafx.beans.property.ReadOnlyBooleanProperty syntaxHighlightingEnabledProperty()
isSyntaxHighlightingEnabled()public javafx.beans.value.ObservableValue<java.lang.String> sourceCodeProperty()
public LanguageVersion getLanguageVersion()
public javafx.beans.property.ObjectProperty<LanguageVersion> languageVersionProperty()
getLanguageVersion()public Node getCompilationUnit()
public javafx.beans.property.ObjectProperty<Node> compilationUnitProperty()
getCompilationUnit()public void replaceText(java.lang.String source)
public void clearStyleLayers()
public java.util.List<AppSetting> getSettings()
SettingsOwnergetSettings in interface SettingsOwnerCopyright © 2002–2017 PMD. All rights reserved.