de.ug2t.unifiedGui
Class UnMenuFunction

java.lang.Object
  extended by HoGenericTreeNode
      extended by de.ug2t.unifiedGui.UnMenuFunction
All Implemented Interfaces:
IUnKeyAccess

public final class UnMenuFunction
extends HoGenericTreeNode
implements IUnKeyAccess

Author:
Dirk date: 03.04.2004 project: WiSer-Framework

This class is used to connect menues with listeners. Normally it is not necessary to use it.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.ug2t.unifiedGui.interfaces.IUnKeyAccess
IUnKeyAccess.UnInsertHTMLString
 
Constructor Summary
UnMenuFunction(java.lang.String xName, IKeExecutable xFct)
           
UnMenuFunction(java.lang.String xName, IKeExecutable xPre, IKeExecutable xPost, IKeExecutable xFct)
           
UnMenuFunction(java.lang.String xName, IUnGuiEventListener xFct)
           
 
Method Summary
 java.lang.Object execObj(java.lang.Object xObj)
           
 int getAccKey()
           Gets the acces-key of a widget
 void setKeyAccess(int xKey)
           Sets the access-key of a widget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnMenuFunction

public UnMenuFunction(java.lang.String xName,
                      IKeExecutable xPre,
                      IKeExecutable xPost,
                      IKeExecutable xFct)
               throws java.lang.Exception
Throws:
java.lang.Exception

UnMenuFunction

public UnMenuFunction(java.lang.String xName,
                      IKeExecutable xFct)
               throws java.lang.Exception
Throws:
java.lang.Exception

UnMenuFunction

public UnMenuFunction(java.lang.String xName,
                      IUnGuiEventListener xFct)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

execObj

public java.lang.Object execObj(java.lang.Object xObj)

getAccKey

public int getAccKey()
Description copied from interface: IUnKeyAccess

Gets the acces-key of a widget

Specified by:
getAccKey in interface IUnKeyAccess
Returns:
access-key


setKeyAccess

public void setKeyAccess(int xKey)
Description copied from interface: IUnKeyAccess

Sets the access-key of a widget

Specified by:
setKeyAccess in interface IUnKeyAccess
Parameters:
xKey - keycode of the access-key


WidgetServer