Skip to content

Commit

Permalink
Issue #522: MultiChoice<T> should support databindings
Browse files Browse the repository at this point in the history
Additionally enable access to controls of the MultiChoice.
  • Loading branch information
Sascha Becher committed Sep 28, 2023
1 parent 8fe5ec2 commit be70a03
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1422,4 +1422,32 @@ public void setShowSelectUnselectAll(final boolean showSelectUnselectAll) {
createPopup();
}

/**
* @param selection elements to select
*/
public void setSelected(Set<T> selection) {
setSelection(selection);
}

/**
* @return selected elements
*/
public Set<T> getSelected() {
return this.selection;
}

/**
* @return text control
*/
public Text getTextControl() {
return this.text;
}

/**
* @return the arrow button
*/
public Button getArrowButton() {
return this.arrow;
}

}

0 comments on commit be70a03

Please sign in to comment.