setIndex() private method

private setIndex ( int index ) : void
index int
return void
Esempio n. 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");
     }
 }
Esempio n. 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");
     }
 }