org.pentaho.di.ui.core.dialog
Class PreviewRowsDialog

java.lang.Object
  extended by org.pentaho.di.ui.core.dialog.PreviewRowsDialog

public class PreviewRowsDialog
extends Object

Displays an ArrayList of rows in a TableView.

Since:
19-06-2003
Author:
Matt

Field Summary
static int MAX_BINARY_STRING_PREVIEW_SIZE
           
 
Constructor Summary
PreviewRowsDialog(Shell parent, VariableSpace space, int style, String stepName, RowMetaInterface rowMeta, List<Object[]> rowBuffer)
           
PreviewRowsDialog(Shell parent, VariableSpace space, int style, String stepName, RowMetaInterface rowMeta, List<Object[]> rowBuffer, String loggingText)
           
 
Method Summary
 void addDataRow(RowMetaInterface rowMeta, Object[] rowData)
           
 void addDialogClosedListener(DialogClosedListener listener)
           
 void dispose()
           
 Rectangle getBounds()
           
 int getHMax()
           
 int getHScroll()
           
 int getVMax()
           
 int getVScroll()
           
 boolean isAskingForMoreRows()
           
 boolean isAskingToStop()
           
 boolean isDisposed()
           
 boolean isProposingToGetMoreRows()
           
 boolean isProposingToStop()
           
 void open()
           
 void setBounds(Rectangle b)
           
 void setDynamic(boolean dynamic)
           
 void setHMax(int m)
           
 void setHScroll(int s)
           
 void setProposingToGetMoreRows(boolean proposingToGetMoreRows)
           
 void setProposingToStop(boolean proposingToStop)
           
 void setTitleMessage(String title, String message)
           
 void setVMax(int m)
           
 void setVScroll(int s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_BINARY_STRING_PREVIEW_SIZE

public static final int MAX_BINARY_STRING_PREVIEW_SIZE
See Also:
Constant Field Values
Constructor Detail

PreviewRowsDialog

public PreviewRowsDialog(Shell parent,
                         VariableSpace space,
                         int style,
                         String stepName,
                         RowMetaInterface rowMeta,
                         List<Object[]> rowBuffer)

PreviewRowsDialog

public PreviewRowsDialog(Shell parent,
                         VariableSpace space,
                         int style,
                         String stepName,
                         RowMetaInterface rowMeta,
                         List<Object[]> rowBuffer,
                         String loggingText)
Method Detail

setTitleMessage

public void setTitleMessage(String title,
                            String message)

open

public void open()

dispose

public void dispose()

isDisposed

public boolean isDisposed()

getBounds

public Rectangle getBounds()

setBounds

public void setBounds(Rectangle b)

getHScroll

public int getHScroll()

setHScroll

public void setHScroll(int s)

getVScroll

public int getVScroll()

setVScroll

public void setVScroll(int s)

getHMax

public int getHMax()

setHMax

public void setHMax(int m)

getVMax

public int getVMax()

setVMax

public void setVMax(int m)

isAskingForMoreRows

public boolean isAskingForMoreRows()
Returns:
true if the user is asking to grab the next rows with preview

isProposingToGetMoreRows

public boolean isProposingToGetMoreRows()
Returns:
true if the dialog is proposing to ask for more rows

setProposingToGetMoreRows

public void setProposingToGetMoreRows(boolean proposingToGetMoreRows)
Parameters:
proposingToGetMoreRows - Set to true if you want to display a button asking for more preview rows.

isAskingToStop

public boolean isAskingToStop()
Returns:
the askingToStop

isProposingToStop

public boolean isProposingToStop()
Returns:
the proposingToStop

setProposingToStop

public void setProposingToStop(boolean proposingToStop)
Parameters:
proposingToStop - the proposingToStop to set

setDynamic

public void setDynamic(boolean dynamic)

addDataRow

public void addDataRow(RowMetaInterface rowMeta,
                       Object[] rowData)

addDialogClosedListener

public void addDialogClosedListener(DialogClosedListener listener)