|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.dialogs.progress.AbstractProgressMonitor oracle.javatools.dialogs.progress.IndeterminateProgressMonitor
A progress monitor implementation for indeterminate progress feedback.
DeterminateProgressMonitor
Constructor Summary | |
IndeterminateProgressMonitor(java.awt.Component parent,
java.lang.String title)
|
|
IndeterminateProgressMonitor(java.awt.Component parent,
java.lang.String title,
java.lang.Object message,
java.lang.String note)
|
Method Summary | |
void |
close()
Indicates that the operation is complete. |
protected void |
closeImpl()
|
protected javax.swing.JProgressBar |
createProgressBar()
|
void |
display()
Forces the progress dialog to be displayed, regardless of timing. |
protected void |
displayImpl()
|
void |
finish()
Finishes progress indication by setting the level to its maximum ahead of monitor closure. |
protected void |
finishImpl(javax.swing.JProgressBar progressBar)
|
boolean |
getCloseOnFinish()
Asks whether the monitor's dialog will close when responding to the AbstractProgressMonitor.finish() method. |
java.awt.Component |
getComponent()
Gets the progress monitor dialog component, if created. |
java.awt.Component |
getDetailContent()
Returns the content of the dialog to appear in a 'details' section. |
int |
getMillisToPopup()
Returns the amount of time it will take for the popup to appear. |
ProgressPanel |
getPanel()
Gets the panel component for this progress monitor. |
boolean |
isBarVisible()
Returns the visibility of the dialog's progress bar before it is shown. |
boolean |
isCanceled()
Returns true if the user hits the Cancel button in the progress dialog. |
boolean |
isCancellable()
Returns whether the progress dialog can be cancelled. |
boolean |
isCancelled()
Returns true if the user hits the Cancel button in the progress dialog. |
void |
setBarVisible(boolean barVisible)
Specifies the visibility of the dialog's progress bar before it is shown. |
void |
setCancellable(boolean cancellable)
Specifies whether the progress dialog can be cancelled. |
void |
setCloseOnFinish(boolean closeOnFinish)
Sets whether the monitor's dialog should close when responding to the AbstractProgressMonitor.finish() method. |
void |
setDetailContent(java.awt.Component detailContent)
Specifies the content of the dialog to appear in a 'details' section. |
void |
setMillisToPopup(int millisToPopup)
Specifies the amount of time it will take for the popup to appear. |
void |
start()
Starts the monitor, ensuring the dialog will be displayed after the configured delay. |
void |
uncancel()
Resets the cancelled state of the progress dialog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IndeterminateProgressMonitor(java.awt.Component parent, java.lang.String title)
public IndeterminateProgressMonitor(java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.String note)
Method Detail |
public void start()
protected javax.swing.JProgressBar createProgressBar()
protected void displayImpl()
protected void finishImpl(javax.swing.JProgressBar progressBar)
protected void closeImpl()
public void setCloseOnFinish(boolean closeOnFinish)
AbstractProgressMonitor.finish()
method.
closeOnFinish
- a decision on dialog closure.public boolean getCloseOnFinish()
AbstractProgressMonitor.finish()
method.
public void finish()
public void close()
public boolean isCanceled()
public void setMillisToPopup(int millisToPopup)
millisToPopup
- an int specifying the time in millisecondsAbstractProgressMonitor.getMillisToPopup()
public int getMillisToPopup()
AbstractProgressMonitor.setMillisToPopup(int)
public void setDetailContent(java.awt.Component detailContent)
detailContent
- the detail content component.AbstractProgressMonitor.getDetailContent()
public java.awt.Component getDetailContent()
AbstractProgressMonitor.setDetailContent(java.awt.Component)
public void setBarVisible(boolean barVisible)
barVisible
- the visibility value.AbstractProgressMonitor.isBarVisible()
public boolean isBarVisible()
AbstractProgressMonitor.setBarVisible(boolean)
public void setCancellable(boolean cancellable)
cancellable
- the cancellable value.AbstractProgressMonitor.isCancellable()
public boolean isCancellable()
AbstractProgressMonitor.setCancellable(boolean)
public void display()
AbstractProgressMonitor.close()
public java.awt.Component getComponent()
public boolean isCancelled()
public void uncancel()
public ProgressPanel getPanel()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.