com.tssap.util.ui.reuse.list
Class ListComponent
java.lang.Object
|
+--com.tssap.util.ui.AbstractEditable
|
+--com.tssap.util.ui.reuse.GenericComponent
|
+--com.tssap.util.ui.reuse.GenericMultiComponent
|
+--com.tssap.util.ui.reuse.GenericMultiListComponent
|
+--com.tssap.util.ui.reuse.list.ListComponent
- All Implemented Interfaces:
- IEditable, IGenericComponent, IGenericMultiComponent, IGridLayoutPaneContainer, IReuseable
- public class ListComponent
- extends GenericMultiListComponent
description: displays a list with add and remove buttons
- Since:
- 2002/11/15
- Version:
- 1.0.0
| Methods inherited from class com.tssap.util.ui.reuse.GenericComponent |
addModifyListener, addSelectionListener, createPartControl, createPartControl, createPartControl, getTitle, getUserAreaGridLayoutPane, isComposable, isEnabled, refresh, removeModifyListener, removeSelectionListener, setTitle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListComponent
public ListComponent()
- Constructor for ListComponent.
ListComponent
public ListComponent(IListSelectorCallback callback)
- Constructor for ListComponent.
initContainer
public void initContainer(IGridLayoutPane userArea)
- Description copied from interface:
IGridLayoutPaneContainer
- Initialize component's UI. Implementor has to fill the given grid layout pane.
The number of columns comes from call to method getUserGridNumOfColumns().
If grid columns have equal widths is decided through call to isUserGridEqualColSize().
- Overrides:
initContainer in class GenericMultiListComponent
- See Also:
IGridLayoutPaneContainer.initContainer(IGridLayoutPane)
containsElement
public boolean containsElement(IListElement listElement)
- Method containsElement.
- Parameters:
listElement - - Returns:
- boolean
getListElements
public java.lang.String[] getListElements()
- Returns the listElements.
- Returns:
- String[]
setSelection
public void setSelection(int elementIndex)
- See Also:
com.tssap.util.ui.reuse.list.IMutableListSelector#setSelection(int)
isSecurityRemove
public boolean isSecurityRemove()
- Returns the securityRemove.
- Returns:
- boolean
setSecurityRemove
public void setSecurityRemove(boolean securityRemove)
- Sets the securityRemove.
- Parameters:
securityRemove - The securityRemove to set
getElements
public IListElement[] getElements()
- Returns the elements.
- Returns:
- IListElement[]
setElements
public void setElements(IListElement[] elements)
- Sets the elements.
- Parameters:
elements - The elements to set
Copyright © 2005 SAP AG. All Rights Reserved.