public class ElementTemplateRule extends ElementTemplateScopable implements Comparable, ATEFoldingEntity
| Modifier and Type | Field and Description |
|---|---|
List<ATEToken> |
args |
ATEToken |
definedToBe |
ATEToken |
end |
boolean |
expanded |
String |
name |
protected ATEStringTemplateSyntaxParser |
parser |
ATEToken |
start |
scope| Constructor and Description |
|---|
ElementTemplateRule(ATEStringTemplateSyntaxParser parser,
String name,
ATEToken start,
ATEToken definedToBe,
ATEToken end,
List<ATEToken> args) |
ElementTemplateRule(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeCollapsed() |
int |
compareTo(Object o) |
boolean |
containsIndex(int index) |
boolean |
foldingEntityCanBeCollapsed() |
int |
foldingEntityGetEndIndex() |
int |
foldingEntityGetEndLine() |
int |
foldingEntityGetStartIndex() |
int |
foldingEntityGetStartLine() |
int |
foldingEntityGetStartParagraphIndex() |
String |
foldingEntityID() |
boolean |
foldingEntityIsExpanded() |
int |
foldingEntityLevel() |
String |
foldingEntityPlaceholderString() |
void |
foldingEntitySetExpanded(boolean expanded) |
int |
getEndIndex() |
int |
getInternalTokensEndIndex() |
int |
getInternalTokensStartIndex() |
int |
getItemIndex() |
int |
getLength() |
int |
getStartIndex() |
List<ATEToken> |
getTokens() |
int |
getUniqueIdentifier() |
boolean |
isExpanded() |
void |
setExpanded(boolean expanded) |
void |
setItemIndex(int index) |
String |
toString() |
getScope, setScopepublic String name
public ATEToken start
public ATEToken definedToBe
public ATEToken end
public boolean expanded
protected ATEStringTemplateSyntaxParser parser
public ElementTemplateRule(String name)
public int getStartIndex()
public int getEndIndex()
public int getLength()
public int getInternalTokensStartIndex()
public int getInternalTokensEndIndex()
public void setExpanded(boolean expanded)
public boolean isExpanded()
public boolean containsIndex(int index)
public int compareTo(Object o)
compareTo in interface Comparablepublic int getUniqueIdentifier()
public boolean canBeCollapsed()
public void foldingEntitySetExpanded(boolean expanded)
foldingEntitySetExpanded in interface ATEFoldingEntitypublic boolean foldingEntityIsExpanded()
foldingEntityIsExpanded in interface ATEFoldingEntitypublic boolean foldingEntityCanBeCollapsed()
foldingEntityCanBeCollapsed in interface ATEFoldingEntitypublic int foldingEntityGetStartParagraphIndex()
foldingEntityGetStartParagraphIndex in interface ATEFoldingEntitypublic int foldingEntityGetStartIndex()
foldingEntityGetStartIndex in interface ATEFoldingEntitypublic int foldingEntityGetEndIndex()
foldingEntityGetEndIndex in interface ATEFoldingEntitypublic int foldingEntityGetStartLine()
foldingEntityGetStartLine in interface ATEFoldingEntitypublic int foldingEntityGetEndLine()
foldingEntityGetEndLine in interface ATEFoldingEntitypublic String foldingEntityPlaceholderString()
foldingEntityPlaceholderString in interface ATEFoldingEntitypublic String foldingEntityID()
foldingEntityID in interface ATEFoldingEntitypublic int foldingEntityLevel()
foldingEntityLevel in interface ATEFoldingEntitypublic int getItemIndex()
public void setItemIndex(int index)
Copyright © 2013. All rights reserved.