public class AcceleratorOptions extends JsonBean
Constructor and Description |
---|
AcceleratorOptions() |
AcceleratorOptions(org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDevtools()
Get devtools keyboard shortcut setting.
|
boolean |
isReload()
Get reload keyboard shortcut setting
|
boolean |
isReloadIgnoringCache()
Get reload-from-source keyboard shortcut setting
|
boolean |
isZoom()
Get zoom keyboard shortcut setting
|
void |
setDevtools(boolean devTools)
Enables/Disables devtools keyboard shortcut:
Ctrl + Shift + I (Toggles Devtools)
|
void |
setReload(boolean reload)
Enables/Disables reload keyboard shortcuts:
Ctrl + R (Windows)
F5 (Windows)
Command + R (Mac)
|
void |
setReloadIgnoringCache(boolean reloadIgnoringCache)
Enables/Disables reload-from-source keyboard shortcut:
Ctrl + Shift + R (Windows)
Shift + F5 (Windows)
Command + Shift + R (Mac)
|
void |
setZoom(boolean zoom)
Enables/Disables zoom keyboard shortcut:
Ctrl + + (Zoom In)
Ctrl + Shift + + (Zoom In)
Ctrl + - (Zoom Out)
Ctrl + Shift + - (Zoom Out)
Ctrl + Scroll (Zoom In & Out)
Ctrl + 0 (Restore to 100%)
|
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJson, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
public AcceleratorOptions()
public AcceleratorOptions(org.json.JSONObject json)
public boolean isDevtools()
public void setDevtools(boolean devTools)
devTools
- If true, enables the devtools keyboard shortcut.public boolean isReload()
public void setReload(boolean reload)
reload
- If true, enables the reload keyboard shortcuts.public boolean isReloadIgnoringCache()
public void setReloadIgnoringCache(boolean reloadIgnoringCache)
reloadIgnoringCache
- If true, enables the reload-from-source keyboard shortcuts.public boolean isZoom()
public void setZoom(boolean zoom)
zoom
- If true, enables the zoom keyboard shortcuts.Copyright © 2022. All rights reserved.