|
|||||||||
| Home >> All >> org >> dinopolis >> gpstool >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dinopolis.gpstool.gui
Class ProgressFrame

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.dinopolis.gpstool.gui.ProgressFrame
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, org.dinopolis.gpstool.util.ProgressListener, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class ProgressFrame
- extends javax.swing.JFrame
- implements org.dinopolis.gpstool.util.ProgressListener
- extends javax.swing.JFrame
This frame may be used to display the information from the org.dinopolis.gpstool.util.ProgressListener.
- Version:
- $Revision: 1.1 $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) javax.swing.JProgressBar |
progress_bar_
|
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| 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, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ProgressFrame(java.lang.String title)
Constructor using a frame (and progress bar) title. |
|
ProgressFrame(java.lang.String title,
java.awt.Component parent_component)
Constructor using a frame (and progress bar) title and a parent component to center the frame on. |
|
| Method Summary | |
void |
actionEnd(java.lang.String action_id)
Callback to inform listeners about the end of the action. |
void |
actionProgress(java.lang.String action_id,
int current_value)
Callback to inform listeners about progress going on. |
void |
actionStart(java.lang.String action_id,
int min_value,
int max_value)
Callback to inform listeners about an action to start. |
void |
setTitle(java.lang.String title)
Sets this frame's title to the specified value. |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
progress_bar_
javax.swing.JProgressBar progress_bar_
| Constructor Detail |
ProgressFrame
public ProgressFrame(java.lang.String title, java.awt.Component parent_component)
- Constructor using a frame (and progress bar) title and a parent
component to center the frame on.
ProgressFrame
public ProgressFrame(java.lang.String title)
- Constructor using a frame (and progress bar) title.
| Method Detail |
setTitle
public void setTitle(java.lang.String title)
- Description copied from class:
java.awt.Frame - Sets this frame's title to the specified value.
actionStart
public void actionStart(java.lang.String action_id, int min_value, int max_value)
- Callback to inform listeners about an action to start.
- Specified by:
actionStartin interfaceorg.dinopolis.gpstool.util.ProgressListener
actionProgress
public void actionProgress(java.lang.String action_id, int current_value)
- Callback to inform listeners about progress going on. It is not
guaranteed that this method is called on every change of current
value (e.g. only call this method on every 10th change).
- Specified by:
actionProgressin interfaceorg.dinopolis.gpstool.util.ProgressListener
actionEnd
public void actionEnd(java.lang.String action_id)
- Callback to inform listeners about the end of the action.
- Specified by:
actionEndin interfaceorg.dinopolis.gpstool.util.ProgressListener
|
|||||||||
| Home >> All >> org >> dinopolis >> gpstool >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC