public Panel window;
public Matrix matrix;
public id supermenu;
public id submenu;
id initWithTitle tom.String title;
MenuCell addItem tom.String name action selector sel target: tom.All target = nil;
void closeMenuTree;
void hookSubmenu Menu submenu to MenuCell cell pre [[matrix cells] indexOfIdentical cell] >= 0;
protected void set_submenu Menu menu pre submenu == nil;
protected void set_supermenu Menu menu;
void showMenu Matrix sender;
void sizeToCells;
void matrix Matrix matrix didStartCycle Cell cell;
void encodeUsingCoder tom.Encoder coder;
void initWithCoder tom.Decoder coder;