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

java.lang.Object
  extended by Composite
      extended by 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

Constructor Summary
CheckBoxVar(VariableSpace space, Composite composite, int flags)
           
CheckBoxVar(VariableSpace space, Composite composite, int flags, String variable)
           
 
Method Summary
 void addFocusListener(FocusListener lsFocus)
           
 void addKeyListener(KeyListener lsKey)
           
 void addSelectionListener(SelectionAdapter lsDef)
           
 void addTraverseListener(TraverseListener tl)
           
 boolean getSelection()
           
 String getText()
           
 String getVariableName()
           
 void setEnabled(boolean flag)
           
 boolean setFocus()
           
 void setSelection(boolean selection)
           
 void setText(String text)
           
 void setVariableName(String variableName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxVar

public CheckBoxVar(VariableSpace space,
                   Composite composite,
                   int flags)

CheckBoxVar

public CheckBoxVar(VariableSpace space,
                   Composite composite,
                   int flags,
                   String variable)
Method Detail

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)