public abstract class AbstractFXGNode extends Object implements IFXGNode
| Modifier and Type | Field and Description | 
|---|---|
| static double | ALPHA_MAX_INCLUSIVE | 
| static double | ALPHA_MIN_INCLUSIVE | 
| static int | COLOR_BLACK | 
| static int | COLOR_RED | 
| static int | COLOR_WHITE | 
| protected IFXGNode | documentNode | 
| protected int | endColumn | 
| protected int | endLine | 
| static double | EPSILON | 
| static int | GRADIENT_ENTRIES_MAX_INCLUSIVE | 
| protected int | startColumn | 
| protected int | startLine | 
| protected String | uri | 
| Constructor and Description | 
|---|
| AbstractFXGNode() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addChild(IFXGNode child,
        Collection<ICompilerProblem> problems)Adds an FXG child node to this node. | 
| List<IFXGNode> | getChildren()debug method, do not use | 
| IFXGNode | getDocumentNode() | 
| String | getDocumentPath() | 
| int | getEndColumn() | 
| int | getEndLine() | 
| FXGVersion | getFileVersion() | 
| String | getNodeURI()return the namespace URI of this node. | 
| int | getStartColumn() | 
| int | getStartLine() | 
| boolean | isVersionGreaterThanCompiler() | 
| void | setAttribute(String name,
            String value,
            Collection<ICompilerProblem> problems)Sets an FXG attribute on this FXG node. | 
| void | setDocumentNode(IFXGNode root)Establishes the root node of the FXG document containing this node. | 
| void | setEndColumn(int column) | 
| void | setEndLine(int line) | 
| void | setNodeURI(String uri) | 
| void | setStartColumn(int column) | 
| void | setStartLine(int line) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodeNameprotected IFXGNode documentNode
protected String uri
protected int startLine
protected int startColumn
protected int endLine
protected int endColumn
public static final double ALPHA_MIN_INCLUSIVE
public static final double ALPHA_MAX_INCLUSIVE
public static final int COLOR_BLACK
public static final int COLOR_WHITE
public static final int COLOR_RED
public static final int GRADIENT_ENTRIES_MAX_INCLUSIVE
public static final double EPSILON
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
public List<IFXGNode> getChildren()
IFXGNodegetChildren in interface IFXGNodepublic void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
setAttribute in interface IFXGNodename - - the unqualified attribute namevalue - - the attribute valueproblems - problem collection used to collect problems occurred within this methodpublic IFXGNode getDocumentNode()
getDocumentNode in interface IFXGNodepublic void setDocumentNode(IFXGNode root)
setDocumentNode in interface IFXGNoderoot - - the root node of the FXG document.public String getDocumentPath()
getDocumentPath in interface IFXGNodepublic String getNodeURI()
getNodeURI in interface IFXGNodepublic void setNodeURI(String uri)
uri - - the namespace URI of this node.public int getStartLine()
getStartLine in interface IFXGNodepublic void setStartLine(int line)
setStartLine in interface IFXGNodeline - - the line on which the node declaration started.public int getStartColumn()
getStartColumn in interface IFXGNodepublic void setStartColumn(int column)
setStartColumn in interface IFXGNodecolumn - - the line on which the node declaration started.public int getEndLine()
getEndLine in interface IFXGNodepublic void setEndLine(int line)
setEndLine in interface IFXGNodeline - - the line on which the node declaration ended.public int getEndColumn()
getEndColumn in interface IFXGNodepublic void setEndColumn(int column)
setEndColumn in interface IFXGNodecolumn - the column on which the node declaration ended.public boolean isVersionGreaterThanCompiler()
public FXGVersion getFileVersion()
Copyright © 2016 The Apache Software Foundation. All rights reserved.