cynosurex.awt
Class ProgressIndicator

java.lang.Object
  extended by java.awt.Component
      extended by cynosurex.awt.ProgressIndicator
All Implemented Interfaces:
cynosurex.internal.AuthorCommon, cynosurex.internal.CommonInterface, cynosurex.internal.CompanyCommon, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Runnable

public class ProgressIndicator
extends java.awt.Component
implements cynosurex.internal.CommonInterface, java.lang.Runnable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static boolean HI_PRIORITY
           
static boolean LOW_PRIORITY
           
protected  int mode
           
protected  int numberOfBlocks
           
protected  int percentage
           
protected  boolean priority
           
static int SCAN
           
static int SEGMENT
           
static int SOLID
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface cynosurex.internal.CommonInterface
copyright, copyrightYears, notice, program, version
 
Fields inherited from interface cynosurex.internal.AuthorCommon
author, copyrightSymbol, noticeMsg, rights
 
Fields inherited from interface cynosurex.internal.CompanyCommon
company, email, website
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ProgressIndicator()
           
ProgressIndicator(boolean paint_priority)
           
ProgressIndicator(int mode)
           
ProgressIndicator(int mode, boolean paint_priority)
           
 
Method Summary
 java.awt.Dimension getMinimumSize()
           
 int getMode()
           
 int getNumberOfSegments()
           
 int getPercentage()
           
 java.awt.Dimension getPreferredSize()
           
 boolean getPriority()
           
 void paint(java.awt.Graphics g)
           
 void run()
           
 void setMode(int mode)
           
 void setNumberOfSegments(int segments)
           
 void setPercentage(int percentage)
           
 void setPriority(boolean paint_priority)
           
 void update(java.awt.Graphics g)
           
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SOLID

public static final int SOLID
See Also:
Constant Field Values

SEGMENT

public static final int SEGMENT
See Also:
Constant Field Values

SCAN

public static final int SCAN
See Also:
Constant Field Values

HI_PRIORITY

public static final boolean HI_PRIORITY
See Also:
Constant Field Values

LOW_PRIORITY

public static final boolean LOW_PRIORITY
See Also:
Constant Field Values

percentage

protected int percentage

mode

protected int mode

numberOfBlocks

protected int numberOfBlocks

priority

protected boolean priority
Constructor Detail

ProgressIndicator

public ProgressIndicator()

ProgressIndicator

public ProgressIndicator(int mode)

ProgressIndicator

public ProgressIndicator(boolean paint_priority)

ProgressIndicator

public ProgressIndicator(int mode,
                         boolean paint_priority)
Method Detail

getNumberOfSegments

public int getNumberOfSegments()

setNumberOfSegments

public void setNumberOfSegments(int segments)

update

public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Component

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Component

getPercentage

public int getPercentage()

setPercentage

public void setPercentage(int percentage)

getMode

public int getMode()

setMode

public void setMode(int mode)

getPriority

public boolean getPriority()

setPriority

public void setPriority(boolean paint_priority)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class java.awt.Component

getMinimumSize

public java.awt.Dimension getMinimumSize()
Overrides:
getMinimumSize in class java.awt.Component