public class HighlightNode extends Object implements KeyListener, ContainerListener
Modifier and Type | Field and Description |
---|---|
protected VizController |
controller |
protected boolean |
fixed |
protected TMAbstractNode |
node |
protected VizPanel |
vpanel |
Constructor and Description |
---|
HighlightNode(VizController controller) |
Modifier and Type | Method and Description |
---|---|
void |
componentAdded(ContainerEvent e) |
void |
componentRemoved(ContainerEvent e) |
protected void |
highlight(Graphics g) |
void |
keyPressed(KeyEvent keyEvent) |
void |
keyReleased(KeyEvent keyEvent) |
void |
keyTyped(KeyEvent keyEvent) |
void |
setNode(TMAbstractNode node,
Graphics g) |
protected TMAbstractNode node
protected boolean fixed
protected VizController controller
protected VizPanel vpanel
public HighlightNode(VizController controller)
public void setNode(TMAbstractNode node, Graphics g)
protected void highlight(Graphics g)
public void keyPressed(KeyEvent keyEvent)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent keyEvent)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent keyEvent)
keyTyped
in interface KeyListener
public void componentAdded(ContainerEvent e)
componentAdded
in interface ContainerListener
public void componentRemoved(ContainerEvent e)
componentRemoved
in interface ContainerListener