source: trunk/src/org/expeditee/settings/network/NetworkSettings.java@ 666

Last change on this file since 666 was 666, checked in by jts21, 10 years ago

Tidy up settings (no longer directly using GenericSettings)

File size: 840 bytes
Line 
1package org.expeditee.settings.network;
2
3
4import org.expeditee.gui.Frame;
5import org.expeditee.items.Text;
6import org.expeditee.setting.FrameSetting;
7import org.expeditee.setting.StringSetting;
8
9public abstract class NetworkSettings {
10
11 // The URL to prepend to web searches
12 public static final StringSetting SearchEngine = new StringSetting("The search engine for the JfxBrowser", "https://duckduckgo.com/?q=");
13
14 public static final StringSetting HomePage = new StringSetting("The home page for the JfxBrowser", "https://duckduckgo.com");
15
16 public static final FrameSetting FrameShare = new FrameSetting("Enable accessing remote frames") {
17 @Override
18 public void run(Frame frame) {
19 org.expeditee.network.FrameShare.init(frame);
20 }
21 };
22
23 public static void onParsed(Text text) {
24 // System.out.println("network parsed");
25 }
26}
Note: See TracBrowser for help on using the repository browser.