de.lessvoid.nifty.controls.checkbox
Class CheckBoxViewNull

java.lang.Object
  extended by de.lessvoid.nifty.controls.checkbox.CheckBoxViewNull
All Implemented Interfaces:
CheckBoxView

public class CheckBoxViewNull
extends Object
implements CheckBoxView

A Null implementation of CheckBoxView that does nothing.

Author:
void

Constructor Summary
CheckBoxViewNull()
           
 
Method Summary
 void publish(CheckBoxStateChangedEvent event)
          Publish this event.
 void update(boolean checked)
          Update the View with the new state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxViewNull

public CheckBoxViewNull()
Method Detail

update

public void update(boolean checked)
Description copied from interface: CheckBoxView
Update the View with the new state.

Specified by:
update in interface CheckBoxView
Parameters:
checked - new state of the checkbox

publish

public void publish(CheckBoxStateChangedEvent event)
Description copied from interface: CheckBoxView
Publish this event.

Specified by:
publish in interface CheckBoxView
Parameters:
event - the event to publish


Copyright © 2011. All Rights Reserved.