Overview | Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## application.workbooks.workbook.presentations.presentation
Class CustomShowList

    java.lang.Object
      application.workbooks.workbook.presentations.presentation.CustomShowList

public class CustomShowList
extends java.lang.Object

该类定义了幻灯片自定义播放。

Constructor Summary
`CustomShowList(java.lang.String listName, int[] slideList)` 创建一个幻灯片播放列表的实例。

Method Summary
`java.lang.String` | `getListName()` 得到播放列表的名字。
`int` | `getSlide(int index)` 得到播放列表里某个位置需要播放的幻灯片。
`int[]` | `getSlideList()` 得到播放列表内存放的幻灯列表。
`void` | `setListName(java.lang.String listName)` 设置播放列表的名字。
`void` | `setSlide(int index, int slideIndex)` 设置播放列表里某个位置需要播放的幻灯片。
`void` | `setSlideList(int[] slideList)` 设置播放列表内存放的幻灯列表。

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CustomShowList

    public CustomShowList(java.lang.String listName,
                          int[] slideList)

  创建一个幻灯片播放列表的实例。

Parameters:
  `listName` - 播放列表的名称
  `slideList` - 播放列表内存放的幻灯列表

  例子:

       int[] list={0,1,0,1,0,1,0,1};
       CustomShowList customShowList=new aCustomShowList("SlayersBoxer",list);

Method Detail

### getListName

    public java.lang.String getListName()

  得到播放列表的名字。

  Returns:
    播放列表的名字

    例子:

         CustomShowList customShowList= Presentations.getActivePresentation().getCustomShowList(2);
         System.out.println(customShowList.getListName());

  See Also:
    `setListName(String listName)`

### getSlide

    public int getSlide(int index)

  得到播放列表里某个位置需要播放的幻灯片。

  Parameters:
    `index` - 播放列表里的位置
  Returns:
    这个位置幻灯片的索引号

    例子:

         CustomShowList customShowList= Presentations.getActivePresentation().getCustomShowList("SlayersBoxer");
         System.out.println(customShowList.getSlide(0));

  See Also:
    `setSlide(int index,int slideIndex)`

### getSlideList

    public int[] getSlideList()

  得到播放列表内存放的幻灯列表。

  Returns:
    播放列表内存放的幻灯列表

    例子:

         int[] list={0,0,0,0,1,1,1,1};
         CustomShowList customShowList=
         Presentations.getActivePresentation().getCustomShowList("SlayersBoxer");
         customShowList.setSlideList(list);

         customShowList.setListName("themarine");

         Presentations.getActivePresentation().addCustomShowList(customShowList);

  See Also:
    `setSlideList(int[] slideList)`

### setListName

    public void setListName(java.lang.String listName)

  设置播放列表的名字。

  Parameters:
    `listName` - 播放列表的名字

    例子:

         CustomShowList customShowList= Presentations.getActivePresentation().getCustomShowList("SlayersBoxer");
         customShowList.setListName("NaDa");
         Presentations.getActivePresentation().addCustomShowList(customShowList);

  See Also:
    `getListName()`

### setSlide

    public void setSlide(int index,
                         int slideIndex)

  设置播放列表里某个位置需要播放的幻灯片。

  Parameters:
    `index` - 需要设置的位置
    `slideIndex` - 在设置位置播放的幻灯片的索引号

    例子:

         CustomShowList customShowList= Presentations.getActivePresentation().getCustomShowList("SlayersBoxer");
         customShowList.setSlide(7,2);
         customShowList.setListName("NaDa");
         Presentations.getActivePresentation().addCustomShowList(customShowList);

  See Also:
    `getSlide(int index)`

### setSlideList

    public void setSlideList(int[] slideList)

  设置播放列表内存放的幻灯列表。

  Parameters:
    `slideList` - 播放列表内存放的幻灯列表

    例子:

         int[] list={0,0,0,0,1,1,1,1};
         CustomShowList customShowList=
         Presentations.getActivePresentation().getCustomShowList("SlayersBoxer");
         customShowList.setSlideList(list);

         customShowList.setListName("themarine");

         Presentations.getActivePresentation().addCustomShowList(customShowList);

  See Also:
    `getSlideList()`

Overview | Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

版权所有 2001-2004 无锡永中科技有限公司