Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis
Class Desk

java.lang.Object
  extended by ch.elexis.Desk

public class Desk
extends java.lang.Object


Field Summary
static java.lang.String COL_BLACK
           
static java.lang.String COL_BLUE
           
static java.lang.String COL_DARKGREY
           
static java.lang.String COL_GREEN
           
static java.lang.String COL_GREY
           
static java.lang.String COL_GREY20
           
static java.lang.String COL_GREY60
           
static java.lang.String COL_LIGHTBLUE
           
static java.lang.String COL_LIGHTGREY
           
static java.lang.String COL_RED
           
static java.lang.String COL_SKYBLUE
           
static java.lang.String COL_WHITE
           
static java.lang.String CUR_HYPERLINK
           
static java.lang.String IMG_ACHTUNG
          warning
static java.lang.String IMG_ADDITEM
          add something to an existing object
static java.lang.String IMG_ADRESSETIKETTE
          An Address label
static java.lang.String IMG_ARROWDOWN
          Arrow down
static java.lang.String IMG_ARROWUP
          Arrow up
static java.lang.String IMG_AUSRUFEZ
          exclamantion mark
static java.lang.String IMG_AUSRUFEZ_ROT
          excalamation mark red
static java.lang.String IMG_BOOK
          a book
static java.lang.String IMG_CLEAR
          clear input field
static java.lang.String IMG_CLIPBOARD
          Clipboard symbol
static java.lang.String IMG_DELETE
          deleting items
static java.lang.String IMG_DISK
          a diskette symbol
static java.lang.String IMG_EDIT
          editing an item
static java.lang.String IMG_EXPORT
          exporting items
static java.lang.String IMG_FEHLER
          error
static java.lang.String IMG_FILTER
          a filter
static java.lang.String IMG_FRAU
          a female
static java.lang.String IMG_GOFURTHER
           
static java.lang.String IMG_HOME
          Returning to some home place
static java.lang.String IMG_IMPORT
          importing items
static java.lang.String IMG_LOCK_CLOSED
          a closed lock
static java.lang.String IMG_LOCK_OPEN
          An opened lock
static java.lang.String IMG_LOGO48
          the 48x48 pixel version of the elexis(tm) logo
static java.lang.String IMG_MANN
          a male
static java.lang.String IMG_MOVETOLOWERLIST
          Move to lower list
static java.lang.String IMG_MOVETOUPPERLIST
          Move to upper list
static java.lang.String IMG_NETWORK
          computer network
static java.lang.String IMG_NEW
          creating a new Object
static java.lang.String IMG_NEXT
          Arrow right
static java.lang.String IMG_OK
          ok
static java.lang.String IMG_PATIENTETIKETTE
          a label with patient data
static java.lang.String IMG_PERSON
          a person
static java.lang.String IMG_PERSON_OK
          a person with an OK mark
static java.lang.String IMG_PREVIOUS
          Arrow left
static java.lang.String IMG_PRINTER
          a printer
static java.lang.String IMG_REFRESH
          refresh/reload
static java.lang.String IMG_REMOVEITEM
          remove something from an existing object
static java.lang.String IMG_TICK
          tick
static java.lang.String IMG_VERSIONEDETIKETTE
          a label with some identity number (e.g. for lab orders)
static java.lang.String IMG_VIP
          a Very Important Person/Patient
static java.lang.String IMG_WIZARD
          wizard/doing things automagically
 
Constructor Summary
Desk()
           
 
Method Summary
static void asyncExec(java.lang.Runnable runnable)
          Run a runnable asynchroneously in the UI Thread The method will immediately return (not wait for the runnable to exit)
static java.lang.String createColor(RGB rgb)
          Eine Hex-String Beschreibung einer Farbe liefern
static Color getColor(java.lang.String desc)
          shortcut for getColorRegistry().get(String col)
static Color getColorFromRGB(java.lang.String coldesc)
          Eine Color aus einer RGB-Beschreibung als Hex-String herstellen
static ColorRegistry getColorRegistry()
           
static java.lang.String getCommandLineArgument(java.lang.String name)
          return a command line argument/launch parameter
static Cursor getCursor(java.lang.String name)
           
static Display getDisplay()
           
static Font getFont(java.lang.String cfgName)
           
static Font getFont(java.lang.String name, int height, int style)
           
static Image getImage(java.lang.String name)
          Return an image with a specified name.
static ImageDescriptor getImageDescriptor(java.lang.String imagename)
          Return an ImageDescriptor.
static ImageRegistry getImageRegistry()
           
static FormToolkit getToolkit()
           
