Class PowerStatus

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Windows.Forms
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Windows.Forms.PowerStatus
        See Also:
        Constant Field Values
      • classType

        public static org.mases.jcobridge.JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • PowerStatus

        public PowerStatus​(java.lang.Object instance)
                    throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • PowerStatus

        public PowerStatus()
                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • setJCOInstance

        public void setJCOInstance​(org.mases.jcobridge.JCObject instance)
        Overrides:
        setJCOInstance in class NetObject
      • getBatteryFullLifetime

        public int getBatteryFullLifetime()
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getBatteryLifeRemaining

        public int getBatteryLifeRemaining()
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getBatteryLifePercent

        public Single getBatteryLifePercent()
                                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getBatteryChargeStatus

        public BatteryChargeStatus getBatteryChargeStatus()
                                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getPowerLineStatus

        public PowerLineStatus getPowerLineStatus()
                                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable