/** Creates a new {@link FXViewer}. */ public FXViewer() { super(); // add binding to viewer focused property to have its value computed // based on the values of: // - window focused // - focusOwner // - focusOwner focused viewerFocusedProperty.bind(viewerFocusedPropertyBinding); }
public AbstractDisableable() { disabled.bind(disablers.emptyProperty().not()); }