lime.uga.edu.wsworkflow.layoutTester
Class LayoutExample

java.lang.Object
  extended by lime.uga.edu.wsworkflow.layoutTester.LayoutExample

public class LayoutExample
extends java.lang.Object


Constructor Summary
LayoutExample(org.eclipse.swt.widgets.Composite parent)
          Creates an instance of a LayoutExample embedded inside the supplied parent Composite.
 
Method Summary
 void dispose()
          Disposes of all resources associated with a particular instance of the LayoutExample.
(package private) static java.lang.String getResourceString(java.lang.String key)
          Gets a string from the resource bundle.
(package private) static java.lang.String getResourceString(java.lang.String key, java.lang.Object[] args)
          Gets a string from the resource bundle and binds it with the given arguments.
static void main(java.lang.String[] args)
          Invokes as a standalone program.
 void setFocus()
          Grabs input focus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutExample

public LayoutExample(org.eclipse.swt.widgets.Composite parent)
Creates an instance of a LayoutExample embedded inside the supplied parent Composite.

Parameters:
parent - the container of the example
Method Detail

setFocus

public void setFocus()
Grabs input focus.


dispose

public void dispose()
Disposes of all resources associated with a particular instance of the LayoutExample.


main

public static void main(java.lang.String[] args)
Invokes as a standalone program.


getResourceString

static java.lang.String getResourceString(java.lang.String key)
Gets a string from the resource bundle. We don't want to crash because of a missing String. Returns the key if not found.


getResourceString

static java.lang.String getResourceString(java.lang.String key,
                                          java.lang.Object[] args)
Gets a string from the resource bundle and binds it with the given arguments. If the key is not found, return the key.