Skip to content

Commit

Permalink
Updated private fields to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
psharma-gdal committed Aug 8, 2023
1 parent 43090c1 commit 6d7c717
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public class SimpleComboBoxControl<V> extends SimpleControl<SingleSelectionField
* - The readOnlyLabel is used to show the current selection in read only.
* - The node is a StackPane to hold the field and read only label.
*/
private Label fieldLabel;
private ComboBox<V> comboBox;
private Label readOnlyLabel;
protected Label fieldLabel;
protected ComboBox<V> comboBox;
protected Label readOnlyLabel;

/**
* Constructs a SimpleComboBoxControl of {@link SimpleComboBoxControl} type, with visibility condition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ public class SimpleListViewControl<V>
* the field.
* - The node is the container that displays list values.
*/
private Label fieldLabel;
protected Label fieldLabel;

/**
* The flag used for setting the selection properly.
*/
private boolean preventUpdate;
protected boolean preventUpdate;

/**
* Constructs a SimpleListViewControl of {@link SimpleListViewControl} type, with visibility condition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public abstract class SimpleNumberControl<F extends DataField, D extends Number>
* - The editableSpinner is a Spinner for setting numerical values.
* - The readOnlyLabel is the label to put over editableSpinner.
*/
private Label fieldLabel;
protected Label fieldLabel;
protected Spinner<D> editableSpinner;
private Label readOnlyLabel;
protected Label readOnlyLabel;

/**
* {@inheritDoc}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public class SimpleTextControl extends SimpleControl<StringField, StackPane> {
* - The editableField allows users to modify the field's value.
* - The readOnlyLabel displays the field's value if it is not editable.
*/
private TextField editableField;
private TextArea editableArea;
private Label readOnlyLabel;
private Label fieldLabel;
protected TextField editableField;
protected TextArea editableArea;
protected Label readOnlyLabel;
protected Label fieldLabel;

/**
* Constructs a SimpleTextControl of {@link SimpleTextControl} type, with visibility condition.
Expand Down

0 comments on commit 6d7c717

Please sign in to comment.