@Override public void change(final Host bookmark) { keychainCheckbox.setEnabled(options.keychain); keychainCheckbox.setState(credentials.isSaved() ? NSCell.NSOnState : NSCell.NSOffState); } });
public void setPreserveModificationDownloadCheckbox(NSButton b) { this.preserveModificationDownloadCheckbox = b; this.preserveModificationDownloadCheckbox.setTarget(this.id()); this.preserveModificationDownloadCheckbox.setAction(Foundation.selector("preserveModificationDownloadCheckboxClicked:")); this.preserveModificationDownloadCheckbox.setState(preferences.getBoolean("queue.download.timestamp.change") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setInfoWindowAsInspectorCheckbox(NSButton b) { this.infoWindowAsInspectorCheckbox = b; this.infoWindowAsInspectorCheckbox.setTarget(this.id()); this.infoWindowAsInspectorCheckbox.setAction(Foundation.selector("infoWindowAsInspectorCheckboxClicked:")); this.infoWindowAsInspectorCheckbox.setState(preferences.getBoolean("browser.info.inspector") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setReturnKeyCheckbox(NSButton b) { this.returnKeyCheckbox = b; this.returnKeyCheckbox.setTarget(this.id()); this.returnKeyCheckbox.setAction(Foundation.selector("returnKeyCheckboxClicked:")); this.returnKeyCheckbox.setState(preferences.getBoolean("browser.enterkey.rename") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setAutoExpandDelayCheckbox(NSButton b) { this.autoExpandDelayCheckbox = b; this.autoExpandDelayCheckbox.setTarget(this.id()); this.autoExpandDelayCheckbox.setAction(Foundation.selector("autoExpandDelayCheckboxClicked:")); this.autoExpandDelayCheckbox.setState(preferences.getBoolean("browser.view.autoexpand.delay.enable") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setOpenAfterDownloadCheckbox(NSButton b) { this.openAfterDownloadCheckbox = b; this.openAfterDownloadCheckbox.setTarget(this.id()); this.openAfterDownloadCheckbox.setAction(Foundation.selector("openAfterDownloadCheckboxClicked:")); this.openAfterDownloadCheckbox.setState(preferences.getBoolean("queue.download.complete.open") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setConnectionRetryCheckbox(NSButton b) { this.connectionRetryCheckbox = b; this.connectionRetryCheckbox.setTarget(this.id()); this.connectionRetryCheckbox.setAction(Foundation.selector("connectionRetryCheckboxClicked:")); this.connectionRetryCheckbox.setState(preferences.getInteger("connection.retry") > 0 ? NSCell.NSOnState : NSCell.NSOffState); }
public void setChmodUploadCheckbox(NSButton b) { this.chmodUploadCheckbox = b; this.chmodUploadCheckbox.setTarget(this.id()); this.chmodUploadCheckbox.setAction(Foundation.selector("chmodUploadCheckboxClicked:")); this.chmodUploadCheckbox.setState(preferences.getBoolean("queue.upload.permissions.change") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setChecksumUploadCheckbox(NSButton b) { this.checksumUploadCheckbox = b; this.checksumUploadCheckbox.setTarget(this.id()); this.checksumUploadCheckbox.setAction(Foundation.selector("checksumUploadCheckboxClicked:")); this.checksumUploadCheckbox.setState(preferences.getBoolean("queue.upload.checksum.calculate") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setDownloadSkipButton(NSButton b) { this.downloadSkipButton = b; this.downloadSkipButton.setTarget(this.id()); this.downloadSkipButton.setAction(Foundation.selector("downloadSkipButtonClicked:")); this.downloadSkipButton.setState(preferences.getBoolean("queue.download.skip.enable") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setUpdateCheckbox(NSButton b) { this.updateCheckbox = b; this.updateCheckbox.setTarget(this.id()); this.updateCheckbox.setAction(Foundation.selector("updateCheckboxClicked:")); this.updateCheckbox.setState(preferences.getBoolean("update.check") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setBrowserSerializeCheckbox(NSButton b) { this.browserSerializeCheckbox = b; this.browserSerializeCheckbox.setTarget(this.id()); this.browserSerializeCheckbox.setAction(Foundation.selector("browserSerializeCheckboxClicked:")); this.browserSerializeCheckbox.setState(preferences.getBoolean("browser.serialize") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setHorizontalLinesCheckbox(NSButton b) { this.horizontalLinesCheckbox = b; this.horizontalLinesCheckbox.setTarget(this.id()); this.horizontalLinesCheckbox.setAction(Foundation.selector("horizontalLinesCheckboxClicked:")); this.horizontalLinesCheckbox.setState(preferences.getBoolean("browser.horizontalLines") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setVerticalLinesCheckbox(NSButton b) { this.verticalLinesCheckbox = b; this.verticalLinesCheckbox.setTarget(this.id()); this.verticalLinesCheckbox.setAction(Foundation.selector("verticalLinesCheckboxClicked:")); this.verticalLinesCheckbox.setState(preferences.getBoolean("browser.verticalLines") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setDoubleClickCheckbox(NSButton b) { this.doubleClickCheckbox = b; this.doubleClickCheckbox.setTarget(this.id()); this.doubleClickCheckbox.setAction(Foundation.selector("doubleClickCheckboxClicked:")); this.doubleClickCheckbox.setState(preferences.getBoolean("browser.doubleclick.edit") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setAutoExpandCheckbox(NSButton b) { this.autoExpandCheckbox = b; this.autoExpandCheckbox.setTarget(this.id()); this.autoExpandCheckbox.setAction(Foundation.selector("autoExpandCheckboxClicked:")); this.autoExpandCheckbox.setState(preferences.getBoolean("browser.view.autoexpand") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setBringQueueToBackCheckbox(NSButton b) { this.bringQueueToBackCheckbox = b; this.bringQueueToBackCheckbox.setTarget(this.id()); this.bringQueueToBackCheckbox.setAction(Foundation.selector("bringQueueToBackCheckboxClicked:")); this.bringQueueToBackCheckbox.setState(preferences.getBoolean("queue.window.open.transfer.stop") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setCryptomatorCheckbox(final NSButton cryptomatorCheckbox) { this.cryptomatorCheckbox = cryptomatorCheckbox; this.cryptomatorCheckbox.setTarget(this.id()); this.cryptomatorCheckbox.setAction(Foundation.selector("cryptomatorCheckboxClicked:")); this.cryptomatorCheckbox.setState(preferences.getBoolean("cryptomator.vault.autodetect") ? NSCell.NSOnState : NSCell.NSOffState); }
public void setChmodDownloadCustomCheckbox(NSButton b) { this.chmodDownloadCustomCheckbox = b; this.chmodDownloadCustomCheckbox.setTarget(this.id()); this.chmodDownloadCustomCheckbox.setAction(Foundation.selector("chmodDownloadCustomCheckboxClicked:")); this.chmodDownloadCustomCheckbox.setState(!preferences.getBoolean("queue.download.permissions.default") ? NSCell.NSOnState : NSCell.NSOffState); this.chmodDownloadCustomCheckbox.setEnabled(preferences.getBoolean("queue.download.permissions.change")); }
public void setChmodDownloadDefaultCheckbox(NSButton b) { this.chmodDownloadDefaultCheckbox = b; this.chmodDownloadDefaultCheckbox.setTarget(this.id()); this.chmodDownloadDefaultCheckbox.setAction(Foundation.selector("chmodDownloadDefaultCheckboxClicked:")); this.chmodDownloadDefaultCheckbox.setState(preferences.getBoolean("queue.download.permissions.default") ? NSCell.NSOnState : NSCell.NSOffState); this.chmodDownloadDefaultCheckbox.setEnabled(preferences.getBoolean("queue.download.permissions.change")); }