Package com.tssap.util.ui.pane

Screens (composites, controls, shells, ...) are filled/composed by using one of several predefined panes. 
Panes are created by using the central pane factory class. The following coding creates the screen shown below.

See:
          Description

Interface Summary
IBasicPane Defines the root of the pane hierarchy.
ICompoundPane Defines basic convenience methods used to compose panes consisting of several sub parts.
IGridLayoutData Defines constants used in grid layout definitions.
IGridLayoutPane Extends compound pane in order to arrange sub components in a grid.
ISashPane Extends compound pane to give the ability to divide sub components by sashes.
ISimplePane Defines pane containing no further functionality.
ITabbedPane Provides functionality to arrange some other panes (grid or sash) in a tabbed manner.
ITitledPane  
IToolBarPane  
 

Class Summary
PaneFactory Central class used to create initial pane.
 

Exception Summary
PaneNotModifiableException  
 

Package com.tssap.util.ui.pane Description

Screens (composites, controls, shells, ...) are filled/composed by using one of several predefined panes. 
Panes are created by using the central pane factory class.

The following coding creates the screen shown below.

void createShellContents(Shell parent) {
	IGridLayoutPane gridPane = PaneFactory.createGridLayoutPane(parent, 2);

		Button b1 =
			gridPane.addPushButton(
				" <------ Long (b1) ------> ");

		Button b2 =
			gridPane.addPushButton(
				"Right side (b2)",
				gridPane.createGridLayoutData(
					IGridLayoutData.FILL, 
					IGridLayoutData.FILL,
					1, 2));

		Button b3 =
			gridPane.addPushButton(
				"Centered (b3)",
				gridPane.createGridLayoutData(
					IGridLayoutData.CENTER, 
					IGridLayoutData.CENTER,
					true, true));
}

Technical details

Pane interface structure

Pane class hierarchy

 



Copyright © 2005 SAP AG. All Rights Reserved.