Skip to content

Commit

Permalink
Updated private methods to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
psharma-gdal committed Aug 8, 2023
1 parent 9c378b0 commit cec7ba1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class SimpleCheckBoxControl<V> extends SimpleControl<MultiSelectionField<
* - The checkboxes list contains all the checkboxes to display.
* - The node is a VBox holding all node.
*/
public final List<CheckBox> checkboxes = new ArrayList<>();
protected final List<CheckBox> checkboxes = new ArrayList<>();

/**
* Constructs a SimpleCheckBoxControl of {@link SimpleCheckBoxControl} type, with visibility condition.
Expand Down Expand Up @@ -137,7 +137,7 @@ public void setupEventHandlers() {
* This method creates node and adds them to checkboxes and is
* used when the itemsProperty on the field changes.
*/
public void createCheckboxes() {
protected void createCheckboxes() {
node.getChildren().clear();
checkboxes.clear();

Expand All @@ -156,7 +156,7 @@ public void createCheckboxes() {
/**
* Sets up bindings for all checkboxes.
*/
public void setupCheckboxBindings() {
protected void setupCheckboxBindings() {
for (CheckBox checkbox : checkboxes) {
checkbox.disableProperty().bind(field.editableProperty().not());
}
Expand All @@ -165,7 +165,7 @@ public void setupCheckboxBindings() {
/**
* Sets up event handlers for all checkboxes.
*/
public void setupCheckboxEventHandlers() {
protected void setupCheckboxEventHandlers() {
for (int i = 0; i < checkboxes.size(); i++) {
final int j = i;

Expand Down

0 comments on commit cec7ba1

Please sign in to comment.