tabcollection-ag凯发旗舰厅



com.spire.doc.collections
class tabcollection

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.collections.collectionex
          extended by com.spire.doc.documents.xml.documentserializablecollection
              extended by com.spire.doc.collections.tabcollection
all implemented interfaces:
ixdlsserializablecollection, java.lang.iterable

public class tabcollection
extends documentserializablecollection

represents a collection of tab objects for paragraph or paragraph format.


method summary
 tab addtab()
          adds the tab.
 tab addtab(float position)
          adds the tab.
 tab addtab(float position, tabjustification justification, tableader leader)
          adds the tab.
 void clear()
          removes all the tabs from the tab collection.
 tab get(int index)
          gets the tab at the specified index.
 void removeat(int index)
          removes the tab at the specified index from the tab collection
 
methods inherited from class com.spire.doc.collections.collectionex
getcount, iterator
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.ixdlsserializablecollection
addnewitem, getcount, gettagitemnameex
 
method detail

get

public tab get(int index)
gets the tab at the specified index.
parameters:
index - the index
returns:
the tab

addtab

public tab addtab()
adds the tab.
returns:
tab object

addtab

public tab addtab(float position,
                  tabjustification justification,
                  tableader leader)
adds the tab.
parameters:
position - the position.
justification - the justification.
leader - the leader.
returns:
tab object

addtab

public tab addtab(float position)
adds the tab.
parameters:
position - the position
returns:
tab object

clear

public void clear()
removes all the tabs from the tab collection.
overrides:
clear in class collectionex

removeat

public void removeat(int index)
removes the tab at the specified index from the tab collection
parameters:
index - index


网站地图