public class CustomCommandButtonCollection extends CollectionBase
Example
GridWeb GridWeb1 = new GridWeb();
CustomCommandButton button = new CustomCommandButton();
button.setCommand("MyCommand");
button.setImageUrl("images/button1.gif");
GridWeb1.getCustomCommandButtons().add(button);
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.Object value)
Add a custom command button object to the collection.
|
void |
clear()
Clears the collection.
|
boolean |
contains(java.lang.Object value)
Indicates whether the custom command button object is in the collection.
|
void |
copyTo(java.lang.Object[] array,
int index)
Copies the collection to an array.
|
CustomCommandButton |
get(int index)
Gets a custom command button object at the index.
|
int |
getCount()
Gets the count of the collection.
|
java.lang.Object |
getSyncRoot()
Internal used only.
|
int |
indexOf(java.lang.Object value)
Gets the index of the button.
|
void |
insert(int index,
java.lang.Object value)
Inserts a button at the index.
|
boolean |
isFixedSize()
Internal used only.
|
boolean |
isReadOnly()
Internal used only.
|
boolean |
isSynchronized()
Internal used only.
|
java.util.Iterator |
iterator()
Gets a IEnumerator object of the collection.
|
void |
remove(java.lang.Object value)
Removes the custom command button object.
|
void |
removeAt(int index)
Removes at the index.
|
void |
set(int index,
CustomCommandButton value) |
public CustomCommandButton get(int index)
get in class CollectionBaseindex - Specified position index.public void set(int index,
CustomCommandButton value)
public void removeAt(int index)
removeAt in class CollectionBaseindex - Index.public void insert(int index,
java.lang.Object value)
index - Index.value - The CustomCommandButton object.public void remove(java.lang.Object value)
value - The custom command button object.public boolean contains(java.lang.Object value)
contains in class CollectionBasevalue - Indicates whether the custom command button object is in the collection.public void clear()
clear in class CollectionBasepublic int indexOf(java.lang.Object value)
indexOf in class CollectionBasevalue - The button object.public int add(java.lang.Object value)
add in class CollectionBasevalue - The custom command button object.public boolean isReadOnly()
public boolean isFixedSize()
public void copyTo(java.lang.Object[] array,
int index)
array - The array.index - The start index of the array.public boolean isSynchronized()
public int getCount()
getCount in class CollectionBasepublic java.lang.Object getSyncRoot()
public java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in class CollectionBaseSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.