Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 794

mozart-1.4.0-1mdv2010.0.i586.rpm

<!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">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label19">Next &gt;&gt;</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&nbsp;=&nbsp;{New&nbsp;Explorer<SPAN class="keyword">.</SPAN><SPAN class="string">'class'</SPAN>&nbsp;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&nbsp;script(</CODE><CODE>+<I>ScriptP</I></CODE><CODE>&nbsp;</CODE><CODE>+<I>OrderP</I></CODE><CODE>&nbsp;<SPAN class="keyword">&lt;=</SPAN>&nbsp;_)}</CODE></BLOCKQUOTE><P> </P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object&nbsp;one(</CODE><CODE>+<I>ScriptP</I></CODE><CODE>&nbsp;</CODE><CODE>+<I>OrderP</I></CODE><CODE>&nbsp;<SPAN class="keyword">&lt;=</SPAN>&nbsp;_)}</CODE></BLOCKQUOTE><P> </P><BLOCKQUOTE class="code"><CODE>{Explorer<SPAN class="keyword">.</SPAN>object&nbsp;all(</CODE><CODE>+<I>ScriptP</I></CODE><CODE>&nbsp;</CODE><CODE>+<I>OrderP</I></CODE><CODE>&nbsp;<SPAN class="keyword">&lt;=</SPAN>&nbsp;_)}</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Invokes the Explorer. For a detailed description see <A href="node2.html#chapter.invoke">Chapter&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;option(search&nbsp;search:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</CODE><CODE>+<I>AI1</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;information:&nbsp;</CODE><CODE>+<I>AI2</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;failed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</CODE><CODE>+<I>B</I></CODE><CODE><SPAN class="keyword">&lt;=</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&nbsp;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&nbsp;option(drawing&nbsp;hide:&nbsp;&nbsp;&nbsp;</CODE><CODE>+<I>B1</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scale:&nbsp;&nbsp;</CODE><CODE>+<I>B2</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;update:&nbsp;</CODE><CODE>+<I>I</I></CODE><CODE><SPAN class="keyword">&lt;=</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&nbsp;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&nbsp;option(postscript&nbsp;color:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</CODE><CODE>+<I>A1</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;orientation:&nbsp;</CODE><CODE>+<I>A2</I></CODE><CODE><SPAN class="keyword">&lt;=</SPAN>_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</CODE><CODE>+<I>V</I></CODE><CODE><SPAN class="keyword">&lt;=</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&nbsp;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&nbsp;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">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label19">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>