setIndex() private method

private setIndex ( int index ) : void
index int
return void
Example #1
0
 private void setListAndIndex(SvgPathSeg newItem, int index)
 {
     if (newItem != null)
     {
         newItem.setList(this);
         newItem.setIndex(index);
     }
     else
     {
         throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList");
     }
 }
Example #2
0
 private void setListAndIndex(SvgPathSeg newItem, int index)
 {
     if(newItem != null)
     {
         newItem.setList(this);
         newItem.setIndex(index);
     }
     else
     {
         throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList");
     }
 }