@Override public StyleableBooleanProperty getStyleableProperty(JFXButton control) { return control.disableVisualFocusProperty(); } };
/** * Setting this to true will disable this {@link JFXButton} from showing focus when it receives keyboard focus. * @param disabled True to disable visual focus and false to enable it. */ public final void setDisableVisualFocus(final Boolean disabled) { this.disableVisualFocusProperty().set(disabled); }
/** * Indicates whether or not this {@link JFXButton} will show focus when it receives keyboard focus. * @return False if this {@link JFXButton} will show visual focus and true if it will not. */ public final Boolean isDisableVisualFocus() { return disableVisualFocus != null && this.disableVisualFocusProperty().get(); }
if(!button.disableVisualFocusProperty().get()){ if (newVal){ if (!getSkinnable().isPressed()){
@Override public StyleableBooleanProperty getStyleableProperty(JFXButton control) { return control.disableVisualFocusProperty(); } };
/** * Setting this to true will disable this {@link JFXButton} from showing focus when it receives keyboard focus. * @param disabled True to disable visual focus and false to enable it. */ public final void setDisableVisualFocus(final Boolean disabled) { this.disableVisualFocusProperty().set(disabled); }
/** * Indicates whether or not this {@link JFXButton} will show focus when it receives keyboard focus. * @return False if this {@link JFXButton} will show visual focus and true if it will not. */ public final Boolean isDisableVisualFocus() { return disableVisualFocus != null && this.disableVisualFocusProperty().get(); }
if(!button.disableVisualFocusProperty().get()){ if (newVal){ if (!getSkinnable().isPressed()){