slidelist-ag凯发旗舰厅



com.spire.presentation
class slidelist

java.lang.object
  extended by com.spire.presentation.slidelist
direct known subclasses:
slidecollection

public class slidelist
extends java.lang.object

represents a collection of a slides.


constructor summary
slidelist( parent)
           
 
method summary
 islide append()
          append new slide.
 int append(islide slide)
          adds a slide to the collection.
 int append(islide slide, ilayout layout)
          adds a copy of a slide to the end of the collection.
 int append(islide slide, imasterslide master)
          adds a slide to the collection.
 islide append(slidelayouttype templatetype)
           
 islide get(int index)
          gets the element at the specified index.
 int getcount()
          gets the number of elements actually contained in the collection.
 int indexof(islide slide)
          gets an index of the specified slide in the collection.
 islide insert(int index)
          insert a empty slide to collection.
 void insert(int index, islide slide)
          inserts a slide to the collection.
 void insert(int index, islide slide, ilayout layout)
          inserts a copy of slide to specified position of the collection.
 void insert(int index, islide slide, imasterslide master)
          inserts a slide to the collection.
 islide insert(int index, slidelayouttype templatetype)
          insert a slide to collection.
 void move(int newindex, int oldindex)
          moves slide from the collection to the specified position.
 void remove(islide value)
          removes the first occurrence of a specific object from the collection.
 void removeat(int index)
          removes the element at the specified index of the collection.
 islide[] toarray()
          creates and returns an array with all slides in it.
 islide[] toarray(int startindex, int count)
           
 
constructor detail

slidelist

public slidelist( parent)
method detail

getcount

public int getcount()
gets the number of elements actually contained in the collection.
returns:

get

public islide get(int index)
gets the element at the specified index. read-only .
parameters:
index -
returns:

append

public islide append()
append new slide.
returns:
throws:
java.lang.exception

append

public islide append(slidelayouttype templatetype)

append

public int append(islide slide)
adds a slide to the collection.
parameters:
slide -
returns:
throws:
java.lang.exception

insert

public void insert(int index,
                   islide slide)
inserts a slide to the collection.
parameters:
index -
slide -
throws:
java.lang.exception

insert

public islide insert(int index)
insert a empty slide to collection.
parameters:
index -
returns:
throws:
java.lang.exception

insert

public islide insert(int index,
                     slidelayouttype templatetype)
insert a slide to collection.
parameters:
index -
templatetype -
returns:
throws:
java.lang.exception

append

public int append(islide slide,
                  ilayout layout)
adds a copy of a slide to the end of the collection.
parameters:
slide -
layout - layout slide for a new slide.
returns:
index of new slide.
throws:
java.lang.exception

insert

public void insert(int index,
                   islide slide,
                   ilayout layout)
inserts a copy of slide to specified position of the collection.
parameters:
index - index of new slide.
slide - slide to copy.
layout - layout slide for a new slide.
throws:
java.lang.exception

append

public int append(islide slide,
                  imasterslide master)
adds a slide to the collection.
parameters:
slide -
master -
returns:
throws:
java.lang.exception

insert

public void insert(int index,
                   islide slide,
                   imasterslide master)
inserts a slide to the collection.
parameters:
index -
slide -
master -
throws:
java.lang.exception

remove

public void remove(islide value)
removes the first occurrence of a specific object from the collection.
parameters:
value - the slide to remove from the collection.

removeat

public void removeat(int index)
removes the element at the specified index of the collection.
parameters:
index - the zero-based index of the element to remove.

toarray

public islide[] toarray()
creates and returns an array with all slides in it.
returns:
array of

toarray

public islide[] toarray(int startindex,
                        int count)

indexof

public int indexof(islide slide)
gets an index of the specified slide in the collection.
parameters:
slide - slideslidede to find.
returns:
index of a slide.

move

public void move(int newindex,
                 int oldindex)
          throws documenteditexception
moves slide from the collection to the specified position.
parameters:
newindex - :target index.
oldindex - :move from.
throws:
documenteditexception


网站地图