static Shell getTopShell()
           
 java.lang.Object start(IApplicationContext context)
           
 void stop()
           
static void syncExec(java.lang.Runnable runnable)
          Run a runnable synchroneously in the UI Thread.
static void updateFont(java.lang.String cfgName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COL_RED

public static final java.lang.String COL_RED
See Also:
Constant Field Values

COL_GREEN

public static final java.lang.String COL_GREEN
See Also:
Constant Field Values

COL_BLUE

public static final java.lang.String COL_BLUE
See Also:
Constant Field Values

COL_SKYBLUE

public static final java.lang.String COL_SKYBLUE
See Also:
Constant Field Values

COL_LIGHTBLUE

public static final java.lang.String COL_LIGHTBLUE
See Also:
Constant Field Values

COL_BLACK

public static final java.lang.String COL_BLACK
See Also:
Constant Field Values

COL_GREY

public static final java.lang.String COL_GREY
See Also:
Constant Field Values

COL_WHITE

public static final java.lang.String COL_WHITE
See Also:
Constant Field Values

COL_DARKGREY

public static final java.lang.String COL_DARKGREY
See Also:
Constant Field Values

COL_LIGHTGREY

public static final java.lang.String COL_LIGHTGREY
See Also:
Constant Field Values

COL_GREY60

public static final java.lang.String COL_GREY60
See Also:
Constant Field Values

COL_GREY20

public static final java.lang.String COL_GREY20
See Also:
Constant Field Values

IMG_HOME

public static final java.lang.String IMG_HOME
Returning to some home place

See Also:
Constant Field Values

IMG_ADRESSETIKETTE

public static final java.lang.String IMG_ADRESSETIKETTE
An Address label

See Also:
Constant Field Values

IMG_PATIENTETIKETTE

public static final java.lang.String IMG_PATIENTETIKETTE
a label with patient data

See Also:
Constant Field Values

IMG_VERSIONEDETIKETTE

public static final java.lang.String IMG_VERSIONEDETIKETTE
a label with some identity number (e.g. for lab orders)

See Also:
Constant Field Values

IMG_DELETE

public static final java.lang.String IMG_DELETE
deleting items

See Also:
Constant Field Values

IMG_MANN

public static final java.lang.String IMG_MANN
a male

See Also:
Constant Field Values

IMG_FRAU

public static final java.lang.String IMG_FRAU
a female

See Also:
Constant Field Values

IMG_VIP

public static final java.lang.String IMG_VIP
a Very Important Person/Patient

See Also:
Constant Field Values

IMG_PRINTER

public static final java.lang.String IMG_PRINTER
a printer

See Also:
Constant Field Values

IMG_FILTER

public static final java.lang.String IMG_FILTER
a filter

See Also:
Constant Field Values

IMG_NEW

public static final java.lang.String IMG_NEW
creating a new Object

See Also:
Constant Field Values

IMG_IMPORT

public static final java.lang.String IMG_IMPORT
importing items

See Also:
Constant Field Values

IMG_EXPORT

public static final java.lang.String IMG_EXPORT
exporting items

See Also:
Constant Field Values

IMG_GOFURTHER

public static final java.lang.String IMG_GOFURTHER
See Also:
Constant Field Values

IMG_LOGO48

public static final java.lang.String IMG_LOGO48
the 48x48 pixel version of the elexis(tm) logo

See Also:
Constant Field Values

IMG_EDIT

public static final java.lang.String IMG_EDIT
editing an item

See Also:
Constant Field Values

IMG_ACHTUNG

public static final java.lang.String IMG_ACHTUNG
warning

See Also:
Constant Field Values

IMG_OK

public static final java.lang.String IMG_OK
ok

See Also:
Constant Field Values

IMG_TICK

public static final java.lang.String IMG_TICK
tick

See Also:
Constant Field Values

IMG_FEHLER

public static final java.lang.String IMG_FEHLER
error

See Also:
Constant Field Values

IMG_REFRESH

public static final java.lang.String IMG_REFRESH
refresh/reload

See Also:
Constant Field Values

IMG_WIZARD

public static final java.lang.String IMG_WIZARD
wizard/doing things automagically

See Also:
Constant Field Values

IMG_ADDITEM

public static final java.lang.String IMG_ADDITEM
add something to an existing object

See Also:
Constant Field Values

IMG_REMOVEITEM

public static final java.lang.String IMG_REMOVEITEM
remove something from an existing object

See Also:
Constant Field Values

IMG_AUSRUFEZ_ROT

public static final java.lang.String IMG_AUSRUFEZ_ROT
excalamation mark red

See Also:
Constant Field Values

IMG_AUSRUFEZ

public static final java.lang.String IMG_AUSRUFEZ
exclamantion mark

See Also:
Constant Field Values

IMG_NETWORK

public static final java.lang.String IMG_NETWORK
computer network

See Also:
Constant Field Values

IMG_BOOK

public static final java.lang.String IMG_BOOK
a book

See Also:
Constant Field Values

IMG_PERSON

public static final java.lang.String IMG_PERSON
a person

See Also:
Constant Field Values

IMG_PERSON_OK

public static final java.lang.String IMG_PERSON_OK
a person with an OK mark

See Also:
Constant Field Values

IMG_DISK

public static final java.lang.String IMG_DISK
a diskette symbol

See Also:
Constant Field Values

IMG_LOCK_CLOSED

public static final java.lang.String IMG_LOCK_CLOSED
a closed lock

See Also:
Constant Field Values

IMG_LOCK_OPEN

public static final java.lang.String IMG_LOCK_OPEN
An opened lock

See Also:
Constant Field Values

IMG_CLIPBOARD

public static final java.lang.String IMG_CLIPBOARD
Clipboard symbol

See Also:
Constant Field Values

IMG_NEXT

public static final java.lang.String IMG_NEXT
Arrow right

See Also:
Constant Field Values

IMG_PREVIOUS

public static final java.lang.String IMG_PREVIOUS
Arrow left

See Also:
Constant Field Values

IMG_ARROWUP

public static final java.lang.String IMG_ARROWUP
Arrow up

See Also:
Constant Field Values

IMG_ARROWDOWN

public static final java.lang.String IMG_ARROWDOWN
Arrow down

See Also:
Constant Field Values

IMG_MOVETOUPPERLIST

public static final java.lang.String IMG_MOVETOUPPERLIST
Move to upper list

See Also:
Constant Field Values

IMG_MOVETOLOWERLIST

public static final java.lang.String IMG_MOVETOLOWERLIST
Move to lower list

See Also:
Constant Field Values

IMG_CLEAR

public static final java.lang.String IMG_CLEAR
clear input field

See Also:
Constant Field Values

CUR_HYPERLINK

public static final java.lang.String CUR_HYPERLINK
See Also:
Constant Field Values
Constructor Detail

Desk

public Desk()
Method Detail

start

public java.lang.Object start(IApplicationContext context)
                       throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()

getCommandLineArgument

public static java.lang.String getCommandLineArgument(java.lang.String name)
return a command line argument/launch parameter

Parameters:
name - name of the argument
Returns:

getImageRegistry

public static ImageRegistry getImageRegistry()

getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String imagename)
Return an ImageDescriptor. The Descriptor will be searched in the ImageRegistry first. If not found, it will be searched as image file in the directory denoted by the current plaf. Images with the extensions of png, gif and ico will be searched in this given order. If still no image is found, it will be searched in rsc/

