org.pentaho.di.ui.core.widget
Class CheckBoxVar
java.lang.Object
Composite
org.pentaho.di.ui.core.widget.CheckBoxVar
public class CheckBoxVar
- extends Composite
A Widget that combines a Check Box widget with a Variable button that will insert an Environment variable.
- Since:
- 9-august-2006
- Author:
- Matt
CheckBoxVar
public CheckBoxVar(VariableSpace space,
Composite composite,
int flags)
CheckBoxVar
public CheckBoxVar(VariableSpace space,
Composite composite,
int flags,
String variable)
getText
public String getText()
- Returns:
- the text in the Text widget
setText
public void setText(String text)
- Parameters:
text
- the text in the Text widget to set.
addSelectionListener
public void addSelectionListener(SelectionAdapter lsDef)
addKeyListener
public void addKeyListener(KeyListener lsKey)
addFocusListener
public void addFocusListener(FocusListener lsFocus)
setEnabled
public void setEnabled(boolean flag)
setSelection
public void setSelection(boolean selection)
getSelection
public boolean getSelection()
setFocus
public boolean setFocus()
addTraverseListener
public void addTraverseListener(TraverseListener tl)
getVariableName
public String getVariableName()
setVariableName
public void setVariableName(String variableName)