2009-01-09 1.2.0

org.eclipse.soda.dk.device.swt
Class ControlWindow

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by org.eclipse.soda.dk.device.swt.ControlWindow

public class ControlWindow
extends org.eclipse.swt.widgets.Dialog

Since:
1.0
Version:
1.2.0

Field Summary
protected  Bridge bridge
          Define the bridge (Bridge) field.
protected  org.eclipse.swt.widgets.Text countText
          Define the count text (Text) field.
protected  java.lang.Object data
          Define the data (Object) field.
protected  org.eclipse.swt.widgets.Text dataText
          Define the data text (Text) field.
protected  org.eclipse.swt.widgets.Text timestampText
          Define the timestamp text (Text) field.
protected  org.eclipse.swt.widgets.Text timeText
          Define the time text (Text) field.
 
Constructor Summary
ControlWindow(Bridge bridge)
          Constructs an instance of this class from the specified parent and style parameters.
 
Method Summary
 org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite contents, java.lang.String fieldName, boolean value)
          Create button with the specified contents, field name and value parameters and return the Button result.
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          Insert the method's description here.
 org.eclipse.swt.widgets.List createListBox(org.eclipse.swt.widgets.Composite contents, java.lang.String fieldName, java.lang.String[] items)
          Method createCheckBox Composite String
 org.eclipse.swt.widgets.Text createText(org.eclipse.swt.widgets.Composite contents, java.lang.String fieldName, java.lang.Object value, boolean readOnly)
          Create text with the specified contents, field name and value parameters and return the Text result.
 Bridge getBridge()
          Gets the bridge value.
 java.lang.String[] getButtonNames()
          Gets the button names (String[]) value.
 org.eclipse.swt.widgets.Composite getComposite()
          Gets the composite value.
 java.util.Map getControls()
          Gets the controls (Map) value.
 org.eclipse.swt.widgets.Text getCountText()
          Gets the count text (Text) value.
 java.lang.Object getData()
          Gets the data (Object) value.
 org.eclipse.swt.widgets.Text getDataText()
          Gets the data text (Text) value.
 int getIndex()
          Gets the index (int) value.
 java.lang.String[] getItems()
          Gets the items (String[]) value.
 java.lang.String getResourceString(java.lang.String string)
          Get resource string with the specified string parameter and return the String result.
 org.eclipse.swt.widgets.Text getTimestampText()
          Gets the timestamp text (Text) value.
 org.eclipse.swt.widgets.Text getTimeText()
          Gets the time text (Text) value.
 void open()
          Open.
 void put(java.lang.String key, org.eclipse.swt.widgets.Control control)
          Put with the specified key and control parameters.
 void refresh()
          Refresh.
 void saveGif()
          Save gif.
 void setBridge(Bridge bridge)
          Sets the bridge value.
 void setComposite(org.eclipse.swt.widgets.Composite composite)
          Sets the composite value.
 void setControls(java.util.Map controls)
          Sets the controls value.
 void setCountText(org.eclipse.swt.widgets.Text countText)
          Sets the count text value.
 void setData(java.lang.Object data)
          Sets the data value.
 void setDataText(org.eclipse.swt.widgets.Text dataText)
          Sets the data text value.
 void setIndex(int index)
          Sets the index value.
 void setItems(java.lang.String[] items)
          Sets the items value.
 void setTimestampText(org.eclipse.swt.widgets.Text timestampText)
          Sets the timestamp text value.
 void setTimeText(org.eclipse.swt.widgets.Text timeText)
          Sets the time text value.
 void updateValues()
          Update values.
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected java.lang.Object data
Define the data (Object) field.


bridge

protected Bridge bridge
Define the bridge (Bridge) field.


countText

protected org.eclipse.swt.widgets.Text countText
Define the count text (Text) field.


timestampText

protected org.eclipse.swt.widgets.Text timestampText
Define the timestamp text (Text) field.


timeText

protected org.eclipse.swt.widgets.Text timeText
Define the time text (Text) field.


dataText

protected org.eclipse.swt.widgets.Text dataText
Define the data text (Text) field.

Constructor Detail

ControlWindow

public ControlWindow(Bridge bridge)
Constructs an instance of this class from the specified parent and style parameters.

Parameters:
bridge - The bridge (Bridge) parameter.
Method Detail

createButton

public org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite contents,
                                                   java.lang.String fieldName,
                                                   boolean value)
Create button with the specified contents, field name and value parameters and return the Button result.

Parameters:
contents - The contents (Composite) parameter.
fieldName - The field name (String) parameter.
value - The value (boolean) parameter.
Returns:
Results of the create button (Button) value.

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Insert the method's description here. Composite

Parameters:
parent - The parent (Composite) parameter.
Returns:
Results of the create contents (Control) value. The parent (Composite) parameter.

createListBox

public org.eclipse.swt.widgets.List createListBox(org.eclipse.swt.widgets.Composite contents,
                                                  java.lang.String fieldName,
                                                  java.lang.String[] items)
Method createCheckBox Composite String

Parameters:
contents - The contents (Composite) parameter.
fieldName - The field name (String) parameter.
items - The items (String[]) parameter.
Returns:
Results of the create check box (Button) value. The contents (Composite) parameter. The field name (String) parameter.

createText

public org.eclipse.swt.widgets.Text createText(org.eclipse.swt.widgets.Composite contents,
                                               java.lang.String fieldName,
                                               java.lang.Object value,
                                               boolean readOnly)
Create text with the specified contents, field name and value parameters and return the Text result.

Parameters:
contents - The contents (Composite) parameter.
fieldName - The field name (String) parameter.
value - The value (Object) parameter.
readOnly - The read only (boolean) parameter.
Returns:
Results of the create text (Text) value.
See Also:
getCountText(), getDataText(), getTimeText(), getTimestampText(), setCountText(Text), setDataText(Text), setTimeText(Text), setTimestampText(Text)

getBridge

public Bridge getBridge()
Gets the bridge value.

Returns:
The bridge (Bridge) value.
See Also:
setBridge(Bridge)

getButtonNames

public java.lang.String[] getButtonNames()
Gets the button names (String[]) value.

Returns:
The button names (String[]) value.

getComposite

public org.eclipse.swt.widgets.Composite getComposite()
Gets the composite value.

Returns:
The composite (Composite) value.
See Also:
setComposite(Composite)

getControls

public java.util.Map getControls()
Gets the controls (Map) value.

Returns:
The controls (Map) value.
See Also:
setControls(Map)

getCountText

public org.eclipse.swt.widgets.Text getCountText()
Gets the count text (Text) value.

Returns:
The count text (Text) value.
See Also:
setCountText(Text)

getData

public java.lang.Object getData()
Gets the data (Object) value.

Returns:
The data (Object) value.
See Also:
setData(Object)

getDataText

public org.eclipse.swt.widgets.Text getDataText()
Gets the data text (Text) value.

Returns:
The data text (Text) value.
See Also:
setDataText(Text)

getIndex

public int getIndex()
Gets the index (int) value.

Returns:
The index (int) value.
See Also:
setIndex(int)

getItems

public java.lang.String[] getItems()
Gets the items (String[]) value.

Returns:
The items (String[]) value.
See Also:
setItems(String[])

getResourceString

public java.lang.String getResourceString(java.lang.String string)
Get resource string with the specified string parameter and return the String result.

Parameters:
string - The string (String) parameter.
Returns:
Results of the get resource string (String) value.

getTimestampText

public org.eclipse.swt.widgets.Text getTimestampText()
Gets the timestamp text (Text) value.

Returns:
The timestamp text (Text) value.
See Also:
setTimestampText(Text)

getTimeText

public org.eclipse.swt.widgets.Text getTimeText()
Gets the time text (Text) value.

Returns:
The time text (Text) value.
See Also:
setTimeText(Text)

open

public void open()
Open.


put

public void put(java.lang.String key,
                org.eclipse.swt.widgets.Control control)
Put with the specified key and control parameters.

Parameters:
key - The key (String) parameter.
control - The control (Control) parameter.

refresh

public void refresh()
Refresh.


saveGif

public void saveGif()
Save gif.


setBridge

public void setBridge(Bridge bridge)
Sets the bridge value.

Parameters:
bridge - The bridge (Bridge) parameter.
See Also:
getBridge()

setComposite

public void setComposite(org.eclipse.swt.widgets.Composite composite)
Sets the composite value.

Parameters:
composite - The composite (Composite) parameter.
See Also:
getComposite()

setControls

public void setControls(java.util.Map controls)
Sets the controls value.

Parameters:
controls - The controls (Map) parameter.
See Also:
getControls()

setCountText

public void setCountText(org.eclipse.swt.widgets.Text countText)
Sets the count text value.

Parameters:
countText - The count text (Text) parameter.
See Also:
getCountText()

setData

public void setData(java.lang.Object data)
Sets the data value.

Parameters:
data - The data (Object) parameter.
See Also:
getData()

setDataText

public void setDataText(org.eclipse.swt.widgets.Text dataText)
Sets the data text value.

Parameters:
dataText - The data text (Text) parameter.
See Also:
getDataText()

setIndex

public void setIndex(int index)
Sets the index value.

Parameters:
index - The index (int) parameter.
See Also:
getIndex()

setItems

public void setItems(java.lang.String[] items)
Sets the items value.

Parameters:
items - The items (String[]) parameter.
See Also:
getItems()

setTimestampText

public void setTimestampText(org.eclipse.swt.widgets.Text timestampText)
Sets the timestamp text value.

Parameters:
timestampText - The timestamp text (Text) parameter.
See Also:
getTimestampText()

setTimeText

public void setTimeText(org.eclipse.swt.widgets.Text timeText)
Sets the time text value.

Parameters:
timeText - The time text (Text) parameter.
See Also:
getTimeText()

updateValues

public void updateValues()
Update values.


2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.