tabstoplist-ag凯发旗舰厅



com.spire.presentation.collections
class tabstoplist

java.lang.object
  extended by com.spire.presentation.collections.tabstoplist
direct known subclasses:
tabstopcollection

public class tabstoplist
extends java.lang.object

represents a collection of tabs.


constructor summary
tabstoplist()
           
 
method summary
 int append(tabstop value)
          adds a tab to the collection.
 void clear()
          removes all elements from the collection.
 boolean equals(java.lang.object obj)
          indicates whether two tabs instances are equal.
 tabstop get(int index)
          gets the element at the specified index.
 int getcount()
          gets the number of elements actually contained in the collection.
 int hashcode()
          gets hash code for this object.
 void removeat(int index)
          removes the element at the specified index of the collection.
 
constructor detail

tabstoplist

public tabstoplist()
method detail

getcount

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

get

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

append

public int append(tabstop value)
           throws documenteditexception
adds a tab to the collection.
parameters:
value - the tab object to be added at the end of the collection.
returns:
the index at which the tab was added.
throws:
documenteditexception

clear

public void clear()
removes all elements 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.

equals

public boolean equals(java.lang.object obj)
indicates whether two tabs instances are equal.
overrides:
equals in class java.lang.object
parameters:
obj - the tabs to compare with the current tabs.
returns:
if the specified tabs is equal to the current tabs; otherwise, false.

hashcode

public int hashcode()
gets hash code for this object.
overrides:
hashcode in class java.lang.object
returns:


网站地图