|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.ProgressMonitor
com.jgraph.layout.demo.JGraphLayoutProgressMonitor
public class JGraphLayoutProgressMonitor
Utility progress monitor for a layout progress object. Implements a property change listener to update itself based on the running layout. The listener is added to the progress object in the constructor and removed from it when the close method is called.
Constructor Summary | |
---|---|
JGraphLayoutProgressMonitor(java.awt.Component component,
com.jgraph.layout.JGraphLayoutProgress progress,
java.lang.String message)
Constructs a new progress monitor for the specified progress object. |
Method Summary | |
---|---|
void |
close()
Overrides the parent's implementation to remove the property change listener from the progress. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
Methods inherited from class javax.swing.ProgressMonitor |
---|
getAccessibleContext, getMaximum, getMillisToDecideToPopup, getMillisToPopup, getMinimum, getNote, isCanceled, setMaximum, setMillisToDecideToPopup, setMillisToPopup, setMinimum, setNote, setProgress |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JGraphLayoutProgressMonitor(java.awt.Component component, com.jgraph.layout.JGraphLayoutProgress progress, java.lang.String message)
component
- The parent component to use for the dialog.progress
- The progress object to be monitored.message
- The message to display.Method Detail |
---|
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void close()
close
in class javax.swing.ProgressMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |