com.tssap.util.ui.reuse
Class GenericMultiComponent

java.lang.Object
  |
  +--com.tssap.util.ui.AbstractEditable
        |
        +--com.tssap.util.ui.reuse.GenericComponent
              |
              +--com.tssap.util.ui.reuse.GenericMultiComponent
All Implemented Interfaces:
IEditable, IGenericComponent, IGenericMultiComponent, IGridLayoutPaneContainer, IReuseable
Direct Known Subclasses:
GenericMultiListComponent, GenericMultiTableComponent

public abstract class GenericMultiComponent
extends GenericComponent
implements IGenericMultiComponent


Constructor Summary
GenericMultiComponent()
          Constructor for GenericMultiComponent.
GenericMultiComponent(java.lang.String title)
          Constructor for GenericMultiComponent.
 
Method Summary
 java.lang.String getAddButtonText()
           
 int getButtonOrientation()
           
 java.lang.String getRemoveButtonText()
           
 boolean hasAddRemoveButtons()
          Method hasAddRemoveButtons.
 boolean isSecureRemove()
          Returns the secureRemove.
 void setAddButtonText(java.lang.String addButtonText)
           
 void setButtonOrientation(int buttonOrientation)
           
 void setHasAddRemoveButtons(boolean hasAddRemoveButtons)
          To have an effect this methode must be called before calling createPartControl().
 void setRemoveButtonText(java.lang.String removeButtonText)
           
 void setSecureRemove(boolean secureRemove)
          Sets the secureRemove.
 
Methods inherited from class com.tssap.util.ui.reuse.GenericComponent
addModifyListener, addSelectionListener, createPartControl, createPartControl, createPartControl, getTitle, getUserAreaGridLayoutPane, isComposable, isEnabled, refresh, removeModifyListener, removeSelectionListener, setEnabled, setTitle
 
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.IGridLayoutPaneContainer
getUserGridNumOfColumns, initContainer, isUserGridEqualColSize
 
Methods inherited from interface com.tssap.util.ui.IEditable
isEditable, setEditable
 

Constructor Detail

GenericMultiComponent

public GenericMultiComponent()
Constructor for GenericMultiComponent.

GenericMultiComponent

public GenericMultiComponent(java.lang.String title)
Constructor for GenericMultiComponent.
Parameters:
title -  
Method Detail

hasAddRemoveButtons

public boolean hasAddRemoveButtons()
Method hasAddRemoveButtons.
Returns:
boolean

setHasAddRemoveButtons

public void setHasAddRemoveButtons(boolean hasAddRemoveButtons)
To have an effect this methode must be called before calling createPartControl(). Default is true.

getAddButtonText

public java.lang.String getAddButtonText()
Specified by:
getAddButtonText in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.getAddButtonText()

setAddButtonText

public void setAddButtonText(java.lang.String addButtonText)
Specified by:
setAddButtonText in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.setAddButtonText(String)

getRemoveButtonText

public java.lang.String getRemoveButtonText()
Specified by:
getRemoveButtonText in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.getRemoveButtonText()

setRemoveButtonText

public void setRemoveButtonText(java.lang.String removeButtonText)
Specified by:
setRemoveButtonText in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.setRemoveButtonText(String)

getButtonOrientation

public int getButtonOrientation()
Specified by:
getButtonOrientation in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.getButtonOrientation()

setButtonOrientation

public void setButtonOrientation(int buttonOrientation)
Specified by:
setButtonOrientation in interface IGenericMultiComponent
See Also:
IGenericMultiComponent.setButtonOrientation(int)

isSecureRemove

public boolean isSecureRemove()
Returns the secureRemove.
Returns:
boolean

setSecureRemove

public void setSecureRemove(boolean secureRemove)
Sets the secureRemove.
Parameters:
secureRemove - The secureRemove to set


Copyright © 2005 SAP AG. All Rights Reserved.