com.tssap.util.ui.glpc.form
Class SectionForm

java.lang.Object
  |
  +--com.tssap.util.ui.AbstractEditable
        |
        +--com.tssap.util.ui.glpc.AbstractGridLayoutPaneContainer
              |
              +--com.tssap.util.ui.glpc.AbstractTitledGridLayoutPaneContainer
                    |
                    +--com.tssap.util.ui.glpc.form.AbstractForm
                          |
                          +--com.tssap.util.ui.glpc.form.SectionForm
All Implemented Interfaces:
IEditable, IForm, IGridLayoutPaneContainer, ISectionForm, ITitledGridLayoutPaneContainer

public abstract class SectionForm
extends AbstractForm
implements ISectionForm

This is the abstract base class for all section forms. A form section is a form that offers special management for contained sections.


Fields inherited from class com.tssap.util.ui.glpc.AbstractTitledGridLayoutPaneContainer
DEFAULT_DESCRIPTION, DEFAULT_TITLE
 
Fields inherited from class com.tssap.util.ui.glpc.AbstractGridLayoutPaneContainer
USER_GRID_DEFAULT_EQUAL_SIZE_FLAG
 
Constructor Summary
SectionForm(IWidgetFactory widgetFactory, int columns, boolean equalColumns, java.lang.String title)
          Creates a new SectionForm with an empty description.
SectionForm(IWidgetFactory widgetFactory, int columns, boolean equalColumns, java.lang.String title, java.lang.String description)
          Creates a new SectionForm.
SectionForm(IWidgetFactory widgetFactory, int columns, java.lang.String title)
          Creates a new SectionForm with no description and non-equal column widths.
SectionForm(IWidgetFactory widgetFactory, int columns, java.lang.String title, java.lang.String description)
          Creates a new SectionForm with non-equal column widths.
 
Method Summary
 void addSection(ISection section)
          Adds a section to the section management.
 void initForm(IGridLayoutPane glp)
          Initializes the client area of this grid layout pane container subclass.
 
Methods inherited from class com.tssap.util.ui.glpc.form.AbstractForm
getColumns, initContainer
 
Methods inherited from class com.tssap.util.ui.glpc.AbstractTitledGridLayoutPaneContainer
getDescription, getTitle, setDescription, setTitle
 
Methods inherited from class com.tssap.util.ui.glpc.AbstractGridLayoutPaneContainer
composeGridLayoutPaneContainer, getUserAreaGridLayoutPane, getUserGridNumOfColumns, getWidgetFactory, isComposable, isUserGridEqualColSize
 
Methods inherited from class com.tssap.util.ui.AbstractEditable
isEditable, setEditable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tssap.util.ui.glpc.form.ISectionForm
initSectionForm
 
Methods inherited from interface com.tssap.util.ui.glpc.ITitledGridLayoutPaneContainer
getDescription, getTitle, setDescription, setTitle
 
Methods inherited from interface com.tssap.util.ui.glpc.IGridLayoutPaneContainer
getUserGridNumOfColumns, initContainer, isUserGridEqualColSize
 
Methods inherited from interface com.tssap.util.ui.IEditable
isEditable, setEditable
 

Constructor Detail

SectionForm

public SectionForm(IWidgetFactory widgetFactory,
                   int columns,
                   java.lang.String title)
Creates a new SectionForm with no description and non-equal column widths.
Parameters:
widgetFactory - The WidgetFactory to use.
columns - The number of columns the client area should have.
title - The title of the form.

SectionForm

public SectionForm(IWidgetFactory widgetFactory,
                   int columns,
                   java.lang.String title,
                   java.lang.String description)
Creates a new SectionForm with non-equal column widths.
Parameters:
widgetFactory - The WidgetFactory to use.
columns - The number of columns the client area should have.
title - The title of the form.
description - The description of the form

SectionForm

public SectionForm(IWidgetFactory widgetFactory,
                   int columns,
                   boolean equalColumns,
                   java.lang.String title)
Creates a new SectionForm with an empty description.
Parameters:
widgetFactory - The WidgetFactory to use.
columns - The number of columns the client area should have.
equalColumns - Flag if the columns should have equal width.
title - The title of the form.

SectionForm

public SectionForm(IWidgetFactory widgetFactory,
                   int columns,
                   boolean equalColumns,
                   java.lang.String title,
                   java.lang.String description)
Creates a new SectionForm.
Parameters:
widgetFactory - The WidgetFactory to use.
columns - The number of columns the client area should have.
equalColumns - Flag if the columns should have equal width.
title - The title of the form.
description - The description of the form
Method Detail

addSection

public void addSection(ISection section)
Description copied from interface: ISectionForm
Adds a section to the section management.
Specified by:
addSection in interface ISectionForm
See Also:
ISectionForm.addSection(ISection)

initForm

public final void initForm(IGridLayoutPane glp)
Initializes the client area of this grid layout pane container subclass. By default the client area is empty and can be filled with any UI element by the subclasses of this class. The implementation of this method within this class simply calls the initSectionForm method that must be implemented by all subclasses of SectionForm.
Specified by:
initForm in interface IForm
Parameters:
gridLayoutPane - The client area of the grid layout pane container subclass.


Copyright © 2005 SAP AG. All Rights Reserved.