Documentation of 'com.jstatcom.model.Scope' Java class
Scope
com.jstatcom.model

Class Scope



  • public abstract class Scope
    extends java.lang.Object
    This typesave enumeration contains all existing Scope types. It can be used to set the scope that certain components should use to retrieve symbols from.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static Scope GLOBAL
      The local symbol scope.
      static Scope LOCAL
      The local symbol scope.
      static Scope UPPER
      The local symbol scope.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract SymbolTable getSymbolTable(java.awt.Component comp)
      Gets the symbol table according to this scope from the component hierarchy.
      java.lang.String toString()
      Gets string representation of this object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • GLOBAL

        public static final Scope GLOBAL
        The local symbol scope.
      • UPPER

        public static final Scope UPPER
        The local symbol scope.
      • LOCAL

        public static final Scope LOCAL
        The local symbol scope.
    • Method Detail

      • getSymbolTable

        public abstract SymbolTable getSymbolTable(java.awt.Component comp)
        Gets the symbol table according to this scope from the component hierarchy. The method returns null of there is no parent SymbolScope.
        Parameters:
        comp - the component to start searching from
        Returns:
        the symbol table or null
      • toString

        public final java.lang.String toString()
        Gets string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.