Skip to content

Commit

Permalink
Merge pull request #534 from stereotron/master
Browse files Browse the repository at this point in the history
Issue #522: MultiChoice<T> should support databindings
  • Loading branch information
wimjongman authored Sep 28, 2023
2 parents 8fe5ec2 + be70a03 commit a0009fd
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 a0009fd

Please sign in to comment.