|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.compomics.util.gui.dialogs.ProgressDialogX
public class ProgressDialogX
A dialog for displaying information about progress.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ProgressDialogX(Frame parent,
ProgressDialogParent progressDialogFrame,
boolean modal)
Opens a new ProgressDialogX with a Frame as a parent |
|
ProgressDialogX(JDialog parent,
ProgressDialogParent progressDialogFrame,
boolean modal)
Opens a new ProgressDialog with a JDialog as a parent |
|
ProgressDialogX(ProgressDialogParent parent,
boolean modal)
Opens a new ProgressDialog with a ProgressDialogParent as a parent |
Method Summary | |
---|---|
void |
doNothingOnClose()
This method makes it impossible to close the dialog. |
JProgressBar |
getProgressBar()
Returns the progress bar for updates from external processes. |
void |
incrementValue()
Increases the progress value by 1 |
void |
setIndeterminate(boolean indeterminate)
Makes the dialog indeterminate or not indeterminate. |
void |
setIntermidiate(boolean intermidiate)
Deprecated. Replaced by setIndeterminate, from utilities 3.1.17. |
void |
setMax(int value)
Sets the maximum value of the progress bar |
void |
setString(String currentFileName)
Sets the string to display in the progrss bar. |
void |
setValue(int value)
Sets the progress bar value. |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgressDialogX(Frame parent, ProgressDialogParent progressDialogFrame, boolean modal)
parent
- progressDialogFrame
- modal
- public ProgressDialogX(JDialog parent, ProgressDialogParent progressDialogFrame, boolean modal)
parent
- progressDialogFrame
- modal
- public ProgressDialogX(ProgressDialogParent parent, boolean modal)
parent
- modal
- Method Detail |
---|
public void setValue(int value)
value
- the progress bar valuepublic void incrementValue()
public void setMax(int value)
value
- the maximum valuepublic void setIntermidiate(boolean intermidiate)
intermidiate
- setIndeterminate(boolean)
public void setIndeterminate(boolean indeterminate)
indeterminate
- public void setString(String currentFileName)
currentFileName
- public void doNothingOnClose()
public JProgressBar getProgressBar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |