public class JsBatteryManager extends JsElementalMixinBase implements BatteryManager
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsBatteryManager() |
Modifier and Type | Method and Description |
---|---|
double |
getChargingTime() |
double |
getDischargingTime() |
double |
getLevel() |
EventListener |
getOnchargingchange() |
EventListener |
getOnchargingtimechange() |
EventListener |
getOndischargingtimechange() |
EventListener |
getOnlevelchange() |
boolean |
isCharging() |
void |
setOnchargingchange(EventListener listener) |
void |
setOnchargingtimechange(EventListener listener) |
void |
setOndischargingtimechange(EventListener listener) |
void |
setOnlevelchange(EventListener listener) |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener
intAt, length
numberAt
public final boolean isCharging()
isCharging
in interface BatteryManager
public final double getChargingTime()
getChargingTime
in interface BatteryManager
public final double getDischargingTime()
getDischargingTime
in interface BatteryManager
public final double getLevel()
getLevel
in interface BatteryManager
public final EventListener getOnchargingchange()
getOnchargingchange
in interface BatteryManager
public final void setOnchargingchange(EventListener listener)
setOnchargingchange
in interface BatteryManager
public final EventListener getOnchargingtimechange()
getOnchargingtimechange
in interface BatteryManager
public final void setOnchargingtimechange(EventListener listener)
setOnchargingtimechange
in interface BatteryManager
public final EventListener getOndischargingtimechange()
getOndischargingtimechange
in interface BatteryManager
public final void setOndischargingtimechange(EventListener listener)
setOndischargingtimechange
in interface BatteryManager
public final EventListener getOnlevelchange()
getOnlevelchange
in interface BatteryManager
public final void setOnlevelchange(EventListener listener)
setOnlevelchange
in interface BatteryManager
Copyright © 2018. All rights reserved.