|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.treeparser.Symbol org.prorefactor.treeparser.Widget org.prorefactor.treeparser.FieldContainer org.prorefactor.widgettypes.Frame
public class Frame
Field Summary |
---|
Fields inherited from interface org.prorefactor.treeparser.SymbolI |
---|
NAME_ORDER |
Constructor Summary | |
---|---|
Frame()
Only to be used for persistence/serialization. |
|
Frame(java.lang.String name,
SymbolScope scope)
Unlike other symbols, Frames are automatically added to the scope, right here at creation time. |
Method Summary | |
---|---|
Symbol |
copyBare(SymbolScope scope)
Generate a bare-bones copy of this symbol. |
Block |
getFrameScopeBlock()
|
int |
getProgressType()
Returns TokenTypes.FRAME. |
Block |
initialize(Block block)
Initialize the frame and set the frame scope if not done already. |
boolean |
isInitialized()
Has this frame been "referenced"? In other words, has it or any of its fields been displayed yet? Has its scope been determined? |
void |
setFrameScopeBlockExplicitDefault(Block block)
This should be called for a block with an explicit default. |
Block |
setFrameScopeUnnamedDefault(Block block)
This should be called when we need to set a block with this unnamed frame as that block's implicit default. |
void |
writeXferBytes(DataXferStream out)
Implement Xferable. |
void |
writeXferSchema(DataXferStream out)
Implement Xferable. |
Methods inherited from class org.prorefactor.treeparser.FieldContainer |
---|
addStatement, addSymbol, getAllFields, getAllFieldsAndWidgets, getEnabledFields, getStatementList, lookupFieldOrVar |
Methods inherited from class org.prorefactor.treeparser.Widget |
---|
fullName |
Methods inherited from class org.prorefactor.treeparser.Symbol |
---|
getAllRefsCount, getAsNode, getDefineNode, getIndirectDefineIdNode, getLikeNode, getName, getNumReads, getNumWrites, getScope, isExported, isImported, noteReference, setAsNode, setDefOrIdNode, setLikeNode, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.prorefactor.treeparser.SymbolI |
---|
getAllRefsCount, getAsNode, getDefineNode, getIndirectDefineIdNode, getLikeNode, getName, getNumReads, getNumWrites, getScope, isExported, isImported, noteReference, setAsNode, setDefOrIdNode, setLikeNode, setName |
Constructor Detail |
---|
public Frame()
public Frame(java.lang.String name, SymbolScope scope)
Method Detail |
---|
public Symbol copyBare(SymbolScope scope)
Symbol
copyBare
in class Symbol
public Block getFrameScopeBlock()
public int getProgressType()
getProgressType
in interface SymbolI
getProgressType
in class Symbol
public Block initialize(Block block)
isInitialized()
public boolean isInitialized()
public void setFrameScopeBlockExplicitDefault(Block block)
public Block setFrameScopeUnnamedDefault(Block block)
public void writeXferBytes(DataXferStream out) throws java.io.IOException
writeXferBytes
in interface Xferable
writeXferBytes
in class FieldContainer
java.io.IOException
public void writeXferSchema(DataXferStream out) throws java.io.IOException
writeXferSchema
in interface Xferable
writeXferSchema
in class FieldContainer
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |