CellCollection

Overview

CellCollection là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: BaseCollection<ICell>, ICellCollection.

Nó đại diện cho một bộ sưu tập các tế bào.

Khóa học này cung cấp 16 phương pháp để làm việc với các đối tượng CellCollection trong các chương trình Java. Các phương pháp có sẵn bao gồm: CellCollection, asICollection, asIEnumerable, asIPresentationComponent, asISlideComponent, asList, get, getPresentation, getSlide, getSlidePart, initInternal, iterator,Và 2 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : presentation, slide, slidePart.

Properties

NameTypeAccessDescription
slideIBaseSlideReadGửi slide.
slidePartObjectReadTrả lại phần nhấp chuột liên quan đến bộ sưu tập này.
presentationIPresentationReadNhận được trình bày.

Methods

SignatureDescription
CellCollection()tạo ra một cái trống CellCollection.
CellCollection(cells: List<ICell>)Tạo một CellCollection mới với các tế bào đã được cung cấp.
CellCollection(cells: List<ICell>, parentSlide: IBaseSlide)Tạo một CellCollection mới với các tế bào và hình ảnh mẹ đẻ.
initInternal(cells: List<ICell>, slidePart: Object, parentSlide: IBaseSlide)CellCollectionKhởi đầu bộ sưu tập này với các tế bào, phần vỏ và vắt mẹ.
get(index: int)ICellTrả lại ICell vào chỉ số đã xác định
size()intTrả lại số lượng tế bào trong bộ sưu tập
asList()List<ICell>Trở lại một cái nhìn không thể thay đổi của danh sách tế bào nội bộ.
asICollection()List<ICell>Trở lại các tế bào như một bộ sưu tập gen.
asIEnumerable()Iterable<ICell>Trở lại một điều không thể chịu đựng trên các tế bào
getSlide()IBaseSlideTrở lại slide.
setParentSlide(parentSlide: IBaseSlide)Hãy đặt slide của cha mẹ cho bộ sưu tập này.
getSlidePart()ObjectTrả lại phần nhấp chuột liên quan đến bộ sưu tập này.
getPresentation()IPresentationTrở lại bản trình bày.
asISlideComponent()ISlideComponentQuay lại bộ sưu tập này như một ISlideComponent
asIPresentationComponent()IPresentationComponentQuay lại bộ sưu tập này như một IPresentationComponent
iterator()Iterator<ICell>Trả lại một iterator trên các tế bào trong bộ sưu tập

See Also

 Tiếng Việt