KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > power > management > PowerManager

javax.power.management
Class PowerManager

java.lang.Object
  |
  +--javax.power.management.PowerManager

public abstract void addPowerStateListener(PowerStateListener listener)
See Also:
removePowerStateListener(javax.power.management.PowerStateListener), PowerStateEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static PowerManager getInstance()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract PowerState getPowerState()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static PowerManager instance
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected PowerManager()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void removePowerStateListener(PowerStateListener listener)
See Also:
addPowerStateListener(javax.power.management.PowerStateListener), PowerStateEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void setPowerState(PowerState state,
                                   boolean urgency)
                            throws PowerManagerException,
                                   java.lang.SecurityException
See Also:
PowerStateListener, PowerStateEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags