lime.uga.edu.wsworkflow.layoutTester
Class GridLayoutTab

java.lang.Object
  extended by lime.uga.edu.wsworkflow.layoutTester.Tab
      extended by lime.uga.edu.wsworkflow.layoutTester.GridLayoutTab

 class GridLayoutTab
extends Tab

Copyright (c) 2000, 2003 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation


Field Summary
(package private)  org.eclipse.swt.custom.CCombo combo
           
(package private)  int COMBO_COL
           
(package private)  org.eclipse.swt.custom.TableEditor comboEditor
           
(package private)  org.eclipse.swt.layout.GridLayout gridLayout
           
(package private)  org.eclipse.swt.custom.CCombo hAlign
           
(package private)  int HALIGN_COL
           
(package private)  org.eclipse.swt.custom.TableEditor hAlignEditor
           
(package private)  int HEIGHT_COL
           
(package private)  org.eclipse.swt.custom.TableEditor heightEditor
           
(package private)  org.eclipse.swt.widgets.Text heightText
           
(package private)  org.eclipse.swt.custom.CCombo hGrab
           
(package private)  int HGRAB_COL
           
(package private)  org.eclipse.swt.custom.TableEditor hGrabEditor
           
(package private)  org.eclipse.swt.widgets.Text hIndent
           
(package private)  int HINDENT_COL
           
(package private)  org.eclipse.swt.custom.TableEditor hIndentEditor
           
(package private)  org.eclipse.swt.widgets.Combo horizontalSpacing
           
(package private)  org.eclipse.swt.widgets.Text hSpan
           
(package private)  int HSPAN_COL
           
(package private)  org.eclipse.swt.custom.TableEditor hSpanEditor
           
(package private)  org.eclipse.swt.widgets.Button makeColumnsEqualWidth
           
(package private)  org.eclipse.swt.widgets.Combo marginHeight
           
(package private)  org.eclipse.swt.widgets.Combo marginWidth
           
(package private)  org.eclipse.swt.widgets.Text numColumns
           
(package private)  int TOTAL_COLS
           
(package private)  org.eclipse.swt.custom.CCombo vAlign
           
(package private)  int VALIGN_COL
           
(package private)  org.eclipse.swt.custom.TableEditor vAlignEditor
           
(package private)  org.eclipse.swt.widgets.Combo verticalSpacing
           
(package private)  org.eclipse.swt.custom.CCombo vGrab
           
(package private)  int VGRAB_COL
           
(package private)  org.eclipse.swt.custom.TableEditor vGrabEditor
           
(package private)  org.eclipse.swt.widgets.Text vSpan
           
(package private)  int VSPAN_COL
           
(package private)  org.eclipse.swt.custom.TableEditor vSpanEditor
           
(package private)  int WIDTH_COL
           
(package private)  org.eclipse.swt.custom.TableEditor widthEditor
           
(package private)  org.eclipse.swt.widgets.Text widthText
           
 
Fields inherited from class lime.uga.edu.wsworkflow.layoutTester.Tab
add, childGroup, children, clear, code, controlGroup, data, delete, index, instance, lastSelected, layoutComposite, layoutGroup, names, newItem, sash, selectionListener, size, tabFolderPage, table, traverseListener
 
Constructor Summary
GridLayoutTab(LayoutExample instance)
          Creates the Tab within a given instance of LayoutExample.
 
Method Summary
(package private)  void createChildWidgets()
          Creates the widgets in the "child" group.
(package private)  void createControlWidgets()
          Creates the control widgets.
(package private)  void createLayout()
          Creates the example layout.
(package private)  void disposeEditors()
          Disposes the editors without placing their contents into the table.
(package private)  java.lang.StringBuffer generateLayoutCode()
          Generates code for the example layout.
(package private)  java.lang.String[] getLayoutDataFieldNames()
          Returns the layout data field names.
(package private)  java.lang.String getTabText()
          Gets the text for the tab folder item.
(package private)  void resetEditors()
          Takes information from TableEditors and stores it.
(package private)  void resetEditors(boolean tab)
           
(package private)  void setLayoutData()
          Sets the layout data for the children of the layout.
(package private)  void setLayoutState()
          Sets the state of the layout.
 
Methods inherited from class lime.uga.edu.wsworkflow.layoutTester.Tab
createChildGroup, createComboEditor, createControlGroup, createLayoutComposite, createLayoutGroup, createTabFolderPage, createTextEditor, generateCode, getChildCode, refreshLayoutComposite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numColumns

