de.cau.cs.kieler.core.kivi.menu
Class ButtonTrigger

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractTrigger
      extended by de.cau.cs.kieler.core.kivi.menu.ButtonTrigger
All Implemented Interfaces:
ITrigger

public class ButtonTrigger
extends AbstractTrigger

Listens to various buttons for the view management.

Rating red

Nested Class Summary
static class ButtonTrigger.ButtonState
          Contains information about the last view management button pressed.
 
Constructor Summary
ButtonTrigger()
           
 
Method Summary
 void register()
          Called when the trigger is activated, e.g., if KIVi is (re-)activated or the first ICombination being fired by such a trigger is loaded.
 void unregister()
          Called when the trigger is deactivated, e.g., if the whole KIVi is deactivated.
 
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractTrigger
isActive, setActive, synchronizedTrigger, trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonTrigger

public ButtonTrigger()
Method Detail

register

public void register()
Description copied from class: AbstractTrigger
Called when the trigger is activated, e.g., if KIVi is (re-)activated or the first ICombination being fired by such a trigger is loaded. Registers itself where necessary.

Specified by:
register in interface ITrigger
Specified by:
register in class AbstractTrigger

unregister

public void unregister()
Description copied from class: AbstractTrigger
Called when the trigger is deactivated, e.g., if the whole KIVi is deactivated. Unregisters itself where necessary.

Specified by:
unregister in interface ITrigger
Specified by:
unregister in class AbstractTrigger