⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customize.html

📁 文件来自swarm.org
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:21 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  Customize</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../swarm/defobj/CreateS.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/defobj/CustomizeC.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>  &nbsp;&nbsp;<A HREF="Customize.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.defobj</FONT><BR>Interface  Customize</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../swarm/activity/Action.html">Action</A>, <A HREF="../../swarm/simtoolsgui/ActionCache.html">ActionCache</A>, <A HREF="../../swarm/activity/ActionCall.html">ActionCall</A>, <A HREF="../../swarm/activity/ActionChanged.html">ActionChanged</A>, <A HREF="../../swarm/activity/ActionConcurrent.html">ActionConcurrent</A>, <A HREF="../../swarm/activity/ActionForEach.html">ActionForEach</A>, <A HREF="../../swarm/activity/ActionForEachHomogeneous.html">ActionForEachHomogeneous</A>, <A HREF="../../swarm/activity/ActionGroup.html">ActionGroup</A>, <A HREF="../../swarm/activity/ActionTo.html">ActionTo</A>, <A HREF="../../swarm/activity/ActivationOrder.html">ActivationOrder</A>, <A HREF="../../swarm/analysis/ActiveGraph.html">ActiveGraph</A>, <A HREF="../../swarm/analysis/ActiveOutFile.html">ActiveOutFile</A>, <A HREF="../../swarm/objectbase/ActivityControl.html">ActivityControl</A>, <A HREF="../../swarm/gui/ArchivedGeometryWidget.html">ArchivedGeometryWidget</A>, <A HREF="../../swarm/defobj/Archiver.html">Archiver</A>, <A HREF="../../swarm/defobj/Arguments.html">Arguments</A>, <A HREF="../../swarm/collections/Array.html">Array</A>, <A HREF="../../swarm/analysis/Averager.html">Averager</A>, <A HREF="../../swarm/random/BasicRandomGenerator.html">BasicRandomGenerator</A>, <A HREF="../../swarm/defobj/BehaviorPhase.html">BehaviorPhase</A>, <A HREF="../../swarm/random/BernoulliDist.html">BernoulliDist</A>, <A HREF="../../swarm/random/BinomialDist.html">BinomialDist</A>, <A HREF="../../swarm/random/BooleanDistribution.html">BooleanDistribution</A>, <A HREF="../../swarm/random/C2TAUS1gen.html">C2TAUS1gen</A>, <A HREF="../../swarm/random/C2TAUS2gen.html">C2TAUS2gen</A>, <A HREF="../../swarm/random/C2TAUS3gen.html">C2TAUS3gen</A>, <A HREF="../../swarm/random/C2TAUSgen.html">C2TAUSgen</A>, <A HREF="../../swarm/space/Ca2d.html">Ca2d</A>, <A HREF="../../swarm/gui/Canvas.html">Canvas</A>, <A HREF="../../swarm/gui/CanvasAbstractItem.html">CanvasAbstractItem</A>, <A HREF="../../swarm/gui/CanvasItem.html">CanvasItem</A>, <A HREF="../../swarm/collections/Collection.html">Collection</A>, <A HREF="../../swarm/gui/Colormap.html">Colormap</A>, <A HREF="../../swarm/simtoolsgui/CommonProbeDisplay.html">CommonProbeDisplay</A>, <A HREF="../../swarm/simtoolsgui/CompleteProbeDisplay.html">CompleteProbeDisplay</A>, <A HREF="../../swarm/objectbase/CompleteProbeMap.html">CompleteProbeMap</A>, <A HREF="../../swarm/objectbase/CompleteVarMap.html">CompleteVarMap</A>, <A HREF="../../swarm/gui/CompositeItem.html">CompositeItem</A>, <A HREF="../../swarm/activity/CompoundAction.html">CompoundAction</A>, <A HREF="../../swarm/activity/ConcurrentGroup.html">ConcurrentGroup</A>, <A HREF="../../swarm/activity/ConcurrentSchedule.html">ConcurrentSchedule</A>, <A HREF="../../swarm/simtoolsgui/ControlPanel.html">ControlPanel</A>, <A HREF="../../swarm/space/ConwayLife2d.html">ConwayLife2d</A>, <A HREF="../../swarm/defobj/Create.html">Create</A>, <A HREF="../../swarm/defobj/CreatedClass.html">CreatedClass</A>, <A HREF="../../swarm/objectbase/CustomProbeMap.html">CustomProbeMap</A>, <A HREF="../../swarm/space/DblBuffer2d.html">DblBuffer2d</A>, <A HREF="../../swarm/objectbase/DefaultProbeMap.html">DefaultProbeMap</A>, <A HREF="../../swarm/space/Diffuse2d.html">Diffuse2d</A>, <A HREF="../../swarm/space/Discrete2d.html">Discrete2d</A>, <A HREF="../../swarm/random/DoubleDistribution.html">DoubleDistribution</A>, <A HREF="../../swarm/objectbase/EmptyProbeMap.html">EmptyProbeMap</A>, <A HREF="../../swarm/analysis/Entropy.html">Entropy</A>, <A HREF="../../swarm/defobj/Error.html">Error</A>, <A HREF="../../swarm/defobj/EventType.html">EventType</A>, <A HREF="../../swarm/random/ExponentialDist.html">ExponentialDist</A>, <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A>, <A HREF="../../swarm/analysis/EZBin.html">EZBin</A>, <A HREF="../../swarm/analysis/EZDistribution.html">EZDistribution</A>, <A HREF="../../swarm/analysis/EZGraph.html">EZGraph</A>, <A HREF="../../swarm/analysis/EZSequence.html">EZSequence</A>, <A HREF="../../swarm/activity/FAction.html">FAction</A>, <A HREF="../../swarm/activity/FActionForEach.html">FActionForEach</A>, <A HREF="../../swarm/activity/FActionForEachHeterogeneous.html">FActionForEachHeterogeneous</A>, <A HREF="../../swarm/activity/FActionForEachHomogeneous.html">FActionForEachHomogeneous</A>, <A HREF="../../swarm/defobj/FArguments.html">FArguments</A>, <A HREF="../../swarm/defobj/FCall.html">FCall</A>, <A HREF="../../swarm/random/GammaDist.html">GammaDist</A>, <A HREF="../../swarm/gui/Graph.html">Graph</A>, <A HREF="../../swarm/gui/GraphElement.html">GraphElement</A>, <A HREF="../../swarm/space/Grid2d.html">Grid2d</A>, <A HREF="../../swarm/simtoolsgui/GUISwarm.html">GUISwarm</A>, <A HREF="../../swarm/defobj/HDF5.html">HDF5</A>, <A HREF="../../swarm/defobj/HDF5Archiver.html">HDF5Archiver</A>, <A HREF="../../swarm/gui/Histogram.html">Histogram</A>, <A HREF="../../swarm/space/Int2dFiler.html">Int2dFiler</A>, <A HREF="../../swarm/random/IntegerDistribution.html">IntegerDistribution</A>, <A HREF="../../swarm/collections/KeyedCollection.html">KeyedCollection</A>, <A HREF="../../swarm/gui/LinkItem.html">LinkItem</A>, <A HREF="../../swarm/defobj/LispArchiver.html">LispArchiver</A>, <A HREF="../../swarm/collections/List.html">List</A>, <A HREF="../../swarm/collections/ListShuffler.html">ListShuffler</A>, <A HREF="../../swarm/random/LogNormalDist.html">LogNormalDist</A>, <A HREF="../../swarm/collections/Map.html">Map</A>, <A HREF="../../swarm/objectbase/MessageProbe.html">MessageProbe</A>, <A HREF="../../swarm/random/MT19937gen.html">MT19937gen</A>, <A HREF="../../swarm/simtoolsgui/MultiVarProbeDisplay.html">MultiVarProbeDisplay</A>, <A HREF="../../swarm/gui/NodeItem.html">NodeItem</A>, <A HREF="../../swarm/random/Normal.html">Normal</A>, <A HREF="../../swarm/random/NormalDist.html">NormalDist</A>, <A HREF="../../swarm/simtools/NSelect.html">NSelect</A>, <A HREF="../../swarm/space/Object2dDisplay.html">Object2dDisplay</A>, <A HREF="../../swarm/gui/OvalNodeItem.html">OvalNodeItem</A>, <A HREF="../../swarm/collections/Permutation.html">Permutation</A>, <A HREF="../../swarm/collections/PermutationItem.html">PermutationItem</A>, <A HREF="../../swarm/gui/Pixmap.html">Pixmap</A>, <A HREF="../../swarm/random/PMMLCG1gen.html">PMMLCG1gen</A>, <A HREF="../../swarm/random/PMMLCGgen.html">PMMLCGgen</A>, <A HREF="../../swarm/random/PoissonDist.html">PoissonDist</A>, <A HREF="../../swarm/random/ProbabilityDistribution.html">ProbabilityDistribution</A>, <A HREF="../../swarm/objectbase/Probe.html">Probe</A>, <A HREF="../../swarm/simtoolsgui/ProbeDisplay.html">ProbeDisplay</A>, <A HREF="../../swarm/simtoolsgui/ProbeDisplayManager.html">ProbeDisplayManager</A>, <A HREF="../../swarm/objectbase/ProbeLibrary.html">ProbeLibrary</A>, <A HREF="../../swarm/objectbase/ProbeMap.html">ProbeMap</A>, <A HREF="../../swarm/random/PSWBgen.html">PSWBgen</A>, <A HREF="../../swarm/simtools/QSort.html">QSort</A>, <A HREF="../../swarm/random/RandomBitDist.html">RandomBitDist</A>, <A HREF="../../swarm/gui/Raster.html">Raster</A>, <A HREF="../../swarm/gui/RectangleNodeItem.html">RectangleNodeItem</A>, <A HREF="../../swarm/activity/Schedule.html">Schedule</A>, <A HREF="../../swarm/simtoolsgui/SimpleProbeDisplay.html">SimpleProbeDisplay</A>, <A HREF="../../swarm/random/SimpleRandomGenerator.html">SimpleRandomGenerator</A>, <A HREF="../../swarm/simtoolsgui/SingleProbeDisplay.html">SingleProbeDisplay</A>, <A HREF="../../swarm/random/SplitRandomGenerator.html">SplitRandomGenerator</A>, <A HREF="../../swarm/collections/String.html">String</A>, <A HREF="../../swarm/objectbase/Swarm.html">Swarm</A>, <A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A>, <A HREF="../../swarm/activity/SwarmProcess.html">SwarmProcess</A>, <A HREF="../../swarm/defobj/Symbol.html">Symbol</A>, <A HREF="../../swarm/simtools/UName.html">UName</A>, <A HREF="../../swarm/random/UniformDoubleDist.html">UniformDoubleDist</A>, <A HREF="../../swarm/random/UniformIntegerDist.html">UniformIntegerDist</A>, <A HREF="../../swarm/random/UniformUnsignedDist.html">UniformUnsignedDist</A>, <A HREF="../../swarm/random/UnsignedDistribution.html">UnsignedDistribution</A>, <A HREF="../../swarm/space/Value2dDisplay.html">Value2dDisplay</A>, <A HREF="../../swarm/objectbase/VarProbe.html">VarProbe</A>, <A HREF="../../swarm/defobj/Warning.html">Warning</A>, <A HREF="../../swarm/gui/Widget.html">Widget</A>, <A HREF="../../swarm/defobj/Zone.html">Zone</A>, <A HREF="../../swarm/gui/ZoomRaster.html">ZoomRaster</A></DD></DL><HR><DL><DT>public interface <B>Customize</B></DL><P><strong> Create-phase customization.</strong>.Some types accept create-time messages not only when creating a new instance, but to customize a new version of the type itself.  Objects created from a customized type will have all options preset that create-time messages sent to the customized type object have already set.  If many objects all need the same create-time options, it is often simpler (and can also be faster) to create a customized version of a type first, and then create further instances from that type. Customizing a type object does not modify the original type object, but instead creates a new type object that has the customizations built-in.  A create: message on the new type object creates a new instance as if the same sequence of create-time messages had been sent to the original type object using createBegin: and createEnd. A type is customized by bracketing the sequence of create-time messages not with the createBegin: and createEnd messages used to create a new instance, but with customizeBegin: and customizeEnd messages instead. Whether a customized version of a type can be created depends on the implementation of the type itself.  If a type does not support customization, a customizeBegin: message on the type raises an error. All types defined by an @protocol declaration may be relied on to support at least one cycle of customization to create a new type object.  Whether an already customized type object (returned by customizeEnd) supports a further cycle of customization (by another sequence of customizeBegin:/customizeEnd) depends on the implementation of the original starting type.  A type should not be relied on to support more than one cycle of customization unless it is specifically documented to do so.<P><HR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -