ControlCollection

Inheritance: java.lang.Object, com.aspose.diagram.Collection

public class ControlCollection extends Collection<Control>

Control collection.

Methods

MethodDescription
add(T o)
add(Control item)Add the Control object in the collection.
clear()
contains(Object o)
equals(Object arg0)
get(int index)
getClass()
getControl(int IX)Gets the element at the specified index IX.
getControlFromId(int ID)Gets the element at the specified ID.
getControlFromName(String name)Gets the element at the specified name.
getCount()
getInnerList()
hashCode()
indexOf(Object o)
isExist(int index)
iterator()
notify()
notifyAll()
remove(Control item)Remove the Control object from the collection.
removeAt(int index)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(T o)

public int add(T o)

Parameters:

ParameterTypeDescription
oT

Returns: int

add(Control item)

public int add(Control item)

Add the Control object in the collection.

Parameters:

ParameterTypeDescription
itemControl

Returns: int -

clear()

public void clear()

contains(Object o)

public boolean contains(Object o)

Parameters:

ParameterTypeDescription
ojava.lang.Object

Returns: boolean

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public T get(int index)

Parameters:

ParameterTypeDescription
indexint

Returns: T

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getControl(int IX)

public Control getControl(int IX)

Gets the element at the specified index IX.

Parameters:

ParameterTypeDescription
IXint

Returns: Control -

getControlFromId(int ID)

public Control getControlFromId(int ID)

Gets the element at the specified ID.

Parameters:

ParameterTypeDescription
IDint

Returns: Control -

getControlFromName(String name)

public Control getControlFromName(String name)

Gets the element at the specified name.

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: Control -

getCount()

public int getCount()

Returns: int

getInnerList()

public ArrayList<T> getInnerList()

Returns: java.util.ArrayList

hashCode()

public native int hashCode()

Returns: int

indexOf(Object o)

public int indexOf(Object o)

Parameters:

ParameterTypeDescription
ojava.lang.Object

Returns: int

isExist(int index)

public boolean isExist(int index)

Parameters:

ParameterTypeDescription
indexint

Returns: boolean

iterator()

public Iterator<T> iterator()

Returns: java.util.Iterator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(Control item)

public void remove(Control item)

Remove the Control object from the collection.

Parameters:

ParameterTypeDescription
itemControl

removeAt(int index)

public void removeAt(int index)

Parameters:

ParameterTypeDescription
indexint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int