JUICe

com.lafros.juice.cmds
Class Exe.Tog.TrigComp

java.lang.Object
  extended by com.lafros.juice.cmds.Exe.Tog.TrigComp
Enclosing interface:
Exe.Tog

public static class Exe.Tog.TrigComp
extends Object

toggle-trigger component (for use in toggle triggers).


Constructor Summary
Exe.Tog.TrigComp()
          creates new instance.
 
Method Summary
 String getTogName(Action action)
          updates the instance using the values in the Action, and if these include one for the toggle setting, returns the corr'ding name (i.e.
 String getTogName(PropertyChangeEvent e)
          updates the instance using the values in the PropertyChangeEvent, and if these include one for the toggle setting, returns the corr'ding name (i.e.
static Boolean getTogSet(Action action)
          returns the toggle setting, or null if the Action does not include this value.
static Boolean getTogSet(PropertyChangeEvent e)
          returns the new toggle setting, or null if the PropertyChangeEvent does not include this value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exe.Tog.TrigComp

public Exe.Tog.TrigComp()
creates new instance.

Method Detail

getTogSet

public static Boolean getTogSet(Action action)
returns the toggle setting, or null if the Action does not include this value.


getTogSet

public static Boolean getTogSet(PropertyChangeEvent e)
returns the new toggle setting, or null if the PropertyChangeEvent does not include this value.


getTogName

public String getTogName(Action action)
updates the instance using the values in the Action, and if these include one for the toggle setting, returns the corr'ding name (i.e. value for key Exe.Tog.NAME_0 or Exe.Tog.NAME_1), otherwise null.


getTogName

public String getTogName(PropertyChangeEvent e)
updates the instance using the values in the PropertyChangeEvent, and if these include one for the toggle setting, returns the corr'ding name (i.e. value for key Exe.Tog.NAME_0 or Exe.Tog.NAME_1), otherwise null.


JUICe

Copyright © 2001-2008 Latterfrosken Software Development Limited. All Rights Reserved.