Comparator selectionListComparator, boolean open) {
this.choiceComparator = choiceListComparator;
this.selectionComparator = selectionListComparator;
Button selectButton = new Button("", Images.GoUp);
selectButton.addEventListener(Events.ON_CLICK, new EventListener() {
public void onEvent(Event e) {
actionSelect();
}
});
Button deselectButton = new Button("", Images.GoDown);
deselectButton.addEventListener(Events.ON_CLICK, new EventListener() {
public void onEvent(Event e) {
actionDeselect();
}
});
Button upButton = new Button("", Images.GoUp);
upButton.addEventListener(Events.ON_CLICK, new EventListener() {
public void onEvent(Event e) {
actionMoveUp();
}
});
Button downButton = new Button("", Images.GoDown);
downButton.addEventListener(Events.ON_CLICK, new EventListener() {
public void onEvent(Event e) {
actionMoveDown();
}
});