org.pentaho.di.ui.core.widget
Class LabelComboVar

java.lang.Object
  extended by Composite
      extended by org.pentaho.di.ui.core.widget.LabelComboVar

public class LabelComboVar
extends Composite

Adds a line of text with a label and a variable to a composite (like a dialog shell)

Since:
17-may-2006
Author:
Matt

Constructor Summary
LabelComboVar(VariableSpace space, Composite composite, int flags, String labelText, String toolTipText)
           
LabelComboVar(VariableSpace space, Composite composite, String labelText, String toolTipText)
           
 
Method Summary
 void add(String item)
           
 void addModifyListener(ModifyListener lsMod)
           
 void addSelectionListener(SelectionAdapter lsDef)
           
 void addTraverseListener(TraverseListener tl)
           
 CCombo getComboWidget()
           
 int getItemCount()
           
 String[] getItems()
           
 Label getLabelWidget()
           
 String getText()
           
 void remove(int index)
           
 void removeAll()
           
 void select(int index)
           
 void setEnabled(boolean flag)
           
 boolean setFocus()
           
 void setItems(String[] items)
           
 void setText(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelComboVar

public LabelComboVar(VariableSpace space,
                     Composite composite,
                     String labelText,
                     String toolTipText)

LabelComboVar

public LabelComboVar(VariableSpace space,
                     Composite composite,
                     int flags,
                     String labelText,
                     String toolTipText)
Method Detail

addModifyListener

public void addModifyListener(ModifyListener lsMod)

addSelectionListener

public void addSelectionListener(SelectionAdapter lsDef)

setText

public void setText(String name)

getText

public String getText()

setItems

public void setItems(String[] items)

add

public void add(String item)

getItems

public String[] getItems()

getItemCount

public int getItemCount()

removeAll

public void removeAll()

remove

public void remove(int index)

select

public void select(int index)

setEnabled

public void setEnabled(boolean flag)

setFocus

public boolean setFocus()

addTraverseListener

public void addTraverseListener(TraverseListener tl)

getComboWidget

public CCombo getComboWidget()

getLabelWidget

public Label getLabelWidget()