|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog insensa.view.dialogs.CDialogSingleProgress
public class CDialogSingleProgress
Nested Class Summary | |
---|---|
private class |
CDialogSingleProgress.ToolTipProgressBar
|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
javax.swing.JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private javax.swing.JButton |
cancelButton
|
private float |
progress
|
private javax.swing.JProgressBar |
progressBar
|
private static long |
serialVersionUID
|
private float |
stepSize
|
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 | |
---|---|
CDialogSingleProgress(CView view,
javax.swing.tree.DefaultMutableTreeNode activeNode)
Creates new form CDialogProgress. |
|
CDialogSingleProgress(CView view,
java.awt.Dialog parentDialog,
javax.swing.tree.DefaultMutableTreeNode activeNode)
|
Method Summary | |
---|---|
void |
endPause()
|
void |
endProgress()
|
void |
errorProcess()
Should be launched if an error occurred. |
void |
errorProcess(java.lang.String message)
|
void |
errorProcess(java.lang.Throwable e)
|
WorkerStatusList |
getChildWorkerStatusList(int index)
|
WorkerStatusList |
getParentWorkerStatusList()
|
float |
getProgress()
|
float |
getStepSize()
|
private void |
initComponents()
This method is called from within the constructor to initialize the form. |
void |
refreshPercentage(float percent)
|
void |
removeChildrenWorkerStatusLists()
|
void |
setChildrenWorkerStatusLists(int numOfLists)
|
void |
setParentWorkerStatusList(WorkerStatusList mProgress)
|
void |
setProcessObject(java.lang.Object obj)
|
void |
setProgressName(java.lang.String name)
|
void |
setStepSize(float stepSize)
|
void |
startPause(java.lang.String text)
|
void |
startProcess()
|
Methods inherited from class javax.swing.JDialog |
---|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
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.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, 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, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private javax.swing.JButton cancelButton
private javax.swing.JProgressBar progressBar
private float progress
private float stepSize
Constructor Detail |
---|
public CDialogSingleProgress(CView view, javax.swing.tree.DefaultMutableTreeNode activeNode)
insensa.view
- activeNode
- public CDialogSingleProgress(CView view, java.awt.Dialog parentDialog, javax.swing.tree.DefaultMutableTreeNode activeNode)
insensa.view
- parentDialog
- activeNode
- Method Detail |
---|
public void endPause()
endPause
in interface WorkerStatus
WorkerStatus.endPause()
public void endProgress()
endProgress
in interface WorkerStatus
WorkerStatus.endProgress()
public void errorProcess()
WorkerStatus
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess()
public void errorProcess(java.lang.String message)
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess(java.lang.String)
public void errorProcess(java.lang.Throwable e)
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess(java.lang.Throwable)
public WorkerStatusList getChildWorkerStatusList(int index)
getChildWorkerStatusList
in interface WorkerStatus
WorkerStatus.getChildWorkerStatusList(int)
public WorkerStatusList getParentWorkerStatusList()
getParentWorkerStatusList
in interface WorkerStatus
WorkerStatus.getParentWorkerStatusList()
public float getProgress()
getProgress
in interface WorkerStatus
WorkerStatus.getProgress()
public float getStepSize()
getStepSize
in interface WorkerStatus
WorkerStatus.getStepSize()
private void initComponents()
public void refreshPercentage(float percent)
refreshPercentage
in interface WorkerStatus
WorkerStatus.refreshPercentage(float)
public void removeChildrenWorkerStatusLists()
removeChildrenWorkerStatusLists
in interface WorkerStatus
WorkerStatus.removeChildrenWorkerStatusLists()
public void setChildrenWorkerStatusLists(int numOfLists)
setChildrenWorkerStatusLists
in interface WorkerStatus
WorkerStatus.setChildrenWorkerStatusLists(int)
public void setParentWorkerStatusList(WorkerStatusList mProgress)
setParentWorkerStatusList
in interface WorkerStatus
WorkerStatus.setParentWorkerStatusList(insensa.WorkerStatusList)
public void setProcessObject(java.lang.Object obj)
setProcessObject
in interface WorkerStatus
WorkerStatus.setProcessObject(java.lang.Object)
public void setProgressName(java.lang.String name)
setProgressName
in interface WorkerStatus
WorkerStatus.setProgressName(java.lang.String)
public void setStepSize(float stepSize)
setStepSize
in interface WorkerStatus
WorkerStatus.setStepSize(float)
public void startPause(java.lang.String text)
startPause
in interface WorkerStatus
WorkerStatus.startPause(java.lang.String)
public void startProcess()
startProcess
in interface WorkerStatus
WorkerStatus.startProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |