com.jpeterson.x10.event
Class FunctionAdapter

java.lang.Object
  |
  +--com.jpeterson.x10.event.FunctionAdapter

public class FunctionAdapter
extends java.lang.Object
implements FunctionListener

Trivial implementation of the FunctionListener interface that receives a FunctionEvent. The methods in this class are empty, this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

See Also:
FunctionEvent

Constructor Summary
FunctionAdapter()
          Constructor does nothing.
 
Method Summary
 void functionAllLightsOff(FunctionEvent e)
          "All Lights Off" command.
 void functionAllLightsOn(FunctionEvent e)
          "All Lights On" command.
 void functionAllUnitsOff(FunctionEvent e)
          "All Units Off" command.
 void functionBright(FunctionEvent e)
          "Bright" command.
 void functionDim(FunctionEvent e)
          "Dim" command.
 void functionHailAcknowledge(FunctionEvent e)
          "Hail Acknowledge" command.
 void functionHailRequest(FunctionEvent e)
          "HailRequest" command.
 void functionOff(FunctionEvent e)
          "Off" command.
 void functionOn(FunctionEvent e)
          "On" command.
 void functionPresetDim1(FunctionEvent e)
          "Preset Dim 1" command.
 void functionPresetDim2(FunctionEvent e)
          "Preset Dim 2" command.
 void functionStatusOff(FunctionEvent e)
          "Status Off" command.
 void functionStatusOn(FunctionEvent e)
          "Status On" command.
 void functionStatusRequest(FunctionEvent e)
          "Status Request" command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionAdapter

public FunctionAdapter()
Constructor does nothing.
Method Detail

functionAllUnitsOff

public void functionAllUnitsOff(FunctionEvent e)
"All Units Off" command.
Specified by:
functionAllUnitsOff in interface FunctionListener
See Also:
FUNCTION_ALL_UNITS_OFF

functionAllLightsOn

public void functionAllLightsOn(FunctionEvent e)
"All Lights On" command.
Specified by:
functionAllLightsOn in interface FunctionListener
See Also:
FUNCTION_ALL_LIGHTS_ON

functionOn

public void functionOn(FunctionEvent e)
"On" command.
Specified by:
functionOn in interface FunctionListener
See Also:
FUNCTION_ON

functionOff

public void functionOff(FunctionEvent e)
"Off" command.
Specified by:
functionOff in interface FunctionListener
See Also:
FUNCTION_OFF

functionDim

public void functionDim(FunctionEvent e)
"Dim" command.
Specified by:
functionDim in interface FunctionListener
See Also:
FUNCTION_DIM

functionBright

public void functionBright(FunctionEvent e)
"Bright" command.
Specified by:
functionBright in interface FunctionListener
See Also:
FUNCTION_BRIGHT

functionAllLightsOff

public void functionAllLightsOff(FunctionEvent e)
"All Lights Off" command.
Specified by:
functionAllLightsOff in interface FunctionListener
See Also:
FUNCTION_ALL_LIGHTS_OFF

functionHailRequest

public void functionHailRequest(FunctionEvent e)
"HailRequest" command.
Specified by:
functionHailRequest in interface FunctionListener
See Also:
FUNCTION_HAIL_REQUEST

functionHailAcknowledge

public void functionHailAcknowledge(FunctionEvent e)
"Hail Acknowledge" command.
Specified by:
functionHailAcknowledge in interface FunctionListener
See Also:
FUNCTION_HAIL_ACKNOWLEDGE

functionPresetDim1

public void functionPresetDim1(FunctionEvent e)
"Preset Dim 1" command.
Specified by:
functionPresetDim1 in interface FunctionListener
See Also:
FUNCTION_PRESET_DIM_1

functionPresetDim2

public void functionPresetDim2(FunctionEvent e)
"Preset Dim 2" command.
Specified by:
functionPresetDim2 in interface FunctionListener
See Also:
FUNCTION_PRESET_DIM_2

functionStatusOn

public void functionStatusOn(FunctionEvent e)
"Status On" command.
Specified by:
functionStatusOn in interface FunctionListener
See Also:
FUNCTION_STATUS_ON

functionStatusOff

public void functionStatusOff(FunctionEvent e)
"Status Off" command.
Specified by:
functionStatusOff in interface FunctionListener
See Also:
FUNCTION_STATUS_OFF

functionStatusRequest

public void functionStatusRequest(FunctionEvent e)
"Status Request" command.
Specified by:
functionStatusRequest in interface FunctionListener
See Also:
FUNCTION_STATUS_REQUEST