net.ontopia.topicmaps.viz
Class HighlightNode

java.lang.Object
  extended by net.ontopia.topicmaps.viz.HighlightNode
All Implemented Interfaces:
java.awt.event.ContainerListener, java.awt.event.KeyListener, java.util.EventListener

public class HighlightNode
extends java.lang.Object
implements java.awt.event.KeyListener, java.awt.event.ContainerListener


Field Summary
protected  VizController controller
           
protected  boolean fixed
           
protected  TMAbstractNode node
           
protected  VizPanel vpanel
           
 
Constructor Summary
HighlightNode(VizController controller)
           
 
Method Summary
 void componentAdded(java.awt.event.ContainerEvent e)
           
 void componentRemoved(java.awt.event.ContainerEvent e)
           
protected  void highlight(java.awt.Graphics g)
           
 void keyPressed(java.awt.event.KeyEvent keyEvent)
           
 void keyReleased(java.awt.event.KeyEvent keyEvent)
           
 void keyTyped(java.awt.event.KeyEvent keyEvent)
           
 void setNode(TMAbstractNode node, java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

protected TMAbstractNode node

fixed

protected boolean fixed

controller

protected VizController controller

vpanel

protected VizPanel vpanel
Constructor Detail

HighlightNode

public HighlightNode(VizController controller)
Method Detail

setNode

public void setNode(TMAbstractNode node,
                    java.awt.Graphics g)

highlight

protected void highlight(java.awt.Graphics g)

keyPressed

public void keyPressed(java.awt.event.KeyEvent keyEvent)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent keyEvent)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent keyEvent)
Specified by:
keyTyped in interface java.awt.event.KeyListener

componentAdded

public void componentAdded(java.awt.event.ContainerEvent e)
Specified by:
componentAdded in interface java.awt.event.ContainerListener

componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent e)
Specified by:
componentRemoved in interface java.awt.event.ContainerListener


Copyright © 2000-2012 Ontopia.