|
|||||||||||
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
planetj.gui.CMDialogJ
planetj.gui.CMProgressDialog
Insert the type's description here. Creation date: (5/6/02 9:22:48 AM)
Field Summary |
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 | |
CMProgressDialog()
Constructor |
|
CMProgressDialog(java.awt.Dialog owner)
CMProgressDialog constructor comment. |
|
CMProgressDialog(java.awt.Dialog owner,
java.lang.String title,
boolean modal)
CMProgressDialog constructor comment. |
|
CMProgressDialog(java.awt.Frame frame)
Constructor |
|
CMProgressDialog(java.awt.Frame owner,
boolean modal)
CMProgressDialog constructor comment. |
|
CMProgressDialog(java.awt.Frame owner,
java.lang.String title)
CMProgressDialog constructor comment. |
|
CMProgressDialog(java.awt.Frame owner,
java.lang.String title,
boolean modal)
CMProgressDialog constructor comment. |
Method Summary | |
void |
beginCount(int pIncrement,
int pRate,
int pMaxValue)
Shows the window and starts a thread to begin "counting" progress on the progress bar. |
void |
beginExponentialCount(int pIncrement,
int pInitialRate,
int pFactor,
int pMaxValue)
Shows the window and starts a thread to begin "counting" progress on the progress bar. |
java.lang.String |
getMessage()
Gets the message to display |
void |
haltCount()
Stops the count and hides the window |
void |
haltCount(boolean pHideWindow)
Stops the count, optionally hiding the window |
static void |
main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application |
void |
reset()
Resest the progress bar |
void |
setMessage(java.lang.String pMessage)
Sets the message to display |
void |
setVisible(boolean vis)
Shows or hides the dialog |
Methods inherited from class planetj.gui.CMDialogJ |
debugMessage, debugMessage, debugMessage, dispose, getClientProperties, getTimeInMills, getTranslation, getTranslationId, hide, isAlwaysOnTopLocal, newCMDialogJ, putClientProperty, setAlwaysOnTopLocal, setTimeInMills, setTitle, setTranslation, show, showBusyCursor, showDefaultCursor, showException, showException |
Methods inherited from class javax.swing.JDialog |
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update |
Methods inherited from class java.awt.Dialog |
addNotify, getTitle, isModal, isResizable, isUndecorated, setModal, setResizable, setUndecorated |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CMProgressDialog()
public CMProgressDialog(java.awt.Dialog owner)
owner
- java.awt.Dialogpublic CMProgressDialog(java.awt.Dialog owner, java.lang.String title, boolean modal)
owner
- java.awt.Dialogtitle
- java.lang.Stringmodal
- booleanpublic CMProgressDialog(java.awt.Frame frame)
public CMProgressDialog(java.awt.Frame owner, java.lang.String title)
owner
- java.awt.Frametitle
- java.lang.Stringpublic CMProgressDialog(java.awt.Frame owner, java.lang.String title, boolean modal)
owner
- java.awt.Frametitle
- java.lang.Stringmodal
- booleanpublic CMProgressDialog(java.awt.Frame owner, boolean modal)
owner
- java.awt.Framemodal
- booleanMethod Detail |
public void beginCount(int pIncrement, int pRate, int pMaxValue)
public void beginExponentialCount(int pIncrement, int pInitialRate, int pFactor, int pMaxValue)
pIncrement
- This is the amount the progress bar will be advanced by each timepInitialRate
- The number of milliseconds to wait between each advance of the progress bar (at first)pFactor
- A factor by which the count will be slowed. The bigger the number the slower the count will
eventually get. A good default value is 10% of the initial rate.pMaxValue
- The progress bar will not advance beyond this valuepublic java.lang.String getMessage()
public void haltCount()
public void haltCount(boolean pHideWindow)
public static void main(java.lang.String[] args)
args
- java.lang.String[]public void reset()
public void setMessage(java.lang.String pMessage)
public void setVisible(boolean vis)
setVisible
in class CMDialogJ
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |