kites.visual
Interface NodeContainer

All Known Implementing Classes:
NodeBox, NodeLabel

public interface NodeContainer

This interface defines the basic function a graphical representation of a term has to perform


Method Summary
 void activate()
          Activate this container's popup menu.
 void addClosePar()
          Add a closing parenthesis at the textual end of this container.
 void addComma()
          Add a comma at the textual end of this container.
 void colorize()
          Colorize this container.
 void deactivate()
          deactivate this container's popup menu.
 void setInterpreterWindow(InterpreterWindow wnd)
          Set the interpreter window this container will be placed in.
 java.lang.String toString()
          Give the string representation of this container
 

Method Detail

setInterpreterWindow

void setInterpreterWindow(InterpreterWindow wnd)
Set the interpreter window this container will be placed in.

Parameters:
wnd - the window

toString

java.lang.String toString()
Give the string representation of this container

Overrides:
toString in class java.lang.Object
Returns:
the string representation

deactivate

void deactivate()
deactivate this container's popup menu. If it has children, also deactivate them.


addComma

void addComma()
Add a comma at the textual end of this container.


addClosePar

void addClosePar()
Add a closing parenthesis at the textual end of this container.


activate

void activate()
Activate this container's popup menu. If it has children, also activate them. Activation means: if a rule can be applied to this container, then activation is possible and a popup menu, displaying the applicable rules shall be openable.


colorize

void colorize()
Colorize this container. If it has children, also colorize them. Colorization means: if a rule can be applied to this containe, then colorization is possible, set a yellow background color.