com.tssap.util.ui.reuse
Interface IGenericComponent
- All Superinterfaces:
- IEditable, IGridLayoutPaneContainer, IReuseable
- All Known Subinterfaces:
- ICheckboxComponent, IDropDownSelector, IListSelector, IRadioButtonComponent, ITableComponent, ITreeSelector
- All Known Implementing Classes:
- GenericComponent
- public interface IGenericComponent
- extends IGridLayoutPaneContainer, IReuseable
Interface not to be implemented directly - extend com.tssap.util.ui.reuse.GenericComponent or subclass instead.
- See Also:
GenericComponent
getTitle
public java.lang.String getTitle()
- Returns:
- title text
- See Also:
setTitle(String title)
setTitle
public void setTitle(java.lang.String title)
- Change title text. Title has to be set before call of method createPartControl(..).
- Parameters:
title - - See Also:
createPartControl(IGridLayoutPane),
createPartControl(IGridLayoutPane, boolean, boolean)
addSelectionListener
public boolean addSelectionListener(org.eclipse.swt.events.SelectionListener selListener)
- Register listener, interested in selection event
- Parameters:
selListener - listener to be added- Returns:
- true if listener has been added successfully
- See Also:
SelectionEvent
removeSelectionListener
public boolean removeSelectionListener(org.eclipse.swt.events.SelectionListener selListener)
- Parameters:
selListener - listener to be removed- Returns:
- true if listener has been removed successfully
- See Also:
addSelectionListener(SelectionListener selListener)
addModifyListener
public boolean addModifyListener(org.eclipse.swt.events.ModifyListener modifyListener)
- Register listener, interested in (modifications) modify events
- Parameters:
modifyListener - listener to be added- Returns:
- true if listener has been added successfully
- See Also:
ModifyEvent
removeModifyListener
public boolean removeModifyListener(org.eclipse.swt.events.ModifyListener modifyListener)
- Parameters:
modifyListener - listener to be removed- Returns:
- true if listener has been removed successfully
- See Also:
addModifyListener(ModifyListener modifyListener)
createPartControl
public org.eclipse.swt.widgets.Control createPartControl(IGridLayoutPane glp)
- Initializes component's UI.
- Parameters:
glp - grid layout pane as container for UI (sub) components- Returns:
- component's composite
createPartControl
public org.eclipse.swt.widgets.Control createPartControl(IGridLayoutPane glp,
boolean grabHorizontal,
boolean grabVertical)
- Parameters:
glp - grabHorizontal - true if grid layout pane should be stretched horizontallygrabVertical - true if grid layout pane should be stretched vertically- Returns:
- component's composite
- See Also:
createPartControl(IGridLayoutPane)
refresh
public void refresh()
- Update component's UI
Copyright © 2005 SAP AG. All Rights Reserved.