709 lines
25 KiB
HTML
709 lines
25 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 06 09:00:19 CEST 2011 -->
|
|
<TITLE>
|
|
VariableContext
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2011-04-06">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="VariableContext";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VariableContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../algoanim/variables/Variable.html" title="class in algoanim.variables"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/variables/VariableFactory.html" title="class in algoanim.variables"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/variables/VariableContext.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="VariableContext.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
algoanim.variables</FONT>
|
|
<BR>
|
|
Class VariableContext</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>algoanim.variables.VariableContext</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>VariableContext</B><DT>extends java.lang.Object</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#father">father</A></B></CODE>
|
|
|
|
<BR>
|
|
father and son are references to other contexts</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#son">son</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#VariableContext()">VariableContext</A></B>()</CODE>
|
|
|
|
<BR>
|
|
constructor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#VariableContext(algoanim.variables.VariableContext)">VariableContext</A></B>(<A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> myFather)</CODE>
|
|
|
|
<BR>
|
|
constructor which references an existing context as a father</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#contextClose()">contextClose</A></B>()</CODE>
|
|
|
|
<BR>
|
|
closes given contact and returns to father context</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#contextOpen()">contextOpen</A></B>()</CODE>
|
|
|
|
<BR>
|
|
opens a new context (e.g.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#defineKey(java.lang.String, java.lang.String)">defineKey</A></B>(java.lang.String type,
|
|
java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
defines a variable for this context</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#defineKey(java.lang.String, java.lang.String, java.lang.String)">defineKey</A></B>(java.lang.String type,
|
|
java.lang.String key,
|
|
java.lang.String value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#deleteKey(java.lang.String)">deleteKey</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
deletes a key</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#dropSon()">dropSon</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.Boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getBool(java.lang.String)">getBool</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getContext()">getContext</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.Float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getFloat(java.lang.String)">getFloat</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.Integer</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getInt(java.lang.String)">getInt</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getString(java.lang.String)">getString</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/variables/Variable.html" title="class in algoanim.variables">Variable</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#getVariable(java.lang.String)">getVariable</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
returns the variable for a given key.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.HashMap<java.lang.String,java.lang.String></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#listAll()">listAll</A></B>()</CODE>
|
|
|
|
<BR>
|
|
gets a list of all current variables specific to this context</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.HashMap<java.lang.String,java.lang.String></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#listContext()">listContext</A></B>()</CODE>
|
|
|
|
<BR>
|
|
gets a list of all current variables specific to this context</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.HashMap<java.lang.String,java.lang.String></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#listGlobal()">listGlobal</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#setGlobal(java.lang.String)">setGlobal</A></B>(java.lang.String key)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#setRole(java.lang.String, java.lang.String)">setRole</A></B>(java.lang.String key,
|
|
java.lang.String value)</CODE>
|
|
|
|
<BR>
|
|
sets the value for a given variable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/variables/VariableContext.html#setValue(java.lang.String, java.lang.String)">setValue</A></B>(java.lang.String key,
|
|
java.lang.String value)</CODE>
|
|
|
|
<BR>
|
|
sets the value for a given variable.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="father"><!-- --></A><H3>
|
|
father</H3>
|
|
<PRE>
|
|
protected <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>father</B></PRE>
|
|
<DL>
|
|
<DD>father and son are references to other contexts
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="son"><!-- --></A><H3>
|
|
son</H3>
|
|
<PRE>
|
|
protected <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>son</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="VariableContext()"><!-- --></A><H3>
|
|
VariableContext</H3>
|
|
<PRE>
|
|
public <B>VariableContext</B>()</PRE>
|
|
<DL>
|
|
<DD>constructor
|
|
<P>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="VariableContext(algoanim.variables.VariableContext)"><!-- --></A><H3>
|
|
VariableContext</H3>
|
|
<PRE>
|
|
public <B>VariableContext</B>(<A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> myFather)</PRE>
|
|
<DL>
|
|
<DD>constructor which references an existing context as a father
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>myFather</CODE> - </DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="dropSon()"><!-- --></A><H3>
|
|
dropSon</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>dropSon</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="defineKey(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
defineKey</H3>
|
|
<PRE>
|
|
public void <B>defineKey</B>(java.lang.String type,
|
|
java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD>defines a variable for this context
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - name for the variable to define</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="defineKey(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
defineKey</H3>
|
|
<PRE>
|
|
public void <B>defineKey</B>(java.lang.String type,
|
|
java.lang.String key,
|
|
java.lang.String value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="deleteKey(java.lang.String)"><!-- --></A><H3>
|
|
deleteKey</H3>
|
|
<PRE>
|
|
public void <B>deleteKey</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD>deletes a key
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getVariable(java.lang.String)"><!-- --></A><H3>
|
|
getVariable</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/variables/Variable.html" title="class in algoanim.variables">Variable</A> <B>getVariable</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD>returns the variable for a given key. if the variable is not found in the
|
|
actual context, search is continued in fathers context
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - name of the variable
|
|
<DT><B>Returns:</B><DD>variable</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getInt(java.lang.String)"><!-- --></A><H3>
|
|
getInt</H3>
|
|
<PRE>
|
|
public java.lang.Integer <B>getInt</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFloat(java.lang.String)"><!-- --></A><H3>
|
|
getFloat</H3>
|
|
<PRE>
|
|
public java.lang.Float <B>getFloat</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBool(java.lang.String)"><!-- --></A><H3>
|
|
getBool</H3>
|
|
<PRE>
|
|
public java.lang.Boolean <B>getBool</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getString(java.lang.String)"><!-- --></A><H3>
|
|
getString</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getString</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="listContext()"><!-- --></A><H3>
|
|
listContext</H3>
|
|
<PRE>
|
|
public java.util.HashMap<java.lang.String,java.lang.String> <B>listContext</B>()</PRE>
|
|
<DL>
|
|
<DD>gets a list of all current variables specific to this context
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>list of all variables</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="listGlobal()"><!-- --></A><H3>
|
|
listGlobal</H3>
|
|
<PRE>
|
|
public java.util.HashMap<java.lang.String,java.lang.String> <B>listGlobal</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="listAll()"><!-- --></A><H3>
|
|
listAll</H3>
|
|
<PRE>
|
|
public java.util.HashMap<java.lang.String,java.lang.String> <B>listAll</B>()</PRE>
|
|
<DL>
|
|
<DD>gets a list of all current variables specific to this context
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>list of all variables</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
setValue</H3>
|
|
<PRE>
|
|
public void <B>setValue</B>(java.lang.String key,
|
|
java.lang.String value)</PRE>
|
|
<DL>
|
|
<DD>sets the value for a given variable. if the variable is not found in the
|
|
actual context, search is continued in fathers context
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - name of the variable<DD><CODE>value</CODE> - the value to be set for the key</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRole(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
setRole</H3>
|
|
<PRE>
|
|
public void <B>setRole</B>(java.lang.String key,
|
|
java.lang.String value)</PRE>
|
|
<DL>
|
|
<DD>sets the value for a given variable. if the variable is not found in the
|
|
actual context, search is continued in fathers context
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - name of the variable<DD><CODE>value</CODE> - the value to be set for the key</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGlobal(java.lang.String)"><!-- --></A><H3>
|
|
setGlobal</H3>
|
|
<PRE>
|
|
public void <B>setGlobal</B>(java.lang.String key)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="contextOpen()"><!-- --></A><H3>
|
|
contextOpen</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>contextOpen</B>()</PRE>
|
|
<DL>
|
|
<DD>opens a new context (e.g. a function, loop, etc.) and references to it as
|
|
son
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the new context</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="contextClose()"><!-- --></A><H3>
|
|
contextClose</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>contextClose</B>()</PRE>
|
|
<DL>
|
|
<DD>closes given contact and returns to father context
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>father conext</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getContext()"><!-- --></A><H3>
|
|
getContext</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/variables/VariableContext.html" title="class in algoanim.variables">VariableContext</A> <B>getContext</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the actual top-context</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
|
|
main</H3>
|
|
<PRE>
|
|
public static void <B>main</B>(java.lang.String[] args)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VariableContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../algoanim/variables/Variable.html" title="class in algoanim.variables"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/variables/VariableFactory.html" title="class in algoanim.variables"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/variables/VariableContext.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="VariableContext.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|