Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.internal.frame
Class Dispatch

java.lang.Object
  extended by ag.ion.noa.internal.frame.Dispatch
All Implemented Interfaces:
IDispatch

public class Dispatch
extends java.lang.Object
implements IDispatch

A dispatch can be used in order execute UI commands.


Constructor Summary
Dispatch(com.sun.star.frame.XDispatch xDispatch, com.sun.star.util.URL url)
          Constructs new Dispatch.
 
Method Summary
 void dispatch()
          Dispatches the related command.
 void dispatch(com.sun.star.beans.PropertyValue[] propertyValues)
          Dispatches the related command with the submitted property values.
 com.sun.star.frame.XDispatch getXDispatch()
          Returns OpenOffice.org XDispatch interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatch

public Dispatch(com.sun.star.frame.XDispatch xDispatch,
                com.sun.star.util.URL url)
Constructs new Dispatch.

Parameters:
xDispatch - OpenOffice.org XDispatch interface to be used
url - command URL to be used
Method Detail

getXDispatch

public com.sun.star.frame.XDispatch getXDispatch()
Returns OpenOffice.org XDispatch interface.

Specified by:
getXDispatch in interface IDispatch
Returns:
OpenOffice.org XDispatch interface

dispatch

public void dispatch()
              throws NOAException
Dispatches the related command.

Specified by:
dispatch in interface IDispatch
Throws:
NOAException - if the command can not be executed

dispatch

public void dispatch(com.sun.star.beans.PropertyValue[] propertyValues)
              throws NOAException
Dispatches the related command with the submitted property values.

Specified by:
dispatch in interface IDispatch
Parameters:
propertyValues - property values to be used
Throws:
NOAException - if the command can not be executed

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013