com.tssap.util.ui.pane
Interface ICompoundPane

All Superinterfaces:
IBasicPane, ITitledPane
All Known Subinterfaces:
IGridLayoutPane, ISashPane

public interface ICompoundPane
extends ITitledPane

Defines basic convenience methods used to compose panes consisting of several sub parts.

Sub parts can either be native swt widgets, jface viewers or complex panes.


Method Summary
 org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText)
          Adds a check box.
 org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText, boolean pCheckBoxValue)
          Adds a check box.
 org.eclipse.jface.viewers.CheckboxTableViewer addCheckboxTableViewer(boolean pEnableMultipleSelection)
          Adds a table viewer where each table row can be checked.
 org.eclipse.jface.viewers.CheckboxTreeViewer addCheckboxTreeViewer(boolean pEnableMultipleSelection)
          Adds a tree viewer where each node can be checked.
 org.eclipse.swt.widgets.Combo addComboBox()
          Adds an empty combo box.
 org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems)
          Adds an combo box.
 org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems, boolean pReadOnly)
          Adds an combo box.
 org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems, java.lang.String pDefaultText)
          Adds an combo box.
 org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems, java.lang.String pDefaultText, boolean pReadOnly)
          Adds an combo box.
 IGridLayoutPane addGridLayoutPane(int pNumOfColumns)
          Adds an IGridLayoutPane implementation as subcomponent.
 IGridLayoutPane addGridLayoutPane(int pNumOfColumns, boolean pEqualSizedFlag)
          Adds an IGridLayoutPane implementation as subcomponent.
 IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle, int pNumOfColumns)
          Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent.
 IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle, int pNumOfColumns, boolean pEqualSizedFlag)
          Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent.
 org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String[] pRadioButtonText)
          Adds a horziontal radio button group.
 org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle, java.lang.String[] pRadioButtonText)
          Adds a horziontal radio button group with an enclosing frame (and title).
 org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle, java.lang.String[] pRadioButtonText, int pSelectedItem)
          Adds a horziontal radio button group with an enclosing frame (and title).
 ISashPane addHorizontalSashPane()
          Adds an ISashPane implementation (horizontally aligned) as subcomponent.
 IToolBarPane addHorizontalToolBar()
          Adds an IToolBarPane implementation (horizontally aligned) as subcomponent.
 org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage)
          Adds an image.
 org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage, boolean pBorderFlag)
          Adds an image.
 org.eclipse.swt.widgets.List addList(java.lang.String[] pItems)
          Adds a simple list widget.
 org.eclipse.swt.widgets.List addList(java.lang.String[] pItems, boolean pEnableMultipleSelection)
          Adds a simple list widget.
 org.eclipse.jface.viewers.ListViewer addListViewer(boolean pEnableMultipleSelection)
          Adds a list viewer.
 void addPlaceholder()
          Adds a placeholder.
 org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage)
          Adds a pushbutton.
 org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage, java.lang.String pButtonTooltip)
          Adds a pushbutton.
 org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText)
          Adds a pushbutton.
 org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText, java.lang.String pButtonTooltip)
          Adds a pushbutton.
 org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage)
          Adds a radiobutton.
 org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage, java.lang.String pButtonTooltip)
          Adds a radiobutton.
 org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText)
          Adds a radiobutton.
 org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText, java.lang.String pButtonTooltip)
          Adds a radiobutton.
 ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel)
          Adds an ISapTableViewer implementation as subcomponent.
 ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel, boolean pSingleSelection)
          Adds an ISapTableViewer implementation as subcomponent.
 ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel)
          Adds an ISapTreeViewer implementation as subcomponent.
 ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel, SapTreeLabelProvider pTreeLabelProvider)
          Adds an ISapTreeViewer implementation as subcomponent.
 ISimplePane addSimplePane()
          Adds an ISiplePane implementation as subcomponent.
 ISimplePane addSimplePane(java.lang.String pTitle)
          Adds an ISiplePane implementation as subcomponent.
 ITabbedPane addTabbedPane()
          Adds an ITabbedPane implementation as subcomponent.
 org.eclipse.jface.viewers.TableTreeViewer addTableTreeViewer(boolean pEnableMultipleSelection)
          Adds a table tree viewer which shows a tree in a table.
 org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection)
          Adds a table viewer.
