Package com.github.axet.desktop
Class DesktopPower
- java.lang.Object
-
- com.github.axet.desktop.DesktopPower
-
- Direct Known Subclasses:
LinuxPower,OSXPower,WindowsPowerXP
public abstract class DesktopPower extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDesktopPower.Listener
-
Field Summary
Fields Modifier and Type Field Description protected Set<DesktopPower.Listener>listeners
-
Constructor Summary
Constructors Constructor Description DesktopPower()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddListener(DesktopPower.Listener l)abstract voidclose()voidremoveListener(DesktopPower.Listener l)
-
-
-
Field Detail
-
listeners
protected Set<DesktopPower.Listener> listeners
-
-
Method Detail
-
addListener
public void addListener(DesktopPower.Listener l)
-
removeListener
public void removeListener(DesktopPower.Listener l)
-
close
public abstract void close()
-
-