<commit_before>package moe.tristan.easyfxml.model.components.listview;

import javafx.beans.binding.BooleanExpression;

import moe.tristan.easyfxml.api.FxmlController;

public interface ComponentCellFxmlController<T> extends FxmlController {

    void updateWithValue(final T newValue);

    default void selectedProperty(final BooleanExpression selected) {
    }

}<commit_msg>Comment selected cell property setter on cell controller<commit_after>package moe.tristan.easyfxml.model.components.listview;

import javafx.beans.binding.BooleanExpression;

import moe.tristan.easyfxml.api.FxmlController;

public interface ComponentCellFxmlController<T> extends FxmlController {

    void updateWithValue(final T newValue);

    /**
     * @param selected a property watching whether this list view cell is currently selected. You can listen on it and react accordingly.
     */
    default void selectedProperty(final BooleanExpression selected) {
    }

}
{'fraction_non_alphanumeric': 0.07030430220356768, 'fraction_numerical': 0.0, 'mean_word_length': 5.115384615384615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '538952', 'n_tokens_mistral': 262, 'n_tokens_neox': 252, 'n_words': 68}