Lines Matching defs:index
191 * @param index the index of the source to be returned.
193 * at the specified index in the <code>sources</code>
197 public Object getSource(int index) {
198 return sources.elementAt(index);
203 * If the index lies beyond the current source list,
206 * @param index the index into the <code>sources</code>
211 * <code>index</code>.
214 public ParameterBlock setSource(Object source, int index) {
216 int newSize = index + 1;
220 sources.setElementAt(source, index);
229 * @param index the index of the source to be returned
231 * image that is at the specified index in the
234 public RenderedImage getRenderedSource(int index) {
235 return (RenderedImage) sources.elementAt(index);
243 * @param index the index of the source to be returned
245 * image that is at the specified index in the
248 public RenderableImage getRenderableSource(int index) {
249 return (RenderableImage) sources.elementAt(index);
408 * If the index lies beyond the current source list,
411 * parameter at the specified index in the
413 * @param index the index of the parameter to be
418 public ParameterBlock set(Object obj, int index) {
420 int newSize = index + 1;
424 parameters.setElementAt(obj, index);
430 * If the index lies beyond the current source list,
433 * parameter at the specified index in the
435 * @param index the index of the parameter to be
440 public ParameterBlock set(byte b, int index) {
441 return set(new Byte(b), index);
446 * If the index lies beyond the current source list,
449 * parameter at the specified index in the
451 * @param index the index of the parameter to be
456 public ParameterBlock set(char c, int index) {
457 return set(new Character(c), index);
462 * If the index lies beyond the current source list,
465 * parameter at the specified index in the
467 * @param index the index of the parameter to be
472 public ParameterBlock set(short s, int index) {
473 return set(new Short(s), index);
478 * If the index lies beyond the current source list,
481 * parameter at the specified index in the
483 * @param index the index of the parameter to be
488 public ParameterBlock set(int i, int index) {
489 return set(new Integer(i), index);
494 * If the index lies beyond the current source list,
497 * parameter at the specified index in the
499 * @param index the index of the parameter to be
504 public ParameterBlock set(long l, int index) {
505 return set(new Long(l), index);
510 * If the index lies beyond the current source list,
513 * parameter at the specified index in the
515 * @param index the index of the parameter to be
520 public ParameterBlock set(float f, int index) {
521 return set(new Float(f), index);
526 * If the index lies beyond the current source list,
529 * parameter at the specified index in the
531 * @param index the index of the parameter to be
536 public ParameterBlock set(double d, int index) {
537 return set(new Double(d), index);
542 * @param index the index of the parameter to get
544 * the parameter at the specified index
548 public Object getObjectParameter(int index) {
549 return parameters.elementAt(index);
557 * @param index the index of the parameter to be returned.
558 * @return the parameter at the specified index
561 * specified index is not a <code>Byte</code>
563 * index is <code>null</code>
564 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
568 public byte getByteParameter(int index) {
569 return ((Byte)parameters.elementAt(index)).byteValue();
577 * @param index the index of the parameter to be returned.
578 * @return the parameter at the specified index
581 * specified index is not a <code>Character</code>
583 * index is <code>null</code>
584 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
588 public char getCharParameter(int index) {
589 return ((Character)parameters.elementAt(index)).charValue();
597 * @param index the index of the parameter to be returned.
598 * @return the parameter at the specified index
601 * specified index is not a <code>Short</code>
603 * index is <code>null</code>
604 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
608 public short getShortParameter(int index) {
609 return ((Short)parameters.elementAt(index)).shortValue();
617 * @param index the index of the parameter to be returned.
618 * @return the parameter at the specified index
621 * specified index is not a <code>Integer</code>
623 * index is <code>null</code>
624 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
628 public int getIntParameter(int index) {
629 return ((Integer)parameters.elementAt(index)).intValue();
637 * @param index the index of the parameter to be returned.
638 * @return the parameter at the specified index
641 * specified index is not a <code>Long</code>
643 * index is <code>null</code>
644 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
648 public long getLongParameter(int index) {
649 return ((Long)parameters.elementAt(index)).longValue();
657 * @param index the index of the parameter to be returned.
658 * @return the parameter at the specified index
661 * specified index is not a <code>Float</code>
663 * index is <code>null</code>
664 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
668 public float getFloatParameter(int index) {
669 return ((Float)parameters.elementAt(index)).floatValue();
677 * @param index the index of the parameter to be returned.
678 * @return the parameter at the specified index
681 * specified index is not a <code>Double</code>
683 * index is <code>null</code>
684 * @throws ArrayIndexOutOfBoundsException if <code>index</code>
688 public double getDoubleParameter(int index) {
689 return ((Double)parameters.elementAt(index)).doubleValue();