Modifier and Type | Method and Description |
---|---|
void |
add(XForm xform)
Adds new XForm into collection.
|
void |
clear()
Clears all items from the collection.
|
boolean |
contains(XForm item)
Determines whether the collection contains a specific value.
|
void |
copyTo(XForm[] array,
int index)
Copies XFormCollection into collection.
|
void |
delete()
Deletes all XForms from collection.
|
void |
delete(int index)
Delete XForm from collectin
|
void |
delete(String name)
Deletes XForm from collection by form name.
|
XForm |
get_Item(int index)
Returns XForm by index.
|
XForm |
get_Item(String name)
Returns XForm by its name.
|
String |
getFormName(XForm form)
Returns name of the form in this form collection
|
Object |
getSyncRoot()
Synchronization object.
|
boolean |
hasForm(String formName) |
boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
boolean |
isSynchronized()
Returns true if object is synchronized.
|
Iterator<XForm> |
iterator()
Returns collection enumerator.
|
boolean |
remove(XForm item)
Deletes specified item from collection.
|
int |
size()
Gets count of XForms in collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
Gets count of XForms in collection.
public boolean isSynchronized()
Returns true if object is synchronized.
public Object getSyncRoot()
Synchronization object.
public boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
public void add(XForm xform)
Adds new XForm into collection.
xform
- XForm to add into collectionpublic void delete(int index)
Delete XForm from collectin
index
- Index of XForm which must be deletedpublic void delete()
Deletes all XForms from collection.
public void copyTo(XForm[] array, int index)
Copies XFormCollection into collection.
array
- Array of XForm to be copiedindex
- Index where XFormCollection will be copiedpublic void delete(String name)
Deletes XForm from collection by form name.
name
- Name of XForm to be deleted.public XForm get_Item(int index)
Returns XForm by index.
index
- Index of XFormCollection. XForms numbering is started from 1public XForm get_Item(String name)
Returns XForm by its name. Exception is thrown if XForm with specified name is not found.
name
- Name of XFormpublic String getFormName(XForm form)
Returns name of the form in this form collection
form
- Form which name is searhcedpublic boolean hasForm(String formName)
public void clear()
Clears all items from the collection.
public boolean contains(XForm item)
Determines whether the collection contains a specific value.
item
- The object to locate in the collectionpublic boolean remove(XForm item)
Deletes specified item from collection.
item
- The object to delete