org.eclipse.swt.widgets.Text numColumns

makeColumnsEqualWidth

org.eclipse.swt.widgets.Button makeColumnsEqualWidth

marginHeight

org.eclipse.swt.widgets.Combo marginHeight

marginWidth

org.eclipse.swt.widgets.Combo marginWidth

horizontalSpacing

org.eclipse.swt.widgets.Combo horizontalSpacing

verticalSpacing

org.eclipse.swt.widgets.Combo verticalSpacing

gridLayout

org.eclipse.swt.layout.GridLayout gridLayout

comboEditor

org.eclipse.swt.custom.TableEditor comboEditor

widthEditor

org.eclipse.swt.custom.TableEditor widthEditor

heightEditor

org.eclipse.swt.custom.TableEditor heightEditor

vAlignEditor

org.eclipse.swt.custom.TableEditor vAlignEditor

hAlignEditor

org.eclipse.swt.custom.TableEditor hAlignEditor

hIndentEditor

org.eclipse.swt.custom.TableEditor hIndentEditor

hSpanEditor

org.eclipse.swt.custom.TableEditor hSpanEditor

vSpanEditor

org.eclipse.swt.custom.TableEditor vSpanEditor

hGrabEditor

org.eclipse.swt.custom.TableEditor hGrabEditor

vGrabEditor

org.eclipse.swt.custom.TableEditor vGrabEditor

combo

org.eclipse.swt.custom.CCombo combo

vAlign

org.eclipse.swt.custom.CCombo vAlign

hAlign

org.eclipse.swt.custom.CCombo hAlign

hGrab

org.eclipse.swt.custom.CCombo hGrab

vGrab

org.eclipse.swt.custom.CCombo vGrab

widthText

org.eclipse.swt.widgets.Text widthText

heightText

org.eclipse.swt.widgets.Text heightText

hIndent

org.eclipse.swt.widgets.Text hIndent

hSpan

org.eclipse.swt.widgets.Text hSpan

vSpan

org.eclipse.swt.widgets.Text vSpan

COMBO_COL

final int COMBO_COL
See Also:
Constant Field Values

WIDTH_COL

final int WIDTH_COL
See Also:
Constant Field Values

HEIGHT_COL

final int HEIGHT_COL
See Also:
Constant Field Values

HALIGN_COL

final int HALIGN_COL
See Also:
Constant Field Values

VALIGN_COL

final int VALIGN_COL
See Also:
Constant Field Values

HINDENT_COL

final int HINDENT_COL
See Also:
Constant Field Values

HSPAN_COL

final int HSPAN_COL
See Also:
Constant Field Values

VSPAN_COL

final int VSPAN_COL
See Also:
Constant Field Values

HGRAB_COL

final int HGRAB_COL
See Also:
Constant Field Values

VGRAB_COL

final int VGRAB_COL
See Also:
Constant Field Values

TOTAL_COLS

final int TOTAL_COLS
See Also:
Constant Field Values
Constructor Detail

GridLayoutTab

GridLayoutTab(LayoutExample instance)
Creates the Tab within a given instance of LayoutExample.

Method Detail

createChildWidgets

void createChildWidgets()
Creates the widgets in the "child" group.

Overrides:
createChildWidgets in class Tab

createControlWidgets

void createControlWidgets()
Creates the control widgets.

Overrides:
createControlWidgets in class Tab

createLayout

void createLayout()
Creates the example layout.

Overrides:
createLayout in class Tab

disposeEditors

void disposeEditors()
Disposes the editors without placing their contents into the table.

Overrides:
disposeEditors in class Tab

generateLayoutCode

java.lang.StringBuffer generateLayoutCode()
Generates code for the example layout.

Overrides:
generateLayoutCode in class Tab

getLayoutDataFieldNames

java.lang.String[] getLayoutDataFieldNames()
Returns the layout data field names.

Overrides:
getLayoutDataFieldNames in class Tab

getTabText

java.lang.String getTabText()
Gets the text for the tab folder item.

Overrides:
getTabText in class Tab

resetEditors

void resetEditors()
Takes information from TableEditors and stores it.

Overrides:
resetEditors in class Tab

resetEditors

void resetEditors(boolean tab)
Overrides:
resetEditors in class Tab

setLayoutData

void setLayoutData()
Sets the layout data for the children of the layout.

Overrides:
setLayoutData in class Tab

setLayoutState

void setLayoutState()
Sets the state of the layout.

Overrides:
setLayoutState in class Tab