ch.elca.el4j.tests.gui.swing.actions
Class GrandparentActions

java.lang.Object
  extended by ch.elca.el4j.tests.gui.swing.actions.GrandparentActions
Direct Known Subclasses:
ParentActions

public class GrandparentActions
extends Object

Grandparent class containing actions.

Author:
Stefan Wismer (SWI)
File-location:
GrandparentActions
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Field Summary
protected  String m_prefix
          the prefix to write into variableHolder.
protected  ValueHolder<String> m_stateHolder
          A variable to store which action got executed.
 
Constructor Summary
GrandparentActions(String prefix, ValueHolder<String> stateHolder)
           
 
Method Summary
 void doA()
          Perform action A.
 void doB()
          Perform action B.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_stateHolder

protected final ValueHolder<String> m_stateHolder
A variable to store which action got executed.


m_prefix

protected final String m_prefix
the prefix to write into variableHolder.

Constructor Detail

GrandparentActions

public GrandparentActions(String prefix,
                          ValueHolder<String> stateHolder)
Parameters:
prefix - the prefix to write into variableHolder
stateHolder - the variable to store which action got executed
Method Detail

doA

@Action
public void doA()
Perform action A.


doB

@Action
public void doB()
Perform action B.



Copyright © 2005-2011 ELCA. All Rights Reserved.