CustomCommandButtonCollection
Inheritance: java.lang.Object, com.aspose.gridweb.CollectionBase
public class CustomCommandButtonCollection extends CollectionBase
Represents the collection of CustomCommandButton.
Example
         GridWeb GridWeb1 = new GridWeb();
         CustomCommandButton button = new CustomCommandButton();
         button.setCommand("MyCommand");
         button.setImageUrl("images/button1.gif");
         GridWeb1.getCustomCommandButtons().add(button);
Methods
| Method | Description | 
|---|---|
| add(Object value) | Add a custom command button object to the collection. | 
| clear() | Clears the collection. | 
| contains(Object value) | Indicates whether the custom command button object is in the collection. | 
| copyTo(Object[] array, int index) | Copies the collection to an array. | 
| equals(Object arg0) | |
| get(int index) | Gets a custom command button object at the index. | 
| getClass() | |
| getCount() | Gets the count of the collection. | 
| getSyncRoot() | Internal used only. | 
| hashCode() | |
| indexOf(Object value) | Gets the index of the button. | 
| insert(int index, Object value) | Inserts a button at the index. | 
| isFixedSize() | Internal used only. | 
| isReadOnly() | Internal used only. | 
| isSynchronized() | Internal used only. | 
| iterator() | Gets a IEnumerator object of the collection. | 
| notify() | |
| notifyAll() | |
| remove(Object value) | Removes the custom command button object. | 
| removeAt(int index) | Removes at the index. | 
| set(int index, CustomCommandButton value) | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) | 
add(Object value)
public int add(Object value)
Add a custom command button object to the collection.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Object | The custom command button object. | 
Returns: int - The index.
clear()
public void clear()
Clears the collection.
contains(Object value)
public boolean contains(Object value)
Indicates whether the custom command button object is in the collection.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Object | Indicates whether the custom command button object is in the collection. | 
Returns: boolean - True of false.
copyTo(Object[] array, int index)
public void copyTo(Object[] array, int index)
Copies the collection to an array.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| array | java.lang.Object[] | The array. | 
| index | int | The start index of the array. | 
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | java.lang.Object | 
Returns: boolean
get(int index)
public CustomCommandButton get(int index)
Gets a custom command button object at the index.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | int | 
Returns: CustomCommandButton
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
Gets the count of the collection.
Returns: int
getSyncRoot()
public Object getSyncRoot()
Internal used only.
Returns: java.lang.Object
hashCode()
public native int hashCode()
Returns: int
indexOf(Object value)
public int indexOf(Object value)
Gets the index of the button.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Object | The button object. | 
Returns: int - The index.
insert(int index, Object value)
public void insert(int index, Object value)
Inserts a button at the index.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | int | Index. | 
| value | java.lang.Object | The CustomCommandButton object. | 
isFixedSize()
public boolean isFixedSize()
Internal used only.
Returns: boolean
isReadOnly()
public boolean isReadOnly()
Internal used only.
Returns: boolean
isSynchronized()
public boolean isSynchronized()
Internal used only.
Returns: boolean
iterator()
public Iterator iterator()
Gets a IEnumerator object of the collection.
Returns: java.util.Iterator - The IEnumerator object.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(Object value)
public void remove(Object value)
Removes the custom command button object.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Object | The custom command button object. | 
removeAt(int index)
public void removeAt(int index)
Removes at the index.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | int | Index. | 
set(int index, CustomCommandButton value)
public void set(int index, CustomCommandButton value)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | int | |
| value | CustomCommandButton | 
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | long | 
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | long | |
| arg1 | int |