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

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

public class LabelText
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
LabelText(Composite composite, int textStyle, String labelText, String toolTipText, int middle, int margin)
           
LabelText(Composite composite, String labelText, String toolTipText)
           
LabelText(Composite composite, String labelText, String toolTipText, int middle, int margin)
           
 
Method Summary
 void addModifyListener(ModifyListener lsMod)
           
 void addSelectionListener(SelectionListener lsDef)
           
 String getText()
           
 Text getTextWidget()
           
 void setEnabled(boolean flag)
           
 void setText(String string)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelText

public LabelText(Composite composite,
                 String labelText,
                 String toolTipText)

LabelText

public LabelText(Composite composite,
                 String labelText,
                 String toolTipText,
                 int middle,
                 int margin)

LabelText

public LabelText(Composite composite,
                 int textStyle,
                 String labelText,
                 String toolTipText,
                 int middle,
                 int margin)
Method Detail

getText

public String getText()

setText

public void setText(String string)

getTextWidget

public Text getTextWidget()

addModifyListener

public void addModifyListener(ModifyListener lsMod)

addSelectionListener

public void addSelectionListener(SelectionListener lsDef)

setEnabled

public void setEnabled(boolean flag)