org.prorefactor.treeparser01
Class FrameStack

java.lang.Object
  extended by org.prorefactor.treeparser01.FrameStack

public class FrameStack
extends java.lang.Object

Keeps a stack of most recently "referenced" frames. A frame may be "referenced" at up to two different occassions. Once when the frame is created (like in a DEFINE FRAME statement), and once when the frame is "initialized" (like in a DISPLAY statement). The frame's scope is determined at the time it is initialized. Also deals with BROWSE widgets and the fields in those.


Method Summary
 java.util.ArrayList<FieldBuffer> calculateFormItemTableFields(JPNode formItemNode)
          For a Form_item node which is for a whole table reference, get a list of the FieldBuffers that would be added to the frame, respecting any EXCEPT fields list.
 void statementIsEnabler()
          Used only by the tree parser, for ENABLE|UPDATE|PROMPT-FOR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculateFormItemTableFields

public java.util.ArrayList<FieldBuffer> calculateFormItemTableFields(JPNode formItemNode)
For a Form_item node which is for a whole table reference, get a list of the FieldBuffers that would be added to the frame, respecting any EXCEPT fields list.


statementIsEnabler

public void statementIsEnabler()
Used only by the tree parser, for ENABLE|UPDATE|PROMPT-FOR.



Copyright © 2008 Joanju Software. All Rights Reserved.