?? actiongroupimpl.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:20 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Class ActionGroupImpl</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="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="../../swarm/activity/ActionGroupCImpl.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/activity/ActionToCImpl.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ActionGroupImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.activity</FONT><BR>Class ActionGroupImpl</H2><PRE>java.lang.Object | +--<A HREF="../../swarm/BaseImpl.html">swarm.BaseImpl</A> | +--<B>swarm.activity.ActionGroupImpl</B></PRE><HR><DL><DT>public class <B>ActionGroupImpl</B><DT>extends <A HREF="../../swarm/BaseImpl.html">BaseImpl</A><DT>implements <A HREF="../../swarm/activity/CompoundAction.html">CompoundAction</A>, <A HREF="../../swarm/activity/CompoundActionS.html">CompoundActionS</A>, <A HREF="../../swarm/activity/ActionCreating.html">ActionCreating</A>, <A HREF="../../swarm/activity/ActionCreatingS.html">ActionCreatingS</A>, <A HREF="../../swarm/activity/DefaultOrder.html">DefaultOrder</A>, <A HREF="../../swarm/activity/DefaultOrderS.html">DefaultOrderS</A>, <A HREF="../../swarm/activity/ActionGroupS.html">ActionGroupS</A>, <A HREF="../../swarm/activity/ActionGroup.html">ActionGroup</A></DL><P><strong> A collection of actions under total or partial order constraints.</strong>.An action group is an action plan whose basic representation is a sequence of actions that have been created within it. An action group inherits its underlying representation from the OrderedSet type of the collections library. All the members of the ordered set must consist only of actions that are created by one of the createAction messages defined on ActionGroup itself. Once the actions are created, they may be accessed or traversed using standard messages of the OrderedSet type. The action objects are an integral, controlled component of the action plan in which they are created. If they are removed from the action plan collection using a remove message, the only collection in which they may be reinserted is the same collection from which they came. It is permissible, however, to modify the base representation sequence by removing from one position and reinserting at another.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/activity/ActionGroupImpl.html#ActionGroupImpl()">ActionGroupImpl</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/activity/ActionGroupImpl.html#ActionGroupImpl(swarm.defobj.Zone)">ActionGroupImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone)</CODE><BR> The create: message creates a new instance of a type with default options.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="methods_implemented_from_interfaces_swarm.activity.ActionCreating"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/ActionCreating.html">ActionCreating</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/ActionCreating.html#createAction(java.lang.Object)">createAction</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.DefaultOrder"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/DefaultOrder.html">DefaultOrder</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/DefaultOrder.html#getDefaultOrder()">getDefaultOrder</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.DefaultOrderS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/DefaultOrderS.html">DefaultOrderS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/DefaultOrderS.html#setDefaultOrder(swarm.defobj.Symbol)">setDefaultOrder</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.ActionType"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/ActionType.html">ActionType</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/ActionType.html#activateIn(swarm.objectbase.Swarm)">activateIn</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.collections.Collection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.collections.<A HREF="../../swarm/collections/Collection.html">Collection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/collections/Collection.html#allSameClass()">allSameClass</A>, <A HREF="../../swarm/collections/Collection.html#begin(swarm.defobj.Zone)">begin</A>, <A HREF="../../swarm/collections/Collection.html#beginPermuted(swarm.defobj.Zone)">beginPermuted</A>, <A HREF="../../swarm/collections/Collection.html#contains(java.lang.Object)">contains</A>, <A HREF="../../swarm/collections/Collection.html#copy(swarm.defobj.Zone)">copy</A>, <A HREF="../../swarm/collections/Collection.html#deleteAll()">deleteAll</A>, <A HREF="../../swarm/collections/Collection.html#getCount()">getCount</A>, <A HREF="../../swarm/collections/Collection.html#getReplaceOnly()">getReplaceOnly</A>, <A HREF="../../swarm/collections/Collection.html#remove(java.lang.Object)">remove</A>, <A HREF="../../swarm/collections/Collection.html#removeAll()">removeAll</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.AutoDrop"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/AutoDrop.html">AutoDrop</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/AutoDrop.html#getAutoDrop()">getAutoDrop</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.defobj.Copy"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.defobj.<A HREF="../../swarm/defobj/Copy.html">Copy</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/Copy.html#copy(swarm.defobj.Zone)">copy</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.defobj.Drop"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.defobj.<A HREF="../../swarm/defobj/Drop.html">Drop</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/Drop.html#drop()">drop</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.collections.Offsets"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.collections.<A HREF="../../swarm/collections/Offsets.html">Offsets</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/collections/Offsets.html#atOffset(int)">atOffset</A>, <A HREF="../../swarm/collections/Offsets.html#atOffset$put(int, java.lang.Object)">atOffset$put</A>, <A HREF="../../swarm/collections/Offsets.html#getFirst()">getFirst</A>,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -