String src = ((HeaderControl) event.getSource()).getSrc();
SC.say("Control " + src + " clicked");
}
};
HeaderControl arrowDown = new HeaderControl(HeaderControl.ARROW_DOWN, clickHandler);
HeaderControl arrowLeft = new HeaderControl(HeaderControl.ARROW_LEFT, clickHandler);
HeaderControl arrowRight = new HeaderControl(HeaderControl.ARROW_RIGHT, clickHandler);
HeaderControl arrowUp = new HeaderControl(HeaderControl.ARROW_UP, clickHandler);
HeaderControl calculator = new HeaderControl(HeaderControl.CALCULATOR, clickHandler);
HeaderControl cart = new HeaderControl(HeaderControl.CART, clickHandler);
HeaderControl cascade = new HeaderControl(HeaderControl.CASCADE, clickHandler);
HeaderControl clipboard = new HeaderControl(HeaderControl.CLIPBOARD, clickHandler);
HeaderControl clock = new HeaderControl(HeaderControl.CLOCK, clickHandler);
HeaderControl close = new HeaderControl(HeaderControl.CLOSE, clickHandler);
HeaderControl comment = new HeaderControl(HeaderControl.COMMENT, clickHandler);
HeaderControl document = new HeaderControl(HeaderControl.DOCUMENT, clickHandler);
HeaderControl doubleArrowDown = new HeaderControl(HeaderControl.DOUBLE_ARROW_DOWN, clickHandler);
HeaderControl doubleArrowLeft = new HeaderControl(HeaderControl.DOUBLE_ARROW_LEFT, clickHandler);
HeaderControl doubleArrowRight = new HeaderControl(HeaderControl.DOUBLE_ARROW_RIGHT, clickHandler);
HeaderControl doubleArrowUp = new HeaderControl(HeaderControl.DOUBLE_ARROW_UP, clickHandler);
HeaderControl favourite = new HeaderControl(HeaderControl.FAVOURITE, clickHandler);
HeaderControl find = new HeaderControl(HeaderControl.FIND, clickHandler);
HeaderControl help = new HeaderControl(HeaderControl.HELP, clickHandler);
HeaderControl home = new HeaderControl(HeaderControl.HOME, clickHandler);
HeaderControl mail = new HeaderControl(HeaderControl.MAIL, clickHandler);
HeaderControl maximize = new HeaderControl(HeaderControl.MAXIMIZE, clickHandler);
HeaderControl minimize = new HeaderControl(HeaderControl.MINIMIZE, clickHandler);
HeaderControl minus = new HeaderControl(HeaderControl.MINUS, clickHandler);
HeaderControl person = new HeaderControl(HeaderControl.PERSON, clickHandler);
HeaderControl pinDown = new HeaderControl(HeaderControl.PIN_DOWN, clickHandler);
HeaderControl pinLeft = new HeaderControl(HeaderControl.PIN_LEFT, clickHandler);
HeaderControl plus = new HeaderControl(HeaderControl.PLUS, clickHandler);
HeaderControl print = new HeaderControl(HeaderControl.PRINT, clickHandler);
HeaderControl refresh = new HeaderControl(HeaderControl.REFRESH, clickHandler);
HeaderControl refreshThin = new HeaderControl(HeaderControl.REFRESH_THIN, clickHandler);
HeaderControl save = new HeaderControl(HeaderControl.SAVE, clickHandler);
HeaderControl settings = new HeaderControl(HeaderControl.SETTINGS, clickHandler);
HeaderControl transfer = new HeaderControl(HeaderControl.TRANSFER, clickHandler);
HeaderControl trash = new HeaderControl(HeaderControl.TRASH, clickHandler);
HeaderControl zoom = new HeaderControl(HeaderControl.ZOOM, clickHandler);
Window window1 = new Window();
window1.setTitle("Title");
window1.setWidth(200);