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

📄 parameterblock.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</TR></TABLE><A NAME="shallowClone()"><!-- --></A><H3>shallowClone</H3><PRE>public <A HREF="../../../../java/lang/Object.html">Object</A> <B>shallowClone</B>()</PRE><DL><DD>Creates a shallow copy of a <code>ParameterBlock</code>.  The source and parameter Vectors are copied by reference -- additions or changes will be visible to both versions.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an Object clone of the <code>ParameterBlock</code>.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../../java/lang/Object.html">Object</A> <B>clone</B>()</PRE><DL><DD>Creates a copy of a <code>ParameterBlock</code>.  The source and parameter Vectors are cloned, but the actual sources and parameters are copied by reference.  This allows modifications to the order and number of sources and parameters in the clone to be invisible to the original <code>ParameterBlock</code>.  Changes to the shared sources or parameters themselves will still be visible.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an Object clone of the <code>ParameterBlock</code>.</DL></DD></DL><HR><A NAME="addSource(java.lang.Object)"><!-- --></A><H3>addSource</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>addSource</B>(<A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;source)</PRE><DL><DD>Adds an image to end of the list of sources.  The image is stored as an object in order to allow new node types in the future.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - an image object to be stored in the source list.</DL></DD></DL><HR><A NAME="getSource(int)"><!-- --></A><H3>getSource</H3><PRE>public <A HREF="../../../../java/lang/Object.html">Object</A> <B>getSource</B>(int&nbsp;index)</PRE><DL><DD>Returns a source as a general Object.  The caller must cast it into an appropriate type.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the source to be returned.</DL></DD></DL><HR><A NAME="setSource(java.lang.Object, int)"><!-- --></A><H3>setSource</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>setSource</B>(<A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;source,                                int&nbsp;index)</PRE><DL><DD>Replaces an entry in the list of source with a new source. If the index lies beyond the current source list, the list is extended with nulls as needed.<DD><DL></DL></DD></DL><HR><A NAME="getRenderedSource(int)"><!-- --></A><H3>getRenderedSource</H3><PRE>public <A HREF="../../../../java/awt/image/RenderedImage.html">RenderedImage</A> <B>getRenderedSource</B>(int&nbsp;index)</PRE><DL><DD>A convenience method to return a source as a RenderedImage. An exception will be thrown if the sources is not a RenderedImage.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the source to be returned.</DL></DD></DL><HR><A NAME="getRenderableSource(int)"><!-- --></A><H3>getRenderableSource</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/RenderableImage.html">RenderableImage</A> <B>getRenderableSource</B>(int&nbsp;index)</PRE><DL><DD>A convenience method to return a source as a RenderableImage. An exception will be thrown if the sources is not a RenderableImage.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the source to be returned.</DL></DD></DL><HR><A NAME="getNumSources()"><!-- --></A><H3>getNumSources</H3><PRE>public int <B>getNumSources</B>()</PRE><DL><DD>Returns the number of source images.<DD><DL></DL></DD></DL><HR><A NAME="getSources()"><!-- --></A><H3>getSources</H3><PRE>public <A HREF="../../../../java/util/Vector.html">Vector</A> <B>getSources</B>()</PRE><DL><DD>Returns the entire Vector of sources.<DD><DL></DL></DD></DL><HR><A NAME="setSources(java.util.Vector)"><!-- --></A><H3>setSources</H3><PRE>public void <B>setSources</B>(<A HREF="../../../../java/util/Vector.html">Vector</A>&nbsp;sources)</PRE><DL><DD>Sets the entire Vector of sources to a given Vector.<DD><DL></DL></DD></DL><HR><A NAME="removeSources()"><!-- --></A><H3>removeSources</H3><PRE>public void <B>removeSources</B>()</PRE><DL><DD>Clears the list of source images.<DD><DL></DL></DD></DL><HR><A NAME="getNumParameters()"><!-- --></A><H3>getNumParameters</H3><PRE>public int <B>getNumParameters</B>()</PRE><DL><DD>Returns the number of parameters (not including source images).<DD><DL></DL></DD></DL><HR><A NAME="getParameters()"><!-- --></A><H3>getParameters</H3><PRE>public <A HREF="../../../../java/util/Vector.html">Vector</A> <B>getParameters</B>()</PRE><DL><DD>Returns the entire Vector of parameters.<DD><DL></DL></DD></DL><HR><A NAME="setParameters(java.util.Vector)"><!-- --></A><H3>setParameters</H3><PRE>public void <B>setParameters</B>(<A HREF="../../../../java/util/Vector.html">Vector</A>&nbsp;parameters)</PRE><DL><DD>Sets the entire Vector of parameters to a given Vector.<DD><DL></DL></DD></DL><HR><A NAME="removeParameters()"><!-- --></A><H3>removeParameters</H3><PRE>public void <B>removeParameters</B>()</PRE><DL><DD>Clears the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(java.lang.Object)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(<A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;obj)</PRE><DL><DD>Adds an object to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(byte)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(byte&nbsp;b)</PRE><DL><DD>Adds a Byte to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(char)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(char&nbsp;c)</PRE><DL><DD>Adds a Character to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(short)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(short&nbsp;s)</PRE><DL><DD>Adds a Short to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(int)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(int&nbsp;i)</PRE><DL><DD>Adds a Integer to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(long)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(long&nbsp;l)</PRE><DL><DD>Adds a Long to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(float)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(float&nbsp;f)</PRE><DL><DD>Adds a Float to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="add(double)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>add</B>(double&nbsp;d)</PRE><DL><DD>Adds a Double to the list of parameters.<DD><DL></DL></DD></DL><HR><A NAME="set(java.lang.Object, int)"><!-- --></A><H3>set</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>set</B>(<A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;obj,                          int&nbsp;index)</PRE><DL><DD>Replaces an Object in the list of parameters. If the index lies beyond the current source list, the list is extended with nulls as needed.<DD><DL></DL></DD></DL><HR><A NAME="set(byte, int)"><!-- --></A><H3>set</H3><PRE>public <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A> <B>set</B>(byte&nbsp;b,                          int&nbsp;index)</PRE><DL><DD>Replaces an Object in the list of parameters with a Byte.

⌨️ 快捷键说明

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