@Override public BooleanBinding greaterThan(int other) { return getDelegate().greaterThan(other); }
@Override public BooleanBinding greaterThan(long other) { return getDelegate().greaterThan(other); }
@Override public BooleanBinding greaterThan(double other) { return getDelegate().greaterThan(other); }
@Override public BooleanBinding greaterThan(ObservableNumberValue other) { return getDelegate().greaterThan(other); }
@Override public BooleanBinding greaterThan(float other) { return getDelegate().greaterThan(other); }
protected HBox buildSelector() { HBox selector = new HBox(); selector.getStyleClass().add("wizard-form-fieldset-selector"); // displayed only if have more than one bloc selector.managedProperty().bind(Bindings.size(fieldsets).greaterThan(1)); return selector; }
/** * Constructor */ public FiedsetSelectorMenuRow() { getStyleClass().add("fieldset-selector-menu-row-wrapper"); subMenu.managedProperty().bind(subMenu.visibleProperty()); subMenu.getStyleClass().add("fieldset-selector-submenu-row-wrapper"); subMenu.setVisible(false); getChildren().add(rowslayout); expandCollapseIcon.visibleProperty().bind(Bindings.size(submenus).greaterThan(0)); }
/** * Default Constructor */ public SimpleForwardErrorPane() { getStyleClass().add("simple-forward-editor-error-pane"); managedProperty().bind(visibleProperty()); visibleProperty().bind(Bindings.size(getChildren()).greaterThan(0)); }
@Override protected void bind() { super.bind(); view().selectAll().visibleProperty().bind(Bindings.size(this.contentModel.getFilteredList()).greaterThan(0)); }
/** * @{inheritedDoc} */ @Override public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) { this.configuration = configuration; this.controller = (AbstractViewController) controller; // TODO Handle internationalication // CoreGeneralMessageSource // ms = (ResourceBundleMessageSource) Services.getBean("CoreGeneralMessageSource"); noNotificationsPane = new NoNotificationsPane(); internalPane.getChildren().add(noNotificationsPane); noNotificationsPane.visibleProperty().bind(Bindings.size(notifications).lessThan(1)); notifsPane = new NotifsPane(); internalPane.getChildren().add(notifsPane); notifsPane.visibleProperty().bind(Bindings.size(notifications).greaterThan(0)); filter.addListener((ListChangeListener<NotificationStatus>) c -> { onFilterChange(c); }); }
modifyButton.visibleProperty().bind(Bindings.size(tableView.getTableView().getItems()).greaterThan(0));
/** * {@inheritDoc} */ @Override public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) { this.configuration = configuration; this.controller = (AbstractViewController) controller; loadFXML(); NodeHelper.styleClassAddAll(tableHeaderRootPane, configuration, "styleClass"); NodeHelper.setTitle(headerTitle, configuration, (AbstractViewController) controller, true); NodeHelper.styleClassSetAll(headerTitle, configuration, "titleStyleClass", "ep-table-title-label"); NodeHelper.styleClassAddAll(titleContainer, configuration, "titleContainerStyleClass"); filterTextField.managedProperty().bind(filterTextField.visibleProperty()); filterTextField.setPromptText("Find in table"); boolean filtrable = configuration.getBooleanProperty("filtrable", true); filterTextField.setVisible(filtrable); ((FullTableStructureController) controller).processedElementProperty().addListener((ChangeListener<Object>) (observable, oldValue, newValue) -> { AbstractTableStructure ts = (AbstractTableStructure) ((FullTableStructureController) controller).processedElementProperty().get(); if (ts.getToolbar().isPresent()) { Node tb = ts.getToolbar().get(); HBox.setHgrow(tb, Priority.NEVER); actionsContainer.getChildren().add(tb); } }); setRootModel(); headerTitle.managedProperty().bind(headerTitle.visibleProperty()); headerTitle.visibleProperty().bind(Bindings.size(titleContainer.getChildren()).isEqualTo(0)); titleContainer.visibleProperty().bind(Bindings.size(titleContainer.getChildren()).greaterThan(0)); titleContainer.managedProperty().bind(titleContainer.visibleProperty()); }