public class GXTagList
extends GXInitializableTagList
| Constructor and Description |
|---|
GXTagList() |
GXTagList(GXITag parentTag)
Initializes the list and associates it to the parent tag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(GXITag tag)
Add a new tag to the tag list
|
GXITag |
get(int index)
Return the cell according to the index.
|
void |
insert(GXITag tag,
int index)
Inserts the tag at the specified index.
|
void |
remove(GXITag tag)
Removes the specified tag from the tag list
|
void |
replace(GXITag originalTag,
GXITag newTag)
Replaces the specified tag with the original tag in the tag list.
|
public GXTagList()
public GXTagList(GXITag parentTag)
getParent() method will return the parent tagparentTag - the parent tagpublic void replace(GXITag originalTag, GXITag newTag)
The following original tag properties will be copied to the new tag:
position,length,offsetTop,offsetLeft,hostField
originalTag - the original tag which should be replacednewTag - the new tag that should replace the original tagpublic void remove(GXITag tag)
tag - The tag to removepublic void insert(GXITag tag, int index)
tag - the new tag to insertindex - the tag-list index to insert the tag atArrayIndexOutOfBoundsException - if the index was invalid.public GXITag get(int index)
index - the index of the requested tagArrayIndexOutOfBoundsException - if the index was invalid.public void add(GXITag tag)
tag - The new tag to addCopyright 2022 Software AG. All rights reserved. Use is subject to license terms.