It can be configured with label provider and/or content provider.
 org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection, ITableColumn[] columns)
          Adds a table viewer.
 org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection, java.lang.String[] columnLabels)
          Adds a table viewer.
 org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection, java.lang.String[] columnLabels, int[] columnWidths)
          Adds a table viewer.
 org.eclipse.swt.widgets.Text addTextField(boolean pReadOnly)
          Adds a simple text field (single line).
 org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText)
          Adds a simple text field (single line).
 org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText, boolean pReadOnly)
          Adds a simple text field (single line) which can be set read only.
 org.eclipse.swt.widgets.Label addTextLabel(java.lang.String pLabelText)
          Adds a simple text label.
 org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText)
          Adds a text pane (multi lines).
 org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText, boolean pReadOnly)
          Adds a text pane (multi lines) which can be set read only.
 org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText, boolean pReadOnly, boolean pWordWrap)
          Adds a text pane (multi lines) which can be set read only.
 org.eclipse.jface.text.TextViewer addTextViewer()
          Adds a text viewer.
 org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap)
          Adds a text viewer.
 org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap, boolean pReadOnly)
          Adds a text viewer.
 org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image)
          Adds a togggle button.
 org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image, java.lang.String toolTip)
          Adds a togggle button.
 org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text)
          Adds a togggle button.
 org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text, java.lang.String toolTip)
          Adds a togggle button.
 org.eclipse.jface.viewers.TreeViewer addTreeViewer(boolean pEnableMultipleSelection)
          Adds a tree viewer.
 org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String[] pRadioButtonText)
          Adds a vertical radio button group.
 org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle, java.lang.String[] pRadioButtonText)
          Adds a vertical radio button group with an enclosing frame (and title).
 org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle, java.lang.String[] pRadioButtonText, int pSelectedItem)
          Adds a vertical radio button group with an enclosing frame (and title).
 ISashPane addVerticalSashPane()
          Adds an ISashPane implementation (vertically aligned) as subcomponent.
 IToolBarPane addVerticalToolBar()
          Adds an IToolBarPane implementation (vertically aligned) as subcomponent.
 
Methods inherited from interface com.tssap.util.ui.pane.ITitledPane
getTitle, setTitle
 
Methods inherited from interface com.tssap.util.ui.pane.IBasicPane
addDisposeListener, getComposite, getParent, getWidgetFactory, isPaneModifiable, setLayoutData
 

Method Detail

addPushButton

public org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText)
Adds a pushbutton.
Parameters:
pButtonText - push button text
Returns:
the created button

addPushButton

public org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage)
Adds a pushbutton.
Parameters:
pButtonImage - push button image
Returns:
the created button

addPushButton

public org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText,
                                                    java.lang.String pButtonTooltip)
Adds a pushbutton.
Parameters:
pButtonText - push button text
pButtonTooltip - push button tooltip text
Returns:
the created button

addPushButton

public org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage,
                                                    java.lang.String pButtonTooltip)
Adds a pushbutton.
Parameters:
pButtonImage - push button image
pButtonTooltip - push button tooltip text
Returns:
the created button

addToggleButton

public org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text)
Adds a togggle button.
Parameters:
text - button text
Returns:
the created button

addToggleButton

public org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image)
Adds a togggle button.
Parameters:
image - push button image
Returns:
the created button

addToggleButton

public org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text,
                                                      java.lang.String toolTip)
Adds a togggle button.
Parameters:
text - push button text
toolTip - push button tooltip text
Returns:
the created button

addToggleButton

public org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image,
                                                      java.lang.String toolTip)
Adds a togggle button.
Parameters:
image - push button image
toolTip - push button tooltip text
Returns:
the created button

addRadioButton

public org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText)
Adds a radiobutton.
Parameters:
pButtonText - radio button text
Returns:
the created button