Parameters:
imagename - the name of the image or the imagefile (without extension)
Returns:

getImage

public static Image getImage(java.lang.String name)
Return an image with a specified name.

Parameters:
name - the name of the image to retrieve
Returns:
the Image or null if no such image was found
See Also:
getImageDescriptor(String)

getColor

public static Color getColor(java.lang.String desc)
shortcut for getColorRegistry().get(String col)


getColorRegistry

public static ColorRegistry getColorRegistry()

getToolkit

public static FormToolkit getToolkit()

getDisplay

public static Display getDisplay()

updateFont

public static void updateFont(java.lang.String cfgName)

getFont

public static Font getFont(java.lang.String cfgName)

getFont

public static Font getFont(java.lang.String name,
                           int height,
                           int style)

getCursor

public static Cursor getCursor(java.lang.String name)

getColorFromRGB

public static Color getColorFromRGB(java.lang.String coldesc)
Eine Color aus einer RGB-Beschreibung als Hex-String herstellen

Parameters:
coldesc - Die Farbe als Beschreibung in Hex-Form
Returns:
die Farbe als Color, ist in Regisry gespeichert

createColor

public static java.lang.String createColor(RGB rgb)
Eine Hex-String Beschreibung einer Farbe liefern

Parameters:
rgb - Die Farbe in RGB-Form
Returns:

getTopShell

public static Shell getTopShell()

asyncExec

public static void asyncExec(java.lang.Runnable runnable)
Run a runnable asynchroneously in the UI Thread The method will immediately return (not wait for the runnable to exit)


syncExec

public static void syncExec(java.lang.Runnable runnable)
Run a runnable synchroneously in the UI Thread. The method will not return until the runnable exited

Parameters:
runnable -

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis