Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< ITreeNode< CTag > >.
List of all members.
Detailed Description
A tag can be used to categorize views or nodes.
Constructor & Destructor Documentation
com.google.security.zynamics.binnavi.API.disassembly.Tag.Tag |
( |
final ITreeNode< CTag > |
tag |
) |
[package] |
Creates a new API tag object backed by an internal tag object.
- Parameters:
-
| tag | The internal tag object that backs the API tag object. |
Member Function Documentation
void com.google.security.zynamics.binnavi.API.disassembly.Tag.addListener |
( |
final ITagListener |
listener |
) |
|
Adds an object that is notified about changes in the tag.
- Parameters:
-
| listener | The listener object that is notified about changes in the tag. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object is already listening on the tag. |
List<Tag> com.google.security.zynamics.binnavi.API.disassembly.Tag.getChildren |
( |
|
) |
|
Returns the children of the tag.
- Returns:
- A list of child tags.
String com.google.security.zynamics.binnavi.API.disassembly.Tag.getDescription |
( |
|
) |
|
Returns the description of the tag.
- Returns:
- The description of the tag.
String com.google.security.zynamics.binnavi.API.disassembly.Tag.getName |
( |
|
) |
|
Returns the name of the tag.
- Returns:
- The name of the tag.
Tag com.google.security.zynamics.binnavi.API.disassembly.Tag.getParent |
( |
|
) |
|
Returns the parent tag of the tag.
- Returns:
- The parent tag of the tag.
TagType com.google.security.zynamics.binnavi.API.disassembly.Tag.getType |
( |
|
) |
|
Returns the type of the tag.
- Returns:
- The type of the tag.
static void com.google.security.zynamics.binnavi.API.disassembly.Tag.link |
( |
final Tag |
parent, |
|
|
final Tag |
child | |
|
) |
| | [static, package] |
Links two tag objects.
- Parameters:
-
| parent | The parent tag object that is set as the parent of the child. |
| child | The child tag object that is added to the child list of the parent. |
void com.google.security.zynamics.binnavi.API.disassembly.Tag.removeListener |
( |
final ITagListener |
listener |
) |
|
Removes a listener object from the tag.
- Parameters:
-
| listener | The listener object to remove from the tag. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object was not listening on the tag. |
void com.google.security.zynamics.binnavi.API.disassembly.Tag.setDescription |
( |
final String |
description |
) |
throws CouldntSaveDataException |
Changes the description of the tag.
- Parameters:
-
| description | The new description of the tag. |
- Exceptions:
-
void com.google.security.zynamics.binnavi.API.disassembly.Tag.setName |
( |
final String |
name |
) |
throws CouldntSaveDataException |
Changes the name of the tag.
- Parameters:
-
| name | The new description of the tag. |
- Exceptions:
-
String com.google.security.zynamics.binnavi.API.disassembly.Tag.toString |
( |
|
) |
|
Returns a string representation of the tag.
- Returns:
- A string representation of the tag.
static void com.google.security.zynamics.binnavi.API.disassembly.Tag.unlink |
( |
final Tag |
parent, |
|
|
final Tag |
child | |
|
) |
| | [static, package] |
Unlinks two tag objects.
- Parameters:
-
| parent | The parent tag. |
| child | The child tag that is removed from the child list of the parent. |