Public Member Functions

com.google.security.zynamics.binnavi.API.disassembly.ViewNode Class Reference

Inheritance diagram for com.google.security.zynamics.binnavi.API.disassembly.ViewNode:
com.google.security.zynamics.binnavi.API.disassembly.CodeNode com.google.security.zynamics.binnavi.API.disassembly.FunctionNode com.google.security.zynamics.binnavi.API.disassembly.GroupNode com.google.security.zynamics.binnavi.API.disassembly.TextNode

List of all members.

Public Member Functions

void addListener (final IViewNodeListener listener)
void addTag (final Tag tag) throws CouldntSaveDataException
Color getBorderColor ()
List< ViewNodegetChildren ()
Color getColor ()
List< ViewEdgegetIncomingEdges ()
List< ViewEdgegetOutgoingEdges ()
GroupNode getParentGroup ()
List< ViewNodegetParents ()
List< TaggetTags ()
double getX ()
double getY ()
boolean isSelected ()
boolean isTagged (final Tag tag)
boolean isVisible ()
void removeListener (final IViewNodeListener listener)
void removeTag (final Tag tag) throws CouldntSaveDataException
void setBorderColor (final Color color)
void setColor (final Color color)
void setSelected (final boolean selection)
void setX (final double newX)
void setY (final double newY)

Detailed Description

Represents a single node in a view.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.addListener ( final IViewNodeListener  listener  ) 

Adds a listener object that is notified about changes in the view node.

Parameters:
listener The listener that is added to the view node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.addTag ( final Tag  tag  )  throws CouldntSaveDataException

Tags a node with a given tag.

Parameters:
tag The tag that is added to the node.
Exceptions:
CouldntSaveDataException Thrown if the node could not be tagged.
Color com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getBorderColor (  ) 

Returns the current border color of the node.

Returns:
The current border color of the node.
List<ViewNode> com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getChildren (  ) 

Returns the nodes of the view that are reachable by following the outgoing edges of the view node.

Returns:
The reachable children of the view node.
Color com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getColor (  ) 

Returns the current background color of the node.

Returns:
The current background color of the node.
List<ViewEdge> com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getIncomingEdges (  ) 

Returns the incoming edges of the view node.

Returns:
The incoming edges of the view node.
List<ViewEdge> com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getOutgoingEdges (  ) 

Returns the ougoing edges of the view node.

Returns:
The outgoing edges of the view node.
GroupNode com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getParentGroup (  ) 

Returns the group node in which the node is contained. If the node does not belong to any group, the return value of this method is null.

Returns:
Parent group node of the node or null.
List<ViewNode> com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getParents (  ) 

Returns the nodes of the view that are reachable by following the incoming edges of the view node.

Returns:
The reachable parents of the view node.
List<Tag> com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getTags (  ) 

Returns the tags that are currently associated with the node.

Returns:
A list of tags.
double com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getX (  ) 

Returns the current X position of the node in the view.

Returns:
The current X position of the node in the view.
double com.google.security.zynamics.binnavi.API.disassembly.ViewNode.getY (  ) 

Returns the current Y position of the node in the view.

Returns:
The current Y position of the node in the view.
boolean com.google.security.zynamics.binnavi.API.disassembly.ViewNode.isSelected (  ) 

Determines whether the node is selected or not.

Returns:
True, if the node is selected. False, otherwise.
boolean com.google.security.zynamics.binnavi.API.disassembly.ViewNode.isTagged ( final Tag  tag  ) 

Determines whether the node is tagged with a given tag.

Parameters:
tag The tag that is checked.
Returns:
True, if the node is tagged with the tag. False, otherwise.
Exceptions:
IllegalArgumentException Thrown if the tag argument is null.
boolean com.google.security.zynamics.binnavi.API.disassembly.ViewNode.isVisible (  ) 

Determines whether the node is visible or not.

Returns:
True, if the node is visible. False, otherwise.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.removeListener ( final IViewNodeListener  listener  ) 

Removes a listener object from the view node.

Parameters:
listener The listener object to remove from the node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.removeTag ( final Tag  tag  )  throws CouldntSaveDataException

Removes a tag from the node.

Parameters:
tag The tag to remove from the node.
Exceptions:
CouldntSaveDataException Thrown if the tag could not be removed from the node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.setBorderColor ( final Color  color  ) 

Changes the border color of the node.

Parameters:
color The new border color of the node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.setColor ( final Color  color  ) 

Changes the background color of the node.

Parameters:
color The new background color of the node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.setSelected ( final boolean  selection  ) 

Selects or deselects the node.

Parameters:
selection True to select the node, false to deselect it.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.setX ( final double  newX  ) 

Changes the X position of the node.

Parameters:
newX The new X position of the node.
void com.google.security.zynamics.binnavi.API.disassembly.ViewNode.setY ( final double  newY  ) 

Changes the Y position of the node.

Parameters:
newY The new Y position of the node.