📄 parameterblock.html
字号:
<BR> A convenience method to return a parameter as a double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getFloatParameter(int)">getFloatParameter</A></B>(int index)</CODE><BR> A convenience method to return a parameter as a float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getIntParameter(int)">getIntParameter</A></B>(int index)</CODE><BR> A convenience method to return a parameter as an int.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getLongParameter(int)">getLongParameter</A></B>(int index)</CODE><BR> A convenience method to return a parameter as a long.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getNumParameters()">getNumParameters</A></B>()</CODE><BR> Returns the number of parameters (not including source images).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getNumSources()">getNumSources</A></B>()</CODE><BR> Returns the number of source images.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getObjectParameter(int)">getObjectParameter</A></B>(int index)</CODE><BR> Gets a parameter as an object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/Class.html">Class</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getParamClasses()">getParamClasses</A></B>()</CODE><BR> Returns an array of Class objects describing the types of the parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/util/Vector.html">Vector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getParameters()">getParameters</A></B>()</CODE><BR> Returns the entire Vector of parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/RenderableImage.html">RenderableImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getRenderableSource(int)">getRenderableSource</A></B>(int index)</CODE><BR> A convenience method to return a source as a RenderableImage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/RenderedImage.html">RenderedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getRenderedSource(int)">getRenderedSource</A></B>(int index)</CODE><BR> A convenience method to return a source as a RenderedImage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getShortParameter(int)">getShortParameter</A></B>(int index)</CODE><BR> A convenience method to return a parameter as a short.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getSource(int)">getSource</A></B>(int index)</CODE><BR> Returns a source as a general Object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/util/Vector.html">Vector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#getSources()">getSources</A></B>()</CODE><BR> Returns the entire Vector of sources.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#removeParameters()">removeParameters</A></B>()</CODE><BR> Clears the list of parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#removeSources()">removeSources</A></B>()</CODE><BR> Clears the list of source images.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(byte, int)">set</A></B>(byte b, int index)</CODE><BR> Replaces an Object in the list of parameters with a Byte.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(char, int)">set</A></B>(char c, int index)</CODE><BR> Replaces an Object in the list of parameters with a Character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(double, int)">set</A></B>(double d, int index)</CODE><BR> Replaces an Object in the list of parameters with a Double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(float, int)">set</A></B>(float f, int index)</CODE><BR> Replaces an Object in the list of parameters with a Float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(int, int)">set</A></B>(int i, int index)</CODE><BR> Replaces an Object in the list of parameters with an Integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(long, int)">set</A></B>(long l, int index)</CODE><BR> Replaces an Object in the list of parameters with a Long.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(java.lang.Object, int)">set</A></B>(<A HREF="../../../../java/lang/Object.html">Object</A> obj, int index)</CODE><BR> Replaces an Object in the list of parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#set(short, int)">set</A></B>(short s, int index)</CODE><BR> Replaces an Object in the list of parameters with a Short.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#setParameters(java.util.Vector)">setParameters</A></B>(<A HREF="../../../../java/util/Vector.html">Vector</A> parameters)</CODE><BR> Sets the entire Vector of parameters to a given Vector.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/image/renderable/ParameterBlock.html">ParameterBlock</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#setSource(java.lang.Object, int)">setSource</A></B>(<A HREF="../../../../java/lang/Object.html">Object</A> source, int index)</CODE><BR> Replaces an entry in the list of source with a new source.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#setSources(java.util.Vector)">setSources</A></B>(<A HREF="../../../../java/util/Vector.html">Vector</A> sources)</CODE><BR> Sets the entire Vector of sources to a given Vector.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../java/awt/image/renderable/ParameterBlock.html#shallowClone()">shallowClone</A></B>()</CODE><BR> Creates a shallow copy of a <code>ParameterBlock</code>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="sources"><!-- --></A><H3>sources</H3><PRE>protected <A HREF="../../../../java/util/Vector.html">Vector</A> <B>sources</B></PRE><DL><DD>A Vector of sources, stored as arbitrary Objects.</DL><HR><A NAME="parameters"><!-- --></A><H3>parameters</H3><PRE>protected <A HREF="../../../../java/util/Vector.html">Vector</A> <B>parameters</B></PRE><DL><DD>A Vector of non-source parameters, stored as arbitrary Objects.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ParameterBlock()"><!-- --></A><H3>ParameterBlock</H3><PRE>public <B>ParameterBlock</B>()</PRE><DL><DD>A dummy constructor.</DL><HR><A NAME="ParameterBlock(java.util.Vector)"><!-- --></A><H3>ParameterBlock</H3><PRE>public <B>ParameterBlock</B>(<A HREF="../../../../java/util/Vector.html">Vector</A> sources)</PRE><DL><DD>Constructs a <code>ParameterBlock</code> with a given Vector of sources.</DL><HR><A NAME="ParameterBlock(java.util.Vector, java.util.Vector)"><!-- --></A><H3>ParameterBlock</H3><PRE>public <B>ParameterBlock</B>(<A HREF="../../../../java/util/Vector.html">Vector</A> sources, <A HREF="../../../../java/util/Vector.html">Vector</A> parameters)</PRE><DL><DD>Constructs a <code>ParameterBlock</code> with a given Vector of sources and Vector of parameters.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -