}
}
}, MouseOverEvent.getType());
locker_r = RootPanel.get("applet-bar").addDomHandler(
new MouseOutHandler() {
@Override
public void onMouseOut(MouseOutEvent event) {
DOM.getElementById("applet-bar").getStyle()
.setBackgroundColor("#FFFFFF");
DOM.getElementById("main_panel").getStyle()
.setMarginRight(50, Style.Unit.PX);
DOM.getElementById("applet-bar").getStyle()
.setWidth(33, Style.Unit.PX);
status.getElement().getStyle()
.setProperty("MozTransform", "rotate(90deg)");
status.getElement()
.getStyle()
.setProperty("WebkitTransform", "rotate(90deg)");
status.getElement().getStyle()
.setProperty("Transform", "rotate(90deg)");
status.getElement().getStyle()
.setMarginLeft(-86, Style.Unit.PX);
status.getElement().getStyle()
.setMarginTop(60, Style.Unit.PX);
status.getElement().getStyle()
.setWidth(200, Style.Unit.PX);
button_container.getElement().getStyle().setOpacity(0);
title.getElement().getStyle().setOpacity(0);
}
}, MouseOutEvent.getType());
final Element lock = DOM.getElementById("lock");
DOM.setEventListener(lock, new EventListener() {
@Override
public void onBrowserEvent(Event event) {
if (flag) {
lock.setAttribute("src", "images/lock.png");
locker_r.removeHandler();
flag = false;
} else {
lock.setAttribute("src", "images/unlock.png");
flag = true;
locker_r = RootPanel.get("applet-bar").addDomHandler(
new MouseOutHandler() {
@Override
public void onMouseOut(MouseOutEvent event) {
DOM.getElementById("applet-bar").getStyle()
.setBackgroundColor("#FFFFFF");