org.archiviststoolkit.swing
Class InfiniteProgressPanel

java.lang.Object
  extended by org.archiviststoolkit.swing.InfiniteProgressPanel

public class InfiniteProgressPanel
extends java.lang.Object

MySwing: Advanced Swing Utilites Copyright (C) 2005 Santhosh Kumar T

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.


Constructor Summary
InfiniteProgressPanel()
           
InfiniteProgressPanel(int milliSecondsToWait)
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener listener)
           
 void close()
           
 int getCurrent()
           
 java.lang.String getLine1()
           
 java.lang.String getLine2()
           
 java.lang.String getLine3()
           
 java.lang.String getLine4()
           
 java.lang.String getLine5()
           
 java.lang.String getLine6()
           
 java.lang.String getLine7()
           
 int getMilliSecondsToWait()
           
 int getTextDepth()
           
 void initText()
           
 void initText(java.lang.String s)
           
 boolean isProcessCancelled()
          Method to check if the process was canceled
 boolean isProcessDone()
           
 void removeChangeListener(javax.swing.event.ChangeListener listener)
           
 void setProcessCancelled(boolean processCancelled)
          Method to set the process to cancel
 void setTextLine(java.lang.String newText, int index)
           
 void start(java.lang.String firstLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfiniteProgressPanel

public InfiniteProgressPanel(int milliSecondsToWait)

InfiniteProgressPanel

public InfiniteProgressPanel()
Method Detail

start

public void start(java.lang.String firstLine)

close

public void close()

getMilliSecondsToWait

public int getMilliSecondsToWait()

getCurrent

public int getCurrent()

getLine1

public java.lang.String getLine1()

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener listener)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener listener)

initText

public void initText()

setTextLine

public void setTextLine(java.lang.String newText,
                        int index)

getTextDepth

public int getTextDepth()

initText

public void initText(java.lang.String s)

getLine2

public java.lang.String getLine2()

getLine3

public java.lang.String getLine3()

getLine4

public java.lang.String getLine4()

getLine5

public java.lang.String getLine5()

getLine6

public java.lang.String getLine6()

getLine7

public java.lang.String getLine7()

isProcessDone

public boolean isProcessDone()

isProcessCancelled

public boolean isProcessCancelled()
Method to check if the process was canceled

Returns:
boolean indicating whether the process was canceled

setProcessCancelled

public void setProcessCancelled(boolean processCancelled)
Method to set the process to cancel

Parameters:
processCancelled -