|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teamdev.jxbrowser.mozilla.MozillaConfigurable
public class MozillaConfigurable
Contains content preferences flags such as enabling/disabling images, plugin's JavaScript etc.
| Method Summary | |
|---|---|
static boolean |
canAutoEnableOfflineMode()
Determines whether Mozilla can automatically enable Offline mode when network is down. |
void |
disableFeature(Feature feature)
Disable the specified feature. |
void |
enableFeature(Feature feature)
Enable the specified feature. |
java.util.Map<Feature,java.lang.Boolean> |
getFeatures()
Returns a map of all available browser features where the value determines whether the feature enabled or disabled. |
static void |
setAutoEnableOfflineMode(boolean enable)
Allows enabling or disabling Mozilla behavior when network is down and Mozilla automatically enable Offline mode. |
void |
setFeatures(java.util.Map<Feature,java.lang.Boolean> features)
Updates browser features according to the features collection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean canAutoEnableOfflineMode()
true when Mozilla enable Offline mode
automatically when network is down.public static void setAutoEnableOfflineMode(boolean enable)
enable - set to true when Mozilla should enable
Offline mode automatically when network is down.public void disableFeature(Feature feature)
Configurablefeature.
disableFeature in interface Configurablefeature - feature to disable.public void enableFeature(Feature feature)
Configurablefeature.
enableFeature in interface Configurablefeature - feature to enable.public java.util.Map<Feature,java.lang.Boolean> getFeatures()
Configurable
getFeatures in interface Configurablepublic void setFeatures(java.util.Map<Feature,java.lang.Boolean> features)
Configurablefeatures collection.
setFeatures in interface Configurablefeatures - the browser features collection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||