lime.uga.edu.wsworkflow.layoutTester
Class RowLayoutTab

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

 class RowLayoutTab
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)  int HEIGHT_COL
           
(package private)  org.eclipse.swt.custom.TableEditor heightEditor
           
(package private)  org.eclipse.swt.widgets.Text heightText
           
(package private)  org.eclipse.swt.widgets.Button horizontal
           
(package private)  org.eclipse.swt.widgets.Button justify
           
(package private)  org.eclipse.swt.widgets.Combo marginBottom
           
(package private)  org.eclipse.swt.widgets.Combo marginLeft
           
(package private)  org.eclipse.swt.widgets.Combo marginRight
           
(package private)  org.eclipse.swt.widgets.Combo marginTop
           
(package private)  org.eclipse.swt.widgets.Button pack
           
(package private)  org.eclipse.swt.layout.RowLayout rowLayout
           
(package private)  org.eclipse.swt.widgets.Combo spacing
           
(package private)  int TOTAL_COLS
           
(package private)  org.eclipse.swt.widgets.Button vertical
           
(package private)  int WIDTH_COL
           
(package private)  org.eclipse.swt.custom.TableEditor widthEditor
           
(package private)  org.eclipse.swt.widgets.Text widthText
           
(package private)  org.eclipse.swt.widgets.Button wrap
           
 
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
RowLayoutTab(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

horizontal

org.eclipse.swt.widgets.Button horizontal

vertical

org.eclipse.swt.widgets.Button vertical

wrap

org.eclipse.swt.widgets.Button wrap

pack

org.eclipse.swt.widgets.Button pack

justify

org.eclipse.swt.widgets.Button justify

marginRight

org.eclipse.swt.widgets.Combo marginRight

marginLeft

org.eclipse.swt.widgets.Combo marginLeft

marginTop

org.eclipse.swt.widgets.Combo marginTop

marginBottom

org.eclipse.swt.widgets.Combo marginBottom

spacing

org.eclipse.swt.widgets.Combo spacing

rowLayout

org.eclipse.swt.layout.RowLayout rowLayout

comboEditor

org.eclipse.swt.custom.TableEditor comboEditor

widthEditor

org.eclipse.swt.custom.TableEditor widthEditor

heightEditor

org.eclipse.swt.custom.TableEditor heightEditor

combo

org.eclipse.swt.custom.CCombo combo

widthText

org.eclipse.swt.widgets.Text widthText

heightText

org.eclipse.swt.widgets.Text heightText

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

TOTAL_COLS

final int TOTAL_COLS
See Also:
Constant Field Values
Constructor Detail

RowLayoutTab

RowLayoutTab(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