Line | |
---|
1 | package org.expeditee.settings.network;
|
---|
2 |
|
---|
3 |
|
---|
4 | import org.expeditee.gui.Frame;
|
---|
5 | import org.expeditee.items.Text;
|
---|
6 | import org.expeditee.setting.FrameSetting;
|
---|
7 | import org.expeditee.setting.StringSetting;
|
---|
8 |
|
---|
9 | public 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.