<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>8 The Explorer Object</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node7.html#chapter.actions"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label19">Next >></A></TD></TR></TABLE><DIV id="chapter.object"><H1><A name="chapter.object">8 The Explorer Object</A></H1><P> This section lists all methods of <CODE>Explorer<SPAN class="keyword">.</SPAN>object</CODE>. New Explorers can be created by creating new objects from the class <CODE>Explorer<SPAN class="keyword">.</SPAN><SPAN class="string">'class'</SPAN></CODE>. Execution of </P><BLOCKQUOTE class="code"><CODE>MyExplorer = {New Explorer<SPAN class="keyword">.</SPAN><SPAN class="string">'class'</SPAN> init}</CODE></BLOCKQUOTE><P> creates a new Explorer which can be accessed by the variable <CODE>MyExplorer</CODE>. </P><H2><A name="label16">8.1 Invoking</A></H2><P> </P><DL><DT><CODE>script</CODE>, <CODE>one</CODE>, <CODE>all</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object script(</CODE><CODE>+<I>ScriptP</I></CODE><CODE> </CODE><CODE>+<I>OrderP</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> _)}</CODE></BLOCKQUOTE><P> </P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object one(</CODE><CODE>+<I>ScriptP</I></CODE><CODE> </CODE><CODE>+<I>OrderP</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> _)}</CODE></BLOCKQUOTE><P> </P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object all(</CODE><CODE>+<I>ScriptP</I></CODE><CODE> </CODE><CODE>+<I>OrderP</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> _)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Invokes the Explorer. For a detailed description see <A href="node2.html#chapter.invoke">Chapter 2</A>. </P></DD></DL><P> </P><H2><A name="label17">8.2 User-defined Actions</A></H2><P> </P><DL><DT><CODE>add</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object add(</CODE>...<CODE>)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Adds new actions to the Explorer. For a detailed description see <A href="node7.html#chapter.actions">Chapter 7</A>. </P></DD><DT><CODE>delete</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object delete(</CODE>...<CODE>)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Deletes actions from the Explorer. For a detailed description see <A href="node7.html#chapter.actions">Chapter 7</A>. </P></DD></DL><P> </P><H2><A name="label18">8.3 Options</A></H2><P> </P><DL><DT><CODE>option</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object option(search search: </CODE><CODE>+<I>AI1</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> information: </CODE><CODE>+<I>AI2</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> failed: </CODE><CODE>+<I>B</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Sets the options for search as described in <A href="node6.html#section.menu.options">Section 6.6</A>. <I>AI1</I> and <I>AI2</I> must be either <CODE>none</CODE>, <CODE>full</CODE>, or an integer. </P></DD><DT><CODE>option</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{{Explorer<SPAN class="keyword">.</SPAN>object option(drawing hide: </CODE><CODE>+<I>B1</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> scale: </CODE><CODE>+<I>B2</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> update: </CODE><CODE>+<I>I</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Sets the options for search as described in <A href="node6.html#section.menu.options">Section 6.6</A>. <I>AI1</I> and <I>AI2</I> must be either <CODE>none</CODE>, <CODE>full</CODE>, or an integer. </P></DD><DT><CODE>option</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object option(postscript color: </CODE><CODE>+<I>A1</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> orientation: </CODE><CODE>+<I>A2</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_<BR> size: </CODE><CODE>+<I>V</I></CODE><CODE><SPAN class="keyword"><=</SPAN>_)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Sets the options for postscript output as described in <A href="node6.html#section.menu.options">Section 6.6</A>. <I>A1</I> must be one of <CODE>full</CODE>, <CODE>grayscale</CODE>, or <CODE>bw</CODE>. <I>A2</I> must be one of <CODE>portrait</CODE> or <CODE>landscape</CODE>. <I>V</I> must be a virtual string built according to the same rules as described in <A href="node6.html#section.menu.options">Section 6.6</A>. </P></DD></DL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node7.html#chapter.actions"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label19">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>