Package ghidra.graph.viewer.vertex
Class DockingVisualVertex
java.lang.Object
ghidra.graph.viewer.vertex.AbstractVisualVertex
ghidra.graph.viewer.vertex.DockingVisualVertex
- All Implemented Interfaces:
- GVertex,- VisualVertex
A 
VisualVertex implementation that provides a component with a docking header that 
 is clickable.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()A dispose method that should be called when a vertex is reclaimed, never again to be used in a graph or displaybooleanReturns the component of this vertex.getName()getText()inthashCode()booleanReturns true if the given component of this vertex is grabbable, which means that mouse drags on that component will move the vertex.voidsetFocused(boolean focused) Sets this vertex to be focused.voidsetMaxWidth(int width) voidsetSelected(boolean selected) Sets this vertex selectedtoString()Methods inherited from class ghidra.graph.viewer.vertex.AbstractVisualVertexgetAlpha, getEmphasis, getLocation, isFocused, isHovered, isSelected, setAlpha, setEmphasis, setHovered, setLocation
- 
Constructor Details- 
DockingVisualVertex
 
- 
- 
Method Details- 
isGrabbableDescription copied from interface:VisualVertexReturns true if the given component of this vertex is grabbable, which means that mouse drags on that component will move the vertex.This is used to differentiate components within a vertex that should receive mouse events versus those components that will not be given mouse events. - Specified by:
- isGrabbablein interface- VisualVertex
- Overrides:
- isGrabbablein class- AbstractVisualVertex
- Parameters:
- c- the component
- Returns:
- true if the component is grabbable
 
- 
getComponentDescription copied from interface:VisualVertexReturns the component of this vertex. This is used for rendering and interaction with the user.- Returns:
- the component of this vertex
 
- 
getTextArea
- 
getText
- 
getName
- 
setMaxWidthpublic void setMaxWidth(int width) 
- 
setFocusedpublic void setFocused(boolean focused) Description copied from interface:VisualVertexSets this vertex to be focused. This differs from being selected in that multiple vertices in a graph can be selected, but only one can be the focused vertex.- Specified by:
- setFocusedin interface- VisualVertex
- Overrides:
- setFocusedin class- AbstractVisualVertex
- Parameters:
- focused- true to focus; false to be marked as not focused
 
- 
setSelectedpublic void setSelected(boolean selected) Description copied from interface:VisualVertexSets this vertex selected- Specified by:
- setSelectedin interface- VisualVertex
- Overrides:
- setSelectedin class- AbstractVisualVertex
- Parameters:
- selected- true to select this vertex; false to de-select this vertex
 
- 
disposepublic void dispose()Description copied from interface:VisualVertexA dispose method that should be called when a vertex is reclaimed, never again to be used in a graph or display
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
 
-