addRadioButton

public org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage)
Adds a radiobutton.
Parameters:
pButtonImage - radio button image
Returns:
the created button

addRadioButton

public org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText,
                                                     java.lang.String pButtonTooltip)
Adds a radiobutton.
Parameters:
pButtonText - radio button text
pButtonTooltip - radio button tooltip text
Returns:
the created button

addRadioButton

public org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage,
                                                     java.lang.String pButtonTooltip)
Adds a radiobutton.
Parameters:
pButtonImage - radio button image
pButtonTooltip - radio button tooltip text
Returns:
the created button

addCheckBox

public org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText)
Adds a check box.
Parameters:
pCheckBoxText - checkbox text (can be "")
Returns:
the created check box

addCheckBox

public org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText,
                                                  boolean pCheckBoxValue)
Adds a check box.
Parameters:
pCheckBoxText - the checkbox text (can be "")
pCheckBoxValue - initial value (default is false)
Returns:
the created check box

addHorizontalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String[] pRadioButtonText)
Adds a horziontal radio button group.
Parameters:
pRadioButtonText - text of radio buttons contained in group
Returns:
array of created buttons

addHorizontalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle,
                                                                      java.lang.String[] pRadioButtonText)
Adds a horziontal radio button group with an enclosing frame (and title).
Parameters:
pTitle - title text
pRadioButtonText - text of radio buttons contained in group
Returns:
array of created buttons

addHorizontalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle,
                                                                      java.lang.String[] pRadioButtonText,
                                                                      int pSelectedItem)
Adds a horziontal radio button group with an enclosing frame (and title).
Parameters:
pTitle - title text
pRadioButtonText - text of radio buttons contained in group
pSelectedItem - selected item (default is 0)
Returns:
array of created buttons

addVerticalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String[] pRadioButtonText)
Adds a vertical radio button group.
Parameters:
pRadioButtonText - text of radio buttons contained in group
Returns:
Button[] created buttons

addVerticalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle,
                                                                    java.lang.String[] pRadioButtonText)
Adds a vertical radio button group with an enclosing frame (and title).
Parameters:
pTitle - title text
pRadioButtonText - text of radio buttons contained in group
Returns:
array of created buttons

addVerticalRadioButtonGroup

public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle,
                                                                    java.lang.String[] pRadioButtonText,
                                                                    int pSelectedItem)
Adds a vertical radio button group with an enclosing frame (and title).
Parameters:
pTitle - title text
pRadioButtonText - text of radio buttons contained in group
pSelectedItem - selected item (default is 0)
Returns:
array of created buttons

addTextLabel

public org.eclipse.swt.widgets.Label addTextLabel(java.lang.String pLabelText)
Adds a simple text label.
Parameters:
pLabelText - text of label
Returns:
The created label. Further attributes (e.g. colours) can be set directly on widget.

addTextField

public org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText)
Adds a simple text field (single line).
Parameters:
pDefaultText - text of field
Returns:
created text field

addTextField

public org.eclipse.swt.widgets.Text addTextField(boolean pReadOnly)
Adds a simple text field (single line).
Parameters:
pReadOnly - specifies if field cannot be edited (default is false)
Returns:
created text field

addTextField

public org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText,
                                                 boolean pReadOnly)
Adds a simple text field (single line) which can be set read only.
Parameters:
pDefaultText - text of field
pReadOnly - specifies if field cannot be edited (default is false)
Returns:
created text field

addTextPane

public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText)
Adds a text pane (multi lines).
Parameters:
pDefaultText - text of pane initially shown
Returns:
created text pane

addTextPane

public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText,
                                                boolean pReadOnly)
Adds a text pane (multi lines) which can be set read only.
Parameters:
pDefaultText - text of pane initially shown
pReadOnly - specifies if pane cannot be edited (default is true)
Returns:
created text pane

addTextPane

public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText,
                                                boolean pReadOnly,
                                                boolean pWordWrap)
