TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.ui.internal.editor.form.base
Class ScrollableSectionForm

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
      extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
          extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
              extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.ScrollableSectionForm
All Implemented Interfaces:
java.util.EventListener, IForm, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener
Direct Known Subclasses:
org.eclipse.hyades.test.ui.editor.form.util.EditorForm, EditorForm

public class ScrollableSectionForm
extends SectionForm

This version of the section form adds scrolling capability. However, scrolling can be disabled using 'setScrollable' method. For this reason, this class can be used instead of the SectionForm.


Field Summary
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
heightHint, widthHint
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
H_SCROLL_INCREMENT, sections, V_SCROLL_INCREMENT
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
factory, headingBackground, headingForeground, headingImage, headingText, headingVisible, titleFont
 
Constructor Summary
ScrollableSectionForm()
           
 
Method Summary
 org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Composite createParent(org.eclipse.swt.widgets.Composite parent)
           
 boolean isScrollable()
           
 boolean isVerticalFit()
           
 void setScrollable(boolean newScrollable)
           
 void setVerticalFit(boolean newVerticalFit)
           
 void update()
           
 void updateScrollBars()
           
 void updateScrolledComposite()
           
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
createFormClient, getControl, getTitleHeight, paintControl, propertyChange, setHeadingText, setHeadingVisible
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
canPaste, commitChanges, dispose, doGlobalAction, ensureVisible, ensureVisible, getControlLocation, getFocusControl, initialize, registerSection, scrollHorizontal, scrollPage, scrollVertical, setFocus, unregisterSection, updatePageIncrement
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
canPerformDirectly, expandTo, getFactory, getHeadingBackground, getHeadingForeground, getHeadingImage, getHeadingText, isHeadingVisible, setHeadingBackground, setHeadingForeground, setHeadingImage, updateHyperlinkColors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollableSectionForm

public ScrollableSectionForm()
Method Detail

createControl

public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface IForm
Overrides:
createControl in class SectionForm

createParent

protected org.eclipse.swt.widgets.Composite createParent(org.eclipse.swt.widgets.Composite parent)

isScrollable

public boolean isScrollable()

isVerticalFit

public boolean isVerticalFit()

setScrollable

public void setScrollable(boolean newScrollable)

setVerticalFit

public void setVerticalFit(boolean newVerticalFit)

update

public void update()
Specified by:
update in interface IForm
Overrides:
update in class AbstractSectionForm

updateScrollBars

public void updateScrollBars()

updateScrolledComposite

public void updateScrolledComposite()

TPTP 4.4.0 Testing Tools Project
Internal API Specification