Adds a text pane (multi lines) which can be set read only.
Parameters:
pDefaultText - text of pane initially shown
pReadOnly - specifies if pane cannot be edited (default is true)
pWordWrap - specifies if pane does word wrap or uses vertical scroll bar
Returns:
created text pane

addImage

public org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage)
Adds an image.
Parameters:
pImage -  
Returns:
created label containing the image

addImage

public org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage,
                                              boolean pBorderFlag)
Adds an image. Border flag can be switched of.
Parameters:
pImage -  
pBorderFlag - show border
Returns:
created label containing the image

addComboBox

public org.eclipse.swt.widgets.Combo addComboBox()
Adds an empty combo box.
Returns:
created combo box

addComboBox

public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems)
Adds an combo box.
Parameters:
pItems - the items of the combo box
Returns:
created combo box

addComboBox

public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
                                                 java.lang.String pDefaultText)
Adds an combo box.
Parameters:
pItems - the items of the combo box
pDefaultText - The text to be initially shown in the box. It can be changed by the user.
Returns:
created combo box

addComboBox

public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
                                                 boolean pReadOnly)
Adds an combo box.
Parameters:
pItems - the items of the combo box
pReadOnly - flag if text is changeable
Returns:
created combo box

addComboBox

public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
                                                 java.lang.String pDefaultText,
                                                 boolean pReadOnly)
Adds an combo box.
Parameters:
pItems - the items of the combo box
pDefaultText - the text to be initially shown in the box
pReadOnly - flag if text is changeable
Returns:
created combo box

addList

public org.eclipse.swt.widgets.List addList(java.lang.String[] pItems)
Adds a simple list widget.
Parameters:
pItems - The items of the list. Only one can be selected by default.
Returns:
created list

addList

public org.eclipse.swt.widgets.List addList(java.lang.String[] pItems,
                                            boolean pEnableMultipleSelection)
Adds a simple list widget.
Parameters:
pItems - the items of the list
enableMultipleSelection - flag if selection of more than one entry is allowed
Returns:
created list

addTextViewer

public org.eclipse.jface.text.TextViewer addTextViewer()
Adds a text viewer.
Returns:
created text viewer.

addTextViewer

public org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap)
Adds a text viewer.
Parameters:
pWordWrap - flag if words in lines are wrapped
Returns:
created text viewer.

addTextViewer

public org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap,
                                                       boolean pReadOnly)
Adds a text viewer.
Parameters:
pWordWrap - flag if words in lines are wrapped
pReadOnly - flag if text field is read only
Returns:
created text viewer.

addListViewer

public org.eclipse.jface.viewers.ListViewer addListViewer(boolean pEnableMultipleSelection)
Adds a list viewer.

It can be configured with label provider and/or content provider.

Parameters:
pEnableMultipleSelection - flag if selection of more than one entry is allowed
Returns:
created list viewer

addTreeViewer

public org.eclipse.jface.viewers.TreeViewer addTreeViewer(boolean pEnableMultipleSelection)
Adds a tree viewer. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection - flag if selection of more than one entry is allowed
Returns:
created tree viewer

addCheckboxTreeViewer

public org.eclipse.jface.viewers.CheckboxTreeViewer addCheckboxTreeViewer(boolean pEnableMultipleSelection)
Adds a tree viewer where each node can be checked. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
Returns:
CheckboxTreeViewer

addTableViewer

public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection)
Adds a table viewer.
It can be configured with label provider and/or content provider.
As a default it contains exactly one column without label and with default width. The columns can be configured by calling getTable().getTableColumns() on the viewer.
Parameters:
pEnableMultipleSelection -  
Returns:
TableViewer

addTableViewer

public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
                                                            java.lang.String[] columnLabels)
Adds a table viewer.
It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
columnLabels - labels of the column headers. The viewer contains as many columns as given here.
Returns:
TableViewer

addTableViewer

public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
                                                            ITableColumn[] columns)
Adds a table viewer. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
columns - column definition objects
Returns:
TableViewer

addTableViewer

public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
                                                            java.lang.String[] columnLabels,
                                                            int[] columnWidths)
Adds a table viewer. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
columnLabels - labels of the column headers
columnWidths - width of the columns
Returns:
TableViewer

addCheckboxTableViewer

public org.eclipse.jface.viewers.CheckboxTableViewer addCheckboxTableViewer(boolean pEnableMultipleSelection)
Adds a table viewer where each table row can be checked. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
Returns:
CheckboxTableViewer

addTableTreeViewer

public org.eclipse.jface.viewers.TableTreeViewer addTableTreeViewer(boolean pEnableMultipleSelection)
Adds a table tree viewer which shows a tree in a table. It can be configured with label provider and/or content provider.
Parameters:
pEnableMultipleSelection -  
Returns:
TableTreeViewer

addPlaceholder

public void addPlaceholder()
Adds a placeholder.

The placeholder is simply a label with empty content.


addSimplePane

public ISimplePane addSimplePane()
Adds an ISiplePane implementation as subcomponent.
Returns:
created pane

addSimplePane

public ISimplePane addSimplePane(java.lang.String pTitle)
Adds an ISiplePane implementation as subcomponent. Simple pane is visualized with a titled border.
Parameters:
pTitle - title of border
Returns:
created pane

addHorizontalSashPane

public ISashPane addHorizontalSashPane()
Adds an ISashPane implementation (horizontally aligned) as subcomponent.
Returns:
created pane

addVerticalSashPane

public ISashPane addVerticalSashPane()
Adds an ISashPane implementation (vertically aligned) as subcomponent.
Returns:
created pane

addHorizontalToolBar

public IToolBarPane addHorizontalToolBar()
Adds an IToolBarPane implementation (horizontally aligned) as subcomponent.
Returns:
created pane

addVerticalToolBar

public IToolBarPane addVerticalToolBar()
Adds an IToolBarPane implementation (vertically aligned) as subcomponent.
Returns:
created pane

addTabbedPane

public ITabbedPane addTabbedPane()
Adds an ITabbedPane implementation as subcomponent.
Returns:
created pane

addGridLayoutPane

public IGridLayoutPane addGridLayoutPane(int pNumOfColumns)
Adds an IGridLayoutPane implementation as subcomponent.
Parameters:
pNumOfColumns - number of columns
Returns:
created pane

addGridLayoutPane

public IGridLayoutPane addGridLayoutPane(int pNumOfColumns,
                                         boolean pEqualSizedFlag)
Adds an IGridLayoutPane implementation as subcomponent.
Parameters:
pNumOfColumns - number of columns
pEqualSizedFlag - flag if columns are equal sized
Returns:
created pane

addGridLayoutPane

public IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle,
                                         int pNumOfColumns)
Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent.
Parameters:
pGroupTitle - title to be shown
pNumOfColumns - number of columns
Returns:
created pane

addGridLayoutPane

public IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle,
                                         int pNumOfColumns,
                                         boolean pEqualSizedFlag)
Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent.
Parameters:
pGroupTitle - title to be shown
pNumOfColumns - number of columns
pEqualSizedFlag - flag if columns are equal sized
Returns:
created pane

addSapTableViewer

public ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel)
Adds an ISapTableViewer implementation as subcomponent.
Parameters:
pTableModel - swing table model
Returns:
created viewer

addSapTableViewer

public ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel,
                                         boolean pSingleSelection)
Adds an ISapTableViewer implementation as subcomponent.
Parameters:
pTableModel - swing table model
pSingleSelection - if set to true table is initialized for single selection, otherwise multi selection is enabled.
Returns:
created viewer

addSapTreeViewer

public ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel)
Adds an ISapTreeViewer implementation as subcomponent.
Parameters:
pTreeModel - swing tree model
Returns:
created viewer

addSapTreeViewer

public ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel,
                                       SapTreeLabelProvider pTreeLabelProvider)
Adds an ISapTreeViewer implementation as subcomponent.
Parameters:
pTreeModel - swing tree model
pTreeLabelProvider - label provider for the tree
Returns:
created viewer


Copyright © 2005 SAP AG. All Rights